SP Not loading

All other Source.Python topics and issues.
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

SP Not loading

Postby Someone » Wed Mar 30, 2016 5:59 pm

Source.python is not loading without any errors in console.

How to fix it?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Wed Mar 30, 2016 6:28 pm

Game? Operating system?
Image
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Wed Mar 30, 2016 7:38 pm

satoon101 wrote:Game? Operating system?


CS:GO, Linux.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Wed Mar 30, 2016 8:49 pm

Please post the full console output you get when starting the server.
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Thu Mar 31, 2016 10:07 am

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"
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu Mar 31, 2016 11:47 am

Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Thu Mar 31, 2016 3:02 pm

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"
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu Mar 31, 2016 3:45 pm

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/
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Thu Mar 31, 2016 7:57 pm

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"
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Thu Mar 31, 2016 8:03 pm

Are you really sure you replaced the core.so in ../addons/source-python/bin?
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Fri Apr 01, 2016 11:37 am

Ayuto wrote:Are you really sure you replaced the core.so in ../addons/source-python/bin?


100%.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Mon Apr 04, 2016 6:09 pm

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?
Someone
Junior Member
Posts: 7
Joined: Mon Mar 28, 2016 6:45 pm

Postby Someone » Wed Apr 06, 2016 2:56 pm

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.
Masterskitz
Junior Member
Posts: 1
Joined: Sat Apr 16, 2016 9:15 pm

Postby Masterskitz » Sat Apr 16, 2016 9:16 pm

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.
Attachments
whywhywhy.jpg
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun Apr 17, 2016 5:02 am

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.
Image

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 33 guests