Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run error #4

Open
YuhaoYeSteve opened this issue Aug 20, 2018 · 2 comments
Open

Run error #4

YuhaoYeSteve opened this issue Aug 20, 2018 · 2 comments

Comments

@YuhaoYeSteve
Copy link

Hi, I follow every step of the instruction, however, does not work, anyone can help me, thank you!

Traceback (most recent call last):
File "D:/lyceum/plot_CNN_architecture/CNN_archi.py", line 23, in
save_model_to_pptx(model, "1.pptx")
File "D:\lyceum\plot_CNN_architecture\pptx_util.py", line 63, in save_model_to_pptx
presentation.add_line(obj.x1, obj.y1, obj.x2, obj.y2, obj.color, obj.width, obj.dasharray)
File "D:\lyceum\plot_CNN_architecture\pptx_util.py", line 29, in add_line
connector.ln = connector.get_or_add_ln()
AttributeError: can't set attribute

@yu4u
Copy link
Owner

yu4u commented Aug 20, 2018

Thank you for your report.
This problem occurred for python-pptx >= 0.6.12.
I fixed the issue, so please update this project and try again.

@YuhaoYeSteve
Copy link
Author

It is working now. Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants