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

Flatpak version: "No module named 'PySide2" #1888

Closed
Rathmox opened this issue Mar 9, 2024 · 8 comments
Closed

Flatpak version: "No module named 'PySide2" #1888

Rathmox opened this issue Mar 9, 2024 · 8 comments

Comments

@Rathmox
Copy link

Rathmox commented Mar 9, 2024

I'm trying to run Onionshare flatpak version, but it crashes with the error:
No module named 'PySide2
does that mean a library is missing in the flatpak ?

@mikson022
Copy link

mikson022 commented Mar 18, 2024

I have the same issue.
It seems like a missing library.

$ flatpak run org.onionshare.OnionShare

Traceback (most recent call last):
  File "/app/bin/onionshare", line 5, in <module>
    from onionshare import main
  File "/app/lib/python3.10/site-packages/onionshare/__init__.py", line 29, in <module>
    from PySide2 import QtCore, QtWidgets, QtGui
ModuleNotFoundError: No module named 'PySide2'

@SaptakS
Copy link
Member

SaptakS commented Mar 18, 2024

Can you tell me which version of OnionShare do you have?

@mikson022
Copy link

I am running Fedora39. I installed it through the software store.

Version 2.6 - 1 year ago

@SaptakS
Copy link
Member

SaptakS commented Mar 18, 2024

Can you please try updating to OnionShare 2.6.1 and check if you are still getting this error since we have updated the dependencies to use PySide6 now?

@mikson022
Copy link

Thanks for the help!
I downloaded release from here. No problem running the app now

@SaptakS
Copy link
Member

SaptakS commented Mar 18, 2024

I think the upstream flathub version should be fixed by flathub/org.onionshare.OnionShare#15

@Rathmox
Copy link
Author

Rathmox commented Mar 18, 2024

I confirm this patch fixes the issue

@SaptakS
Copy link
Member

SaptakS commented Mar 19, 2024

This should be resolved in flathub now. Closing this issue. Please feel free to reopen if this issue still occurs.

@SaptakS SaptakS closed this as completed Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants