Xpra: Ticket #2581: Typelib file for namespace 'cairo', version '1.0' not found

On Win10:

"Xpra-Python3_4.0-r25145\xpra_cmd" shadow ssh://user@ip/0  --opengl=no --desktop-scaling=0.75 --min-speed=70 --webcam=no --speaker=off --microphone=off --pulseaudio=no
xpra main error:
Traceback (most recent call last):
  File "C:/msys32/mingw32/lib/python3.8/site-packages/gi/importer.py", line 138, in load_module
  File "C:/msys32/mingw32/lib/python3.8/site-packages/gi/module.py", line 265, in get_introspection_module
  File "C:/msys32/mingw32/lib/python3.8/site-packages/gi/module.py", line 117, in __init__
gi.RepositoryError: Typelib file for namespace 'cairo', version '1.0' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/scripts/main.py", line 115, in main
  File "E:\Xpra\trunk\src/xpra/scripts/main.py", line 342, in run_mode
  File "E:\Xpra\trunk\src/xpra/scripts/main.py", line 1853, in run_remote_server
  File "E:\Xpra\trunk\src/xpra/scripts/main.py", line 1756, in make_client
  File "E:\Xpra\trunk\src/xpra/client/gtk3/client.py", line 6, in <module>
  File "C:/msys32/mingw32/lib/python3.8/site-packages/gi/importer.py", line 140, in load_module
ImportError: Typelib file for namespace 'cairo', version '1.0' not found


Fri, 07 Feb 2020 11:41:24 GMT - Antoine Martin: status changed

Definitely a bug. Strange that I'm not hitting it.

The missing gi bits must be found elsewhere on the system I use for testing.

Definitely caused by the changes from r25142 + r25144.


Fri, 07 Feb 2020 12:31:31 GMT - Antoine Martin: owner, status changed

Well, that's very odd, I used a clean VM from Microsoft Edge Developer VMs and did not see the bug after installing r25177. In any case, I've re-added the missing typelibs in r25178 and uploaded a new beta builds. Does that work better for you?


Mon, 10 Feb 2020 10:32:03 GMT - stdedos:

Apparently, beta is missing the zip packages :/

https://www.xpra.org/beta/windows/?C=M&O=D&P=*r25*.zip*


Mon, 10 Feb 2020 13:30:05 GMT - Antoine Martin:

Apparently, beta is missing the zip packages :/

Ooops. Try now.


Tue, 11 Feb 2020 19:23:08 GMT - stdedos:

Blocked on #2588; working with Xpra-Python3-x86_64_4.0-r24762


Wed, 12 Feb 2020 04:42:07 GMT - Antoine Martin:

working with Xpra-Python3-x86_64_4.0-r24762

That's expected: r24762 is before this:

Definitely caused by the changes from r25142 + r25144.


Wed, 12 Feb 2020 13:39:58 GMT - stdedos: status changed; resolution set

Seems that Xpra-Python3-x86_64_4.0-r25205 is working all of a sudden :/

Also, this is now fixed.


Sat, 23 Jan 2021 05:55:11 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2581