matpow2 / cuwo

Open server and utilities for Cube World
GNU General Public License v3.0
170 stars 49 forks source link

Fatal Python error: Illegal instruction #204

Closed sreitz closed 5 years ago

sreitz commented 6 years ago

So far I ran cubeworld from my win10 laptop as a server to play with my family. Since performance is not so great, I figured I move the server to the home server (Ubuntu 17.10).

I used Method 1 to install. After making the sh files executable the server almost started. I then found out that I need to put

in data. Now the server started but stopped again within a second with "Fatal Python error: Illegal instruction"

stefan@unterhaltung:~/cuwo$ ./run_pyenv.sh

stefan@unterhaltung:~/cuwo$ ./run_server.sh
Invalid MD5 for Server.exe, expected 9c69b731cf197236ce800b44b2abe497, found a6fc5aa34068b5b80c53b2439c65be3b.
Invalid MD5 for data4.db, expected b15f077653b02aac52e3ac365c7363e5, found ae3c1c8e1d8b3e858cb49efa59e9530e.
Picroma login (leave empty to skip package)
Email:
cuwo server started on Fri Jan 26 15:58:41 2018
Loaded script 'log'
Loaded script 'ddos'
Fatal Python error: Illegal instruction

Current thread 0x00007faa06359700 (most recent call first):
  File "/home/stefan/cuwo/cuwo/world.py", line 513 in run_gen
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/concurrent/futures/thread.py", line 55 in run
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/concurrent/futures/thread.py", line 66 in _worker
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 864 in run
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007faa182ac040 (most recent call first):
  File "<frozen importlib._bootstrap_external>", line 1310 in _fill_cache
  File "<frozen importlib._bootstrap_external>", line 1273 in find_spec
  File "<frozen importlib._bootstrap_external>", line 1135 in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1171 in find_spec
  File "<frozen importlib._bootstrap>", line 903 in _find_spec
  File "<frozen importlib._bootstrap>", line 950 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 961 in _find_and_load
  File "/home/stefan/cuwo/scripts/commands.py", line 27 in <module>
  File "<frozen importlib._bootstrap>", line 205 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 678 in exec_module
  File "<frozen importlib._bootstrap>", line 655 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 950 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 961 in _find_and_load
  File "/home/stefan/cuwo/cuwo/server.py", line 756 in load_script
  File "/home/stefan/cuwo/cuwo/server.py", line 558 in __init__
  File "/home/stefan/cuwo/cuwo/server.py", line 900 in main
  File "/home/stefan/cuwo/cuwo/server.py", line 915 in <module>
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85 in _run_code
  File "/home/stefan/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193 in _run_module_as_main
./run_server.sh: line 10:  1620 Illegal instruction     (core dumped) python -m cuwo.server

I am not sure about the invalid md5 sums for server.exe and data4.db. I can't find my original cubeworld delivery, only the (working) windows installation.

Please advise.

matpow2 commented 5 years ago

Could you give a native stacktrace?

matpow2 commented 5 years ago

Closing, but please reopen if still an issue.