-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugBehaving differently as it should behaveBehaving differently as it should behavelang: pythonDone in Python codeDone in Python codeos: windowsWindows-specific issueWindows-specific issue
Description
System Info
- OS: Windows 11
- Python: 3.12.2
Following the build instructions from doc/build_instructions/windows_msvc.md, when running the first Python command the process stalled out for 30+ minutes before I manually stopped it.
Command
py -m openage --add-dll-search-path <path> --add-dll-search-path <path> main
Output Before Stopping
INFO [py] Looking for compatible games to convert...
INFO [py] Compatible game edition detected:
INFO [py] * Age of Empires 2: The Conqueror's Trial Version
INFO [py] converting metadata
INFO [py] Finished metadata read (10.50 seconds)
INFO [py] Starting conversion...
INFO [py] Extracting Genie data...
INFO [py] Creating API-like objects...
INFO [py] Linking API-like objects...
INFO [py] Generating auxiliary objects...
INFO [py] Creating nyan objects...
INFO [py] Creating requests for media export...
INFO [py] Finished data conversion (0.61 seconds)
INFO [py] Starting export...
INFO [py] Dumping info file...
INFO [py] Dumping data files...
INFO [py] Exporting media files...
INFO [py] -- Exporting graphics files...
-- Files done: 0/275
Error Output After Stopping
INFO [py] -- Exporting graphics files...
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "<openage directory>\build\openage\__main__.py", line 178, in <module>
sys.exit(main())
^^^^^^
File "<openage directory>\build\openage\__main__.py", line 171, in main
return args.entrypoint(args, cli.error)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<openage directory>\build\openage\main\main.py", line 82, in main
convert_assets(asset_path, args)
File "<openage directory>\build\openage\convert\main.py", line 119, in convert_assets
convert(args)
File "<openage directory>\build\openage\convert\tool\driver.py", line 36, in convert
convert_metadata(args)
File "<openage directory>\build\openage\convert\tool\driver.py", line 105, in convert_metadata
ModpackExporter.export(modpack, args)
File "<openage directory>\build\openage\convert\processor\export\modpack_exporter.py", line 60, in export
MediaExporter.export(modpack.get_media_files(), sourcedir, modpack_dir, args)
rt
MediaExporter._export_multithreaded(
File "<openage directory>\build\openage\convert\processor\export\media_exporter.py", line 315, in _export_multithreaded
while outqueue.qsize() < expected_size:
File "<string>", line 2, in qsize
File "<user>\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\managers.py", line 821, in _callmethod
kind, result = conn.recv()
^^^^^^^^^^^
File "<user>\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\connection.py", line 250, in recv
buf = self._recv_bytes()
^^^^^^^^^^^^^^^^^^
File "<user>\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\connection.py", line 321, in _recv_bytes
waitres = _winapi.WaitForMultipleObjects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
^C
Troubleshooting with the dev, I ran the following command and received a different error.
Command
py openage convert --jobs 1
Output
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "<openage directory>\openage\build\openage\__main__.py", line 17, in <module>
from .log import set_loglevel, verbosity_to_level, ENV_VERBOSITY
ImportError: attempted relative import with no known parent package
Metadata
Metadata
Assignees
Labels
bugBehaving differently as it should behaveBehaving differently as it should behavelang: pythonDone in Python codeDone in Python codeos: windowsWindows-specific issueWindows-specific issue
Type
Projects
Status
✅ Done