Code: Select all
[Source.Python] Failed to load the main module due to following exception:
Traceback (most recent call last):
File "/home/csgoserver/serverfiles/csgo/addons/source-python/packages/source-python/__init__.py", line 86, in load
setup_core_settings()
File "/home/csgoserver/serverfiles/csgo/addons/source-python/packages/source-python/__init__.py", line 190, in setup_core_settings
from core.settings import _core_settings
File "/home/csgoserver/serverfiles/csgo/addons/source-python/packages/source-python/core/__init__.py", line 29, in <module>
from urllib.request import urlopen
File "/home/csgoserver/serverfiles/csgo/addons/source-python/Python3/urllib/request.py", line 84, in <module>
import base64
File "/home/csgoserver/serverfiles/csgo/addons/source-python/Python3/base64.py", line 11, in <module>
import binascii
ImportError: libz.so.1: wrong ELF class: ELFCLASS64
If I install the 32-bit versions of libraries, I get:
Code: Select all
[Source.Python] Loading...
[Source.Python] Loaded successfully.
failed to dlopen /home/csgoserver/serverfiles/csgo/addons/metamod/bin/linux64/server.so error=/home/csgoserver/serverfiles/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64
Unable to load plugin "addons/metamod/bin/linux64/server"
In the latter scenario, SourcePython actually functions, as far as I can tell:
Code: Select all
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum : 2af7086237e31b1912d2a9635f50247b
Date : 2019-02-27 19:15:27.448478
OS : Linux-4.15.18-10-pve-x86_64-with-centos-7.6.1810-Core
Game : csgo
SP version : 680
Github commit : acaa34e53d708064c2130276a35232c1929788b7
Server plugins:
00: Source.Python, (C) 2012-2018, Source.Python Team.
01: Metamod:Source 1.11.0-dev+1116
SP plugins:
--------------------------------------------------------
I can also run the test1 program:
Code: Select all
sp plugin load test1
[SP] Loading plugin 'test1'...
Plugin has been loaded successfully!
[SP] Successfully loaded plugin 'test1'.
sp plugin unload test1
[SP] Unloading plugin 'test1'...
Plugin has been unloaded
[SP] Successfully unloaded plugin 'test1'.
The error just slightly concerns me. Is this something I need to worry about?