Noita-Together / noita-together

Play alone together
MIT License
49 stars 15 forks source link

more problems starting appimage on linux #103

Closed infinitesunrise closed 2 months ago

infinitesunrise commented 11 months ago

Running the 0.10.5 beta client on Ubuntu 22.04 for the first time, the client begins downloading assets at a brisk pace initially, and then quickly slows to a crawl, and then stalls, usually somewhere around files/entities/sampo/disabled_sampo.xml. The continue button remains unclickable, presumably because this is not the last asset to download. Command line output during this time:

$ ./Noita-Together-Beta-0.10.5.AppImage   
Checking for update  
Update for version 0.10.5 is not available (latest version: 0.10.5, downgrade is disallowed).  
checkForUpdatesAndNotify called, downloadPromise is null  

I've left the client open for 15+ minutes but it never finishes.

tehkab commented 11 months ago

Hmm I wasn't able to reproduce this on my main PC but I could on a laptop (that can't run noita anyway 😆). And then later in the night I can't reproduce it at all! Closing and restarting the client at least resumes from where it left off.

Sounds like the client should be timing out and retrying / throwing an error in any case...

richrd commented 9 months ago

I have this issue also. It starts downloading the files and consistently just freezes at some point before all files are downloaded. I can take a look at this and try and fix it. Is main the correct branch to start debugging this, or is there some more recent branch that has newer changes?

error-0x29A commented 7 months ago

This happens to me as well (Kubuntu 22.04), latest NT release. It seems to get stuck at different files from time to time, not always the same one. Have not been able to have it continue from where it leaves off, sometimes it starts all over again. I've never had a successful attempt.

user@computer:~/Applications$ sudo ./Noita-Together-Setup-0.10.8.AppImage --no-sandbox
Checking for update
(node:487219) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
(node:487219) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:487219) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Update for version 0.10.8 is not available (latest version: 0.10.8, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null

user@computer:~/Applications$ ./Noita-Together-Setup-0.10.8.AppImage --no-sandbox
Checking for update
Update for version 0.10.8 is not available (latest version: 0.10.8, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
error-0x29A commented 7 months ago

Note: Found this comment on an old repository (https://github.com/soler91/noita-together/issues/85#issuecomment-1356793014) that lists a workaround of using Ctrl+R while the Noita Together app is in focus to refresh it- and that seems to force it to download additional files.

This worked for me! Ctrl+R allowed it to restart and continue downloading more files, to the point where it was able to finish.

So users currently stuck may be able to do this as a workaround for now. Hopefully this maybe helps imply something that could lead to this getting fixed for good.

Rylekto commented 5 months ago

Oy people ! Just found a workaround to launch Noita together on my steam deck. I did try the AppImage and it doesn't works. In the other hand, I did install the Windows version. Follow this steps :

Hope it'll help. For other Linux distributions, the file adress might be different but the process is the same.

SkyeOfBreeze commented 2 months ago

moving future discussion to https://github.com/Noita-Together/noita-together/issues/165