Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64897 - [xpra] failes with AttributeError: module 'gi' has no attribute 'require_version'
Attached to Project:
Community Packages
Opened by Florian Werner (flower1024) - Thursday, 19 December 2019, 19:56 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Thursday, 19 December 2019, 22:13 GMT
Opened by Florian Werner (flower1024) - Thursday, 19 December 2019, 19:56 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Thursday, 19 December 2019, 22:13 GMT
|
DetailsDescription:
i have to up to date arch installs and try to run xpra. this fails with AttributeError: module 'gi' has no attribute 'require_version' Additional info: * xpra version 3.0.3-2 (host and client) * dont have any log - only this error * didnt find an upstream bugtracker for xpra Steps to reproduce: Install xpra on two machines. run xpra start ssh:flower@vicky --exit-with-children --start-child="xfce4-terminal" this fails with: xpra main error: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/xpra/scripts/main.py", line 117, in main return run_mode(script_file, err, options, args, mode, defaults) File "/usr/lib/python3.8/site-packages/xpra/scripts/main.py", line 341, in run_mode return run_remote_server(error_cb, options, args, mode, defaults) File "/usr/lib/python3.8/site-packages/xpra/scripts/main.py", line 1913, in run_remote_server app = make_client(error_cb, opts) File "/usr/lib/python3.8/site-packages/xpra/scripts/main.py", line 1811, in make_client toolkit_module = __import__(client_module, globals(), locals(), ['XpraClient']) File "/usr/lib/python3.8/site-packages/xpra/client/gtk3/__init__.py", line 7, in <module> if is_X11(): File "/usr/lib/python3.8/site-packages/xpra/os_util.py", line 260, in is_X11 from xpra.x11.gtk3.gdk_bindings import is_X11_Display #@UnresolvedImport File "xpra/x11/gtk3/gdk_bindings.pyx", line 1, in init xpra.x11.gtk3.gdk_bindings File "xpra/gtk_common/gtk3/gdk_bindings.pyx", line 18, in init xpra.gtk_common.gtk3.gdk_bindings AttributeError: module 'gi' has no attribute 'require_version' |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Thursday, 19 December 2019, 22:13 GMT
Reason for closing: Implemented
Additional comments about closing: I have tested and confirmed this.
xpra-3.0.3-3 implements this.
Thursday, 19 December 2019, 22:13 GMT
Reason for closing: Implemented
Additional comments about closing: I have tested and confirmed this.
xpra-3.0.3-3 implements this.
...
Really, you should get an ImportError when importing gi, but gi.overrides exists and is installed by random packages even if gi.__init__ itself isn't installed. e.g. libblockdev provides /usr/lib/python3.8/site-packages/gi/overrides/BlockDev.py
thank you!