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

ModuleNotFoundError: No module named 'PyQt5.QtPrintSupport' #2161

Closed
sentry-io bot opened this issue Apr 9, 2022 · 2 comments · Fixed by #2165
Closed

ModuleNotFoundError: No module named 'PyQt5.QtPrintSupport' #2161

sentry-io bot opened this issue Apr 9, 2022 · 2 comments · Fixed by #2165
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 9, 2022

Sentry Issue: PARSEC-QZH

RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/snap/parsec/219/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/snap/parsec/219/site-packages/parsec/_subprocess_dialog.py", line 94, in run_dialog
    return method(None, *args, **kwargs)
  File "/snap/parsec/219/site-packages/parsec/_subprocess_dialog.py", line 33, in print_html
    from PyQt5.QtPrintSupport import QPrinter, QPrintDialog
ModuleNotFoundError: No module named 'PyQt5.QtPrintS...
ModuleNotFoundError: No module named 'PyQt5.QtPrintSupport'
  File "parsec/core/gui/device_recovery_export_widget.py", line 66, in _print_recovery_key
    QDialogInProcess.print_html(self, html)
  File "parsec/core/gui/custom_dialogs.py", line 287, in print_html
    return cls._exec_method(_subprocess_dialog.PrintHelper, "print_html", *args, **kwargs)
  File "parsec/core/gui/custom_dialogs.py", line 248, in _exec_method
    return async_result.get()
  File "multiprocessing/pool.py", line 771, in get
    raise self._value

Exception in Qt slot
@vxgmichel
Copy link
Contributor

Print support should not be part of the unused qt modules:

I think we missed it so far because this list seemed ignored until this fix: 378089d

@touilleMan
Copy link
Member

fixed by #2164

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