AYasinAkalin / MELE_quickIniEditor

A terminal application allowing users and modders to modify .ini and Coalesced_*.bin files of ME Legendary Edition easily without replacing the whole file; losing possible early modifications in process. (ME3 is not supported)
GNU General Public License v3.0
3 stars 0 forks source link

Program won't run if Python is not installed #10

Closed AYasinAkalin closed 3 years ago

AYasinAkalin commented 3 years ago

A user reported this error on Nexus Mods.

Observed behavior: Program refuses to run correctly due to not found Python libraries. Python is not recognized as an internal command when it is not installed.

Expected behavior: Program should run without such fails because it includes Python libraries.

Proposed solution: It could be something wrong with Py2exe or shebangs on .py files. I need to investigate further to find the reason to this bug. No proposed solution is available as of now.

AYasinAkalin commented 3 years ago

Reason for this issue may be that worker.py is called from cli.bat and not from quickIniEditor.exe. Therefore worker.py tries to work outside of virtual environment created by Py2exe and looks for Python installment on the host system.

Proposed solution: Call worker.py directly from quickIniEditor.exe. cli.bat is needed to be broken down to two different .bat files as a result.