Mord3rca / gamma-launcher

Just another Launcher to setup S.T.A.L.K.E.R.: G.A.M.M.A.
GNU General Public License v3.0
84 stars 13 forks source link

Unhandled Exception/Shell Breaking #121

Closed MonitorZero closed 5 months ago

MonitorZero commented 5 months ago

Linux Mint 21.3 Kernel: 5.15.0-112-generic Self-contained executable

I'm getting the following error when installing Anomaly. This will happen if I just install anomaly with anomaly-install or install everything with full-install but the full-install will break after the anomaly-install ends.

Error: Traceback (most recent call last): File "gamma-launcher.py", line 8, in File "launcher/cli.py", line 68, in main File "launcher/commands/install.py", line 104, in run File "launcher/commands/check.py", line 39, in run File "launcher/commands/check.py", line 29, in _read_checksums File "pathlib.py", line 1058, in read_text File "pathlib.py", line 1044, in open FileNotFoundError: [Errno 2] No such file or directory: '/home/andrew/Steam/STALKER GAMMA/anomaly/tools/checksums.md5' [12042] Failed to execute script 'gamma-launcher' due to unhandled exception!

This was when running "gamma-launcher anomaly-install --anomaly {path} --cache-directory {path}" However, it does work and functions as expected.

As you can see from the screenshot it also seems this function breaks my shell during extraction. Not sure if it's related or not.

1 2

MonitorZero commented 5 months ago

Forgot I have the checksums.md5 file but I'm not sure if it's exposed when it's being examined. 3

Mord3rca commented 5 months ago

I've made a fix, can you try it please ? (pip installation is required) Thanks !

MonitorZero commented 5 months ago

New error and still seems to break the shell. I did do a test with p7zip with just the anomaly zip file and it broke the shell exactly the same. It may be p7zip related?

Sorry, cleared the screen before I remembered to copy the error codes. My bad.

10 11

Mord3rca commented 5 months ago

I'm sorry, my instructions were probably unclear:

And try again, thanks :)

MonitorZero commented 5 months ago

Ah, yeah did not grab that one.

Ran it through a base anomaly-install and a full-install and they both worked flawlessly! Thank you! I was thinking of doing a video showing how to use your tool to install GAMMA so I hope we see a new release soon.

Thanks for your help!

Mord3rca commented 5 months ago

If you do a video, can you post the link here ? (just for curiosity)

MonitorZero commented 5 months ago

Of course!

I think I see a full commit now? Does this mean I could point people to downloading the source and going into the venv to use the tool until the single file launcher is updated?

Mord3rca commented 5 months ago

Master branch should always work with pip

Regarding the self exec, you can use this link to always point to the latest release: https://github.com/Mord3rca/gamma-launcher/releases/latest/download/gamma-launcher