diddlesnaps / gog-galaxy-wine

MIT License
50 stars 1 forks source link

Fatal Error - Communication Service was lost #5

Open JJTro opened 5 years ago

JJTro commented 5 years ago

Hi, having problems with running GOG Galaxy on a fresh install Ubuntu 18.10. Installation runs fine without errors but after starting GOG Galaxy about 10 seconds later I get a fatal error message - Connection to Communication Service was lost and could not be restored. GOG Galaxy will now shutdown.

lirik16 commented 5 years ago

@JJTro It's because for some reason (I don't know why :) ) GOG Galaxy can't find the file GalaxyCommunication.exe. If you check the error output of GOG Galaxy you find output like wine: cannot find '/home/<your_user_name>/snap/gog-galaxy-wine/common/.wine/drive_c/users/Public/GOG.com/Galaxy/redists/GalaxyCommunication.exe' You can fix it by creating a symlink to GOG.com folder. Something like this ln -s /home/<your_user_name>/snap/gog-galaxy-wine/common/.wine/drive_c/ProgramData/GOG.com /home/<your_user_name>/snap/gog-galaxy-wine/common/.wine/drive_c/users/Public/GOG.com

This also fix for me a problem when Gwent after start wasn't available to connect with the server. But now I get an error "No profile found". May be someone already fix this one? :)

P.S. "No profile found" was the Gwent server problem.

lucyllewy commented 5 years ago

the symlink you mention is supposed to be created automatically by the installation script that I cobbled together. I will need to test some things to see why it's not being created.

kaosine commented 5 years ago

Yeah I was getting the same issue, guess that symlink just isn't being created for some reason....it definitely fixes the issue because it no longer crashes when I try going to my library(though now I have a unrelated issue(I assume anyways) where the mouse doesn't work properly in games like Sim City 2000)

Edit: I spoke too soon. Creating the link fixed it for all of 15 minutes and then it proceded to have several RTE's and give the original error again

Angular-Angel commented 5 years ago

Hmm. I've been having this problem, except it takes a few minutes for me. I tried the symlinbk as suggested above, and the problem still ovvurs. :/

lucyllewy commented 5 years ago

yes, I don't have a solution yet. I, too am seeing the problem and have played about with both symlinking that folder and not, along with changing the symlink part-way through. Nothing I do seems to prevent the problem :-(

romanovzky commented 5 years ago

Problem persists. The symlink workaround does not work for me.

lucyllewy commented 5 years ago

how about with revision 76 (it should already be on your system if you haven't removed the snap)? I've made it forcibly execute GalaxyCommunication.exe on startup so that the process is already active when GOG Galaxy client tries to contact it. For some reason, it's unable to successfully launch the process directly.

romanovzky commented 5 years ago

Just tried on my work laptop with a fresh install of the package, the problem persists. I'll try at home later today or this week

Feasoron commented 5 years ago

Clean install of the latest snap in the store, Ubuntu 18.10. Same error, after the symlink it still crashes. It seems to go longer without crashing if you stay in the app - in the background it crashes much more quickly. I'm not sure if that is a read herring or not, but it could be related.

Rene2LeLorrain commented 4 years ago

I was able to get Galaxy going on Ubuntu 18.04 and trying to install some game when the connection was closed with that message display! Since then, I get the message as soon as I start Galaxy!

theAkito commented 3 years ago

I was able to get Galaxy going on Ubuntu 18.04 and trying to install some game when the connection was closed with that message display! Since then, I get the message as soon as I start Galaxy!

Same issue here. Though, this is an issue with GOG Galaxy, only and probably has nothing to do with running it inside Wine.

lucyllewy commented 3 years ago

Hi, can you please try the release in candidate to see if that helps alleviate the issues?

If you already have the snap installed... ```bash sudo snap refresh --candidate gog-galaxy-wine ```
If you don't have the snap currently installed... ```bash sudo snap install --candidate gog-galaxy-wine ```