Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting assets fails when running app. (Windows) #1686

Open
IvanMtze opened this issue Aug 31, 2024 · 3 comments
Open

Converting assets fails when running app. (Windows) #1686

IvanMtze opened this issue Aug 31, 2024 · 3 comments
Labels
bug Behaving differently as it should behave lang: python Done in Python code os: windows Windows-specific issue

Comments

@IvanMtze
Copy link

Trying to run openage, following these steps. Running on windows and getting the following output.

C:\Users\user\Desktop\aoe2
converting from 'C:\Users\user\Desktop\aoe2'
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] using cached wrapper: C:\Users\user\AppData\Local\Temp\AOC_empires2_x1.dat.pickle
INFO [py] Finished metadata read (0.82 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 (1.37 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...
usage: openage [-h] [--add-dll-search-path DLL_PATHS] [--version] {main,game,test,convert,convert-file,convert-export-api,codegen} ...
openage: error: argument subcommand: invalid choice: 'from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=4000, pipe_handle=1316)' (choose from 'main', 'game', 'test', 'convert', 'convert-file', 'convert-export-api', 'codegen')

Any ideas on how to fix it?

@heinezen heinezen added bug Behaving differently as it should behave os: windows Windows-specific issue lang: python Done in Python code labels Aug 31, 2024
@heinezen
Copy link
Member

Do you know which line in https://github.com/SFTtech/openage/blob/master/openage/convert/processor/export/media_exporter.py triggers this?

Could you recheck in the debugger maybe when this error pops up?

@heinezen
Copy link
Member

And what version are you running?

@IvanMtze
Copy link
Author

Im building from source so its the latest....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Behaving differently as it should behave lang: python Done in Python code os: windows Windows-specific issue
Projects
None yet
Development

No branches or pull requests

2 participants