I tried installing source python for CS:S, but it doesn't work. Source-python doesn't get loaded at all.
The logs doesn't say anything.
I check version ld -version its 2.19 so everything should be fine. It's in Linux 14.04 Ubuntu
Source-Python for CS:S
Re: Source-Python for CS:S
You're doing something wrong my friend, add -debug to your startup cmdline, I've it running just fine.
Re: Source-Python for CS:S
[Source.Python] Loading...
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 42, in load
setup_core_settings()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 69, in setup_core_settings
from core.settings import _core_settings
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/settings.py", line 19, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/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.so"
[Source.Python] Unloading...
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 57, in unload
unload_plugins()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 298, in unload_plugins
from core.manager import core_plugin_manager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/manager.py", line 12, in <module>
from plugins.manager import PluginManager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/plugins/__init__.py", line 12, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/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.
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 42, in load
setup_core_settings()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 69, in setup_core_settings
from core.settings import _core_settings
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/settings.py", line 19, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/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.so"
[Source.Python] Unloading...
Traceback (most recent call last):
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 57, in unload
unload_plugins()
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/__init__.py", line 298, in unload_plugins
from core.manager import core_plugin_manager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/core/manager.py", line 12, in <module>
from plugins.manager import PluginManager
File "/home/agent/OGP_User_Files/16/cstrike/addons/source-python/packages/source-python/plugins/__init__.py", line 12, in <module>
from translations.strings import LangStrings
File "/home/agent/OGP_User_Files/16/cstrike/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.
Re: Source-Python for CS:S
Works thanks.
Re: Source-Python for CS:S
New issue:
rcon sp load <plugin>
Sub command "load" not found.
rcon sp load <plugin>
Sub command "load" not found.
Re: Source-Python for CS:S
They changed it recently.
It should be now 'sp plugin load/reload/etc..'
It should be now 'sp plugin load/reload/etc..'
Re: Source-Python for CS:S
Maybe the documentation should be updated, so other people don't fall for this :p
Re: Source-Python for CS:S
Yep it definitely should https://github.com/Source-Python-Dev-Team/Source.Python/search?utf8=%E2%9C%93&q=%22sp+load%22
/id/its_iPlayer
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam
Hail, Companion. [...] Hands to yourself, sneak thief.
My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam
Hail, Companion. [...] Hands to yourself, sneak thief.
Re: Source-Python for CS:S
I saw it from the folder /Plugins/readme.md
Source.Python Plugin ReadMe
This directory is used for Source.Python plugins
to be loaded by the command "sp load".
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 67 guests