Open dragonator opened 10 years ago
well the exception says, that the steam process had an error. i would say it is caused by wine... i dont really know, how wine really works, and how a process can be started in wine...
No it's not wine.In previous issue said that usually use Steam through wine,but now I'm using Steam for Linux.So wine is out of the picture.
Ok, i will take a look at it.
Little check. try to Type this in python console:
from subprocess import call call([“steam“, “steam://run/570“])
This should start dota. If not there should be an error in stdout.
I have the same issue. Starting dota and even connecting works fine, but it constantly disconnects and reconnects. If I am lucky and the game starts when the manager is connected, everything works fine, but it's very unstable. Any ideas what the problem could be? I am looking into the websocket-client library atm to see what causes the exception.
(<websocket._app.WebSocketApp object at 0x7f4721214ed0>, WebSocketConnectionClosedException()) {}
is what appears on stdout
looks like the websocket on the server disconnects the client... its probably because of the changes on the server. as I told, in the steam d2modd-group I have currently not so much time to inpect whole changes made in version 2.6, but in 2 weeks I will have the time and will fix the connection problems
is d2moddin py kill?
no, its not dead... I will do in the comming few days some updates
Thank you for fixing the previous issue (#5), but now i have other problem. I did connected successfully. On the stage "Gathering test players..." the manager disconnected from server. After a few seconds it's connecting as well. And it keeps doing it all the time... Any ideas why ? There is nothing in the log file...or may be I'm looking in the wrong place...
Best regards and many thanks for your work :)
EDIT: There is a tracepath I didn't see :
File "/usr/lib/python2.7/site-packages/websocket_client-0.15.0-py2.7.egg/websocket/init.py", line 1103, in _callback callback(self, _args) File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/xsockets.py", line 169, in _on_message self.dispatchEvent(cont["event"], cont["data"]) File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/xsockets.py", line 214, in dispatchEvent self.subscriptions.fire(event, json.loads(message)) File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/xsockets.py", line 123, in fire sub.fireCallback(message, callback, ix) File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/xsockets.py", line 80, in fireCallback self.callbacks[idx].fn(message) File "/home/dragonator/Downloads/d2modd/src/d2mp/core/connection.py", line 61, in handle_command self._commands.get(content.get("msg", "wrong_content"), self._command_not_found)(content) File "/home/dragonator/Downloads/d2modd/src/d2mp/core/connection.py", line 93, in _command_launch launch_dota() File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/steam.py", line 21, in launch_dota return command("run/570") File "/home/dragonator/Downloads/d2modd/src/d2mp/utils/steam.py", line 15, in command return call([ModManager().steam_exe(), "steam://%s" %cmd]) File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(_popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception