torbrowser-overlay icon indicating copy to clipboard operation
torbrowser-overlay copied to clipboard

Possible issue when running under python 3.12?

Open realkinetix opened this issue 1 year ago • 3 comments

$ /usr/lib/python-exec/python3.12/torbrowser-launcher Traceback (most recent call last): File "/usr/lib/python-exec/python3.12/torbrowser-launcher", line 30, in <module> import torbrowser_launcher File "/usr/lib/python3.12/site-packages/torbrowser_launcher/__init__.py", line 37, in <module> from .common import Common, SHARE File "/usr/lib/python3.12/site-packages/torbrowser_launcher/common.py", line 37, in <module> import gpg File "/usr/lib/python3.12/site-packages/gpg/__init__.py", line 123, in <module> from . import core File "/usr/lib/python3.12/site-packages/gpg/core.py", line 10, in <module> from . import gpgme ImportError: cannot import name 'gpgme' from partially initialized module 'gpg' (most likely due to a circular import) (/usr/lib/python3.12/site-packages/gpg/__init__.py)

Seems happy under python3.11:

$ /usr/lib/python-exec/python3.11/torbrowser-launcher Tor Browser Launcher By Micah Lee & Tor Project, licensed under MIT version 0.3.7

realkinetix avatar Sep 03 '24 01:09 realkinetix

I don't have time to look into this at the moment, sorry.

Judging from https://forums.gentoo.org/viewtopic-p-8838639.html, it looks like the rebuild to app-crypt/gpgme introduced the issue.

MeisterP avatar Sep 04 '24 18:09 MeisterP

I just installed torbrowser-launcher and have the same problem.

redblade7 avatar Sep 08 '24 14:09 redblade7

The latest revbump to app-crypt/gpgme should fix this issue.

MeisterP avatar Sep 10 '24 11:09 MeisterP

Please reopen if this is still an issue

MeisterP avatar Nov 23 '24 22:11 MeisterP