You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ /usr/bin/g-ir-scanner --version
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 98, in <module>
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 34, in <module>
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
Currently, `g-ir-scanner` fails to run – probably due to updating our
Python environment.
$ /usr/bin/g-ir-scanner --version
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 98, in <module>
from giscanner.scannermain import scanner_main
File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
from giscanner.ast import Include, Namespace
File "/usr/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 34, in <module>
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
So, update to the latest release, so it’s also rebuild against our current
system Python.
https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/1.76.1/NEWSResolves: #2888
I guess some Python upgrade broke g-ir-scanner:
The text was updated successfully, but these errors were encountered: