Page 1 of 1
[CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 8:26 am
by existenz
Hey !
I have an error with the new version of Sourcepython (Maybe it's due to csgo update)
Sourcepython is loaded without problem but when a player join i have this error and the warcraft mod is unload.
Syntax: Select all
Exception ignored in: <bound method GameThread.__del__ of <GameThread(Thread-1, started -428872896)>>
Traceback (most recent call last):
File "/srv/games/csgo/warcraft/csgo/addons/source-python/packages/source-python/listeners/tick.py", line 53, in __del__
on_tick_listener_manager.unregister_listener(self._tick)
ValueError: Callback not registered.
For errors of this type you would prefer that I declare an issue on git ?
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:01 pm
by iPlayer
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:04 pm
by existenz
This error occurred with the latest build, with this correction :/
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:07 pm
by PhantomDancer
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:19 pm
by iPlayer
This error occurred with the latest build, with this correction :/
It's impossible. We have completely removed
But it's in your traceback.
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:22 pm
by PhantomDancer
he has to replace his local file
/addons/source-python/packages/source-python/listeners/tick.py
with the updated gitfile
https://raw.githubusercontent.com/Source-Python-Dev-Team/Source.Python/143be039938f9cf04a8de1e6ab2ec72ec9ba8c7e/addons/source-python/packages/source-python/listeners/tick.py
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 2:46 pm
by existenz
Thanks for your answer.
For the second error i have remove it it's not due to latest build my bad.
I will retest when i m back. But i have delete all sp package and put the new and this error appear so i don't know, maybe mishandling.
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 5:55 pm
by iPlayer
Update your
addons/source-python/packages/source-python/listeners/tick.py with this version:
https://github.com/Source-Python-Dev-Te ... rs/tick.pyThis version replaces GameThread class with a dummy, since with the latest updates it turns out that we don't need GameThread class anymore.
In your case it should fix everything (I mean exceptions, not crashes)
...or you can wait til the buildbot builts another SP version. For the time of writing this reply, it hasn't built it yet though.
Re: [CSGO New Sp] Error on tick listener
Posted: Thu Apr 13, 2017 7:02 pm
by existenz
Nice ! I will try to update it.
Re: [CSGO New Sp] Error on tick listener
Posted: Fri Apr 14, 2017 11:36 am
by existenz
Problem solved with the last Sp update :)
Thanks.