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

Cannot draw any element #9

Open
alberdibenat opened this issue Apr 28, 2023 · 0 comments
Open

Cannot draw any element #9

alberdibenat opened this issue Apr 28, 2023 · 0 comments

Comments

@alberdibenat
Copy link

Extension installed successfully, every option is shown in Inkscape. However, once I try to draw any element I get this error message:

Traceback (most recent call last):
File "/home/qou/.config/inkscape/extensions/inkscape-raytracing/inkscape_raytracing/lens.py", line 224, in
Lens().run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 131, in run
self.save_raw(self.effect())
File "/usr/share/inkscape/extensions/inkex/extensions.py", line 193, in effect
for child in fragment:
File "/home/qou/.config/inkscape/extensions/inkscape-raytracing/inkscape_raytracing/lens.py", line 41, in generate
d = self.svg.viewport_to_unit(f"{opts.diameter}{opts.diameter_unit}")
File "/usr/share/inkscape/extensions/inkex/elements/_base.py", line 165, in getattr
raise AttributeError(f"Can't find attribute {self.typename}.{name}")
AttributeError: Can't find attribute SvgDocumentElement.viewport_to_unit

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

1 participant