Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Start error. #189

Closed
exposecode opened this issue Jun 17, 2017 · 8 comments
Closed

Server Start error. #189

exposecode opened this issue Jun 17, 2017 · 8 comments

Comments

@exposecode
Copy link

Hello! I have a Problem with CUWO
Error:
root@mvickido:/home/cuwo# sh run_server.sh Traceback (most recent call last): File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.4/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/cuwo/cuwo/server.py", line 736, in <module> main() File "/home/cuwo/cuwo/server.py", line 721, in main server = CubeWorldServer(loop, config) File "/home/cuwo/cuwo/server.py", line 473, in __init__ base.use_entities) File "/home/cuwo/cuwo/server.py", line 111, in __init__ super().__init__(*arg, **kw) File "/home/cuwo/cuwo/world.py", line 240, in __init__ raise FileNotFoundError('Missing asset file %r' % path) FileNotFoundError: Missing asset file '/home/cuwo/data/data1.db'

@m00nyONE
Copy link

m00nyONE commented Jul 4, 2017

same error here

@matpow2
Copy link
Owner

matpow2 commented Jul 5, 2017

You need to place data1.db and data4.db in the data folder. Does that fix the issue?

@yakuu
Copy link

yakuu commented Jul 7, 2017

Fatal Python error: Segmentation fault

Thread 0x00007f7a4760f700 (most recent call first):
File "/srv/www/projects/test/cuwo-master/cuwo/world.py", line 297 in run_gen
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54 in run
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 65 in _worker
File "/usr/lib/python3.4/threading.py", line 868 in run
File "/usr/lib/python3.4/threading.py", line 920 in _bootstrap_inner
File "/usr/lib/python3.4/threading.py", line 888 in _bootstrap

Thread 0x00007f7a4b013700 (most recent call first):
File "", line 2106 in path_hook_for_FileFinder
File "", line 1864 in _path_hooks
File "", line 1885 in _path_importer_cache
File "", line 1920 in _get_spec
File "", line 1954 in find_spec
File "", line 2182 in _find_spec
File "", line 2226 in _find_and_load_unlocked
File "", line 2237 in _find_and_load
File "/srv/www/projects/test/cuwo-master/scripts/log.py", line 26 in
File "", line 321 in _call_with_frames_removed
File "", line 1471 in exec_module
File "", line 1129 in _exec
File "", line 1468 in exec_module
File "/srv/www/projects/test/cuwo-master/scripts/log.py", line 69 in on_load
File "/srv/www/projects/test/cuwo-master/cuwo/script.py", line 316 in init
File "/srv/www/projects/test/cuwo-master/cuwo/server.py", line 591 in load_script
File "/srv/www/projects/test/cuwo-master/cuwo/server.py", line 484 in init
File "/srv/www/projects//tcuwo server started on Fri Jul 7 22:20:54 2017
est/cuwo-master/cuwo/server.py", line 721 in main
File "/srv/www/projectLoaded script 'log'
s/test/cuwo-master/cuwo/server.py", line 736 in
File "/usr/lib/python3.4/runpy.py", line 85 in _run_code
File "/usr/lib/python3.4/runpy.py", line 170 in _run_module_as_main
Segmentation fault

#sh run_server.sh
That is what I am getting after the Copy of data with the same error from before.


Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 151, in _run_module_as_main
mod_name, loader, code, fname = _get_module_details(mod_name)
File "/usr/lib/python2.7/runpy.py", line 113, in _get_module_details
code = loader.get_code(mod_name)
File "/usr/lib/python2.7/pkgutil.py", line 283, in get_code
self.code = compile(source, self.filename, 'exec')
File "/srv/www/projects/test/cuwo-master/cuwo/server.py", line 685
def create_datagram_endpoint(self, *arg, port=0, **kw):
^
SyntaxError: invalid syntax

#python -m cuwo.server

@TheReverend403
Copy link
Contributor

TheReverend403 commented Jul 7, 2017

Are you running a grsecurity or other PaX-enabled kernel by any chance?

Edit: wait, it's because you're trying to use Python 2.7, cuwo requires Python 3.4

@matpow2
Copy link
Owner

matpow2 commented Jul 7, 2017 via email

@yakuu
Copy link

yakuu commented Jul 7, 2017

#( LD_SHOW_AUXV=yes ls ) | grep AT_BASE
AT_BASE: 0x7f22bd77e000

I guess this means i have it enabled?
how can I turn it off?

@matpow2
Copy link
Owner

matpow2 commented Jul 7, 2017 via email

@yakuu
Copy link

yakuu commented Jul 7, 2017

Yep. Works awesome!

@matpow2 matpow2 closed this as completed Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants