Page 1 of 1

SP Not loading

Posted: Wed Mar 30, 2016 5:59 pm
by Someone
Source.python is not loading without any errors in console.

How to fix it?

Posted: Wed Mar 30, 2016 6:28 pm
by satoon101
Game? Operating system?

Posted: Wed Mar 30, 2016 7:38 pm
by Someone
satoon101 wrote:Game? Operating system?


CS:GO, Linux.

Posted: Wed Mar 30, 2016 8:49 pm
by Ayuto
Please post the full console output you get when starting the server.

Posted: Thu Mar 31, 2016 10:07 am
by Someone
Ayuto wrote:Please post the full console output you get when starting the server.


Wow, i find it.

[Source.Python] Loading...
=========================================================================
[SP-LOADER] Could not load library: Python3/plat-linux/libpython3.5m.so.1.0
[SP-LOADER] Error Reported: /lib32/libc.so.6: version `GLIBC_2.17' not found (required by /home/data/srv/srv659491/csgo/addons/source-python/Python3/plat-linux/libpython3.5m.so.1.0)
=========================================================================
Failed to load plugin "addons/source-python"

Posted: Thu Mar 31, 2016 11:47 am
by Ayuto

Posted: Thu Mar 31, 2016 3:02 pm
by Someone
Ayuto wrote:Okay, could you please try the steps I described here?
https://github.com/Source-Python-Dev-Team/Source.Python/issues/115#issuecomment-202093016


Not working.

Now:

[Source.Python] Loading...
=========================================================================
[SP-LOADER] Could not load library: bin/core.so
[SP-LOADER] Error Reported: /lib32/libc.so.6: version `GLIBC_2.17' not found (required by /home/data/srv/srv659491/csgo/addons/source-python/bin/core.so)
=========================================================================
Failed to load plugin "addons/source-python"

Posted: Thu Mar 31, 2016 3:45 pm
by Ayuto
Okay, I have updated the core.so. Please re-download source-python.so and core.so:
http://build.affecta.net/job/Source.Python%20-%20Other%20Branches/game=csgo,label=master/lastSuccessfulBuild/artifact/

Posted: Thu Mar 31, 2016 7:57 pm
by Someone
Ayuto wrote:Okay, I have updated the core.so. Please re-download source-python.so and core.so:
http://build.affecta.net/job/Source.Python%20-%20Other%20Branches/game=csgo,label=master/lastSuccessfulBuild/artifact/


Again:

[Source.Python] Loading...
=========================================================================
[SP-LOADER] Could not load library: bin/core.so
[SP-LOADER] Error Reported: /lib32/libc.so.6: version `GLIBC_2.17' not found (required by /home/data/srv/srv659491/csgo/addons/source-python/bin/core.so)
=========================================================================
Failed to load plugin "addons/source-python"

Posted: Thu Mar 31, 2016 8:03 pm
by Ayuto
Are you really sure you replaced the core.so in ../addons/source-python/bin?

Posted: Fri Apr 01, 2016 11:37 am
by Someone
Ayuto wrote:Are you really sure you replaced the core.so in ../addons/source-python/bin?


100%.

Posted: Mon Apr 04, 2016 6:09 pm
by Ayuto
Hm, that's funny, because the core.so shouldn't rely on the GLIBC library anymore. Do you have the possibility to update your GLIBC version to 2.17 or later?

Posted: Wed Apr 06, 2016 2:56 pm
by Someone
Ayuto wrote:Hm, that's funny, because the core.so shouldn't rely on the GLIBC library anymore. Do you have the possibility to update your GLIBC version to 2.17 or later?


After few try my hosting said me no.

Posted: Sat Apr 16, 2016 9:16 pm
by Masterskitz
This is what I get when trying to use python on my csgo server.

Code: Select all

[Source.Python] Loading...
Traceback (most recent call last):
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/__init__.py", line 42, in load
    setup_logging()
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/__init__.py", line 85, in setup_logging
    from core.settings import _core_settings
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/core/settings.py", line 15, in <module>
    from auth.paths import AUTH_PROVIDER_PATH
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/auth/__init__.py", line 12, in <module>
    from translations.strings import LangStrings
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/translations/strings.py", line 10, in <module>
    from binascii import unhexlify
ImportError: libz.so.1: cannot open shared object file: No such file or directory
[Source.Python] Failed to load the main module.
[Source.Python] Could not initialize python.
Failed to load plugin "addons/source-python"
[Source.Python] Unloading...
Traceback (most recent call last):
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/__init__.py", line 56, in unload
    unload_plugins()
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/__init__.py", line 250, in unload_plugins
    from core.manager import core_plugin_manager
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/core/manager.py", line 12, in <module>
    from plugins.manager import PluginManager
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/plugins/__init__.py", line 12, in <module>
    from translations.strings import LangStrings
  File "/home/servers/csgo/dev/csgo/addons/source-python/packages/source-python/translations/strings.py", line 10, in <module>
    from binascii import unhexlify
ImportError: libz.so.1: cannot open shared object file: No such file or directory
[Source.Python] Failed to unload the main module.
[Source.Python] Unloaded successfully.

Posted: Sun Apr 17, 2016 5:02 am
by satoon101
Your issue is different from the one being discussed in this thread. If you search our forums for "libz", you will find the solution to your issue.

Also, thank you for posting this on our issues list. It is fine there, but really doesn't belong on WC:GO's issues list, as it has nothing to specifically do with WC:GO.

In the future, please find the "best" place to post an issue and only post it there. Having it in multiple places can cause confusion. The best place is and always will be our issues list, as long as the issue is directly with SP and not specific to a plugin.