stonesense icon indicating copy to clipboard operation
stonesense copied to clipboard

Doesn't seem to be able to communicate with dfhack - Linux Fedora

Open lc-thomas opened this issue 5 years ago • 5 comments

Stonesense says "no map loaded", and stays empty as seen in the screenshot. The issue seems to be related to this one : http://www.bay12forums.com/smf/index.php?topic=163978.0

Apparently, there is a communication issue between dfhack and stonesense : https://i.imgur.com/0wDOvn5.png

lc-thomas avatar Jul 26 '20 11:07 lc-thomas

Also if I close stonesense, and try to relaunch it from dfhack console, it says : "stonesense already running."

lc-thomas avatar Jul 26 '20 11:07 lc-thomas

I assume the upgrade mentioned in https://github.com/DFHack/stonesense/issues/68#issuecomment-651423498 didn't help? In particular, b4ff44f788a37e6adb43372eb8b29b310ff95101 might resolve some issues with restarting Stonesense, so make sure you try a recent build (i.e. not the one I linked directly to in my comment).

If you're referring to the "Shutting down client connection" message, that isn't necessarily an issue - that just indicates that a connection was closed, which is normal in some cases. It could also be a rendering issue, or a dependency issue of some kind.

lethosor avatar Jul 26 '20 23:07 lethosor

Nope it doesn't the stonesense screen stays empty

lc-thomas avatar Aug 01 '20 07:08 lc-thomas

But stonesense says "no map loaded" and loading a game of DF doesn't seem to trigger anything on stonesense side. That's why I think there is a communication issue between dfhack and stonesense. Are there logs somewhere about that communication ?

lc-thomas avatar Aug 02 '20 07:08 lc-thomas

Stonesense mostly just reads directly from DF memory, because it's in-process, so there's not really any communication that can break there. There is a bit of network-based communication, though (although I'm pretty sure that isn't used to check whether the map is loaded). In that case, the Shutting down client connection message following Client connection established is actually a good sign, because it means that the connection finished successfully. Other than that, no, there are no connection-related logs.

Out of curiosity, could you upload your stderr.log? There might be an error message earlier in it that your screenshot didn't include.

lethosor avatar Aug 02 '20 16:08 lethosor