-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I fixed the import error from issue #57 locally, but now I get another error:
pywayland-scanner -i wlr-layer-shell-unstable-v1.xml
Traceback (most recent call last):
File "/home/user/pywayland-test/bin/pywayland-scanner", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/user/pywayland-test/lib/python3.11/site-packages/pywayland/scanner/__main__.py", line 117, in main
protocol.output(args.output_dir, protocol_imports)
File "/home/user/pywayland-test/lib/python3.11/site-packages/pywayland/scanner/protocol.py", line 109, in output
iface.output(printer, module_imports)
File "/home/user/pywayland-test/lib/python3.11/site-packages/pywayland/scanner/interface.py", line 67, in output
imports = set(
^^^^
File "/home/user/pywayland-test/lib/python3.11/site-packages/pywayland/scanner/interface.py", line 70, in <genexpr>
for _import in method.imports(self.name, module_imports)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/pywayland-test/lib/python3.11/site-packages/pywayland/scanner/method.py", line 64, in imports
import_protocol = module_imports[arg.interface]
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'wl_surface'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels