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

Can't run Python extensions which require "tkinter" module #101

Closed
bastianilso opened this issue Jan 16, 2022 · 3 comments · Fixed by #102
Closed

Can't run Python extensions which require "tkinter" module #101

bastianilso opened this issue Jan 16, 2022 · 3 comments · Fixed by #102

Comments

@bastianilso
Copy link

Inkscape allows installation of python extensions, many of which rely on the tkinter toolkit. But when runnning an extension, the following error appears:

Traceback (most recent call last):
  File "/home/user/.var/app/org.inkscape.Inkscape/config/inkscape/extensions/removeDuplicateLines.py", line 29, in <module>
    from tkinter import messagebox
ModuleNotFoundError: No module named 'tkinter'

The Scribus flatpak app had a similar issue, which was solved, probably the solution for Inkscape is very similar:

flathub/net.scribus.Scribus#34

@hfiguiere
Copy link
Collaborator

which extension?

@hfiguiere
Copy link
Collaborator

There will be a test build on #102

feel free to test it.

@bastianilso
Copy link
Author

@hfiguiere i was testing this one:

http://cutlings.wasbo.net/inkscape-extension-removeduplicatelines/

thanks for the test build. how do i try it?

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

Successfully merging a pull request may close this issue.

2 participants