Linux Server not starting (bytes module missing)

Host your own server and communicate with server operators.
7 posts Page 1 of 1 First unread post
Sean'
Deuce
Posts: 3
Joined: Thu Nov 05, 2015 3:33 pm


After trying to recompile/redownload all dependecies of python and trying to refer to bytes.cpp and bytes.pxd/.pyx I gave up, I dont think anyone will answer here since all other posts related to this error did not get answers that could've helped me with my problems.

run.py output:
Code: Select all
Traceback (most recent call last):
  File "run.py", line 87, in <module>
    from pyspades.server import (ServerProtocol, ServerConnection, position_data,
  File "../pyspades/server.py", line 20, in <module>
    from pyspades.protocol import BaseConnection, BaseProtocol
  File "../pyspades/protocol.py", line 19, in <module>
    from pyspades.bytes import ByteReader, ByteWriter
ImportError: No module named bytes
as i've already mentioned I really tried many many ways but none have worked yet... hope you guys can help...
Marisa Kirisame
Deuced Up
Posts: 152
Joined: Sat Sep 21, 2013 10:52 pm


Code: Select all
chmod 755 build.sh
./build.sh
Sean'
Deuce
Posts: 3
Joined: Thu Nov 05, 2015 3:33 pm


Marisa Kirisame wrote:
Code: Select all
chmod 755 build.sh
./build.sh
I thought i'd be pretty clear that i have already built it many times. The Output of build.sh is:
Code: Select all
Traceback (most recent call last):
  File "build.py", line 27, in <module>
    ext_modules = cythonize(ext_modules)
  File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 758, in cythonize
    aliases=aliases)
  File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 651, in create_extension_list
    for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
  File "/usr/local/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 103, in nonempty
    raise ValueError(error_msg)
ValueError: './pyspades/compressedvxl.pyx' doesn't match any files
running build_ext
skipping 'enet.c' Cython extension (up-to-date)
build_all.sh works tho...
LeFizzy
Deuced Up
Posts: 116
Joined: Fri Jun 20, 2014 11:27 am


Btw, some people get on old repos, maybe you've been among them.
Check if you tried at this address? ==> https://code.google.com/p/pysnip/

Now, follow these steps:
Grab it from repo.

git clone https://github.com/NateShoffner/PySnip
cd PySnip
Create virtualenv

virtualenv -p python2 venv
source ./venv/bin/activate
Install dependencies

pip install cython twisted jinja2 pillow pygeoip pycrypto pyasn1
Compile

./build.sh
Run

./run_server.sh
//+rep for ctrl+c,ctrl+v and https://github.com/NateShoffner/PySnip!
Sean'
Deuce
Posts: 3
Joined: Thu Nov 05, 2015 3:33 pm


LeFizzy wrote:
Btw, some people get on old repos, maybe you've been among them.
Check if you tried at this address? ==> https://code.google.com/p/pysnip/

Now, follow these steps:
Grab it from repo.

git clone https://github.com/NateShoffner/PySnip
cd PySnip
Create virtualenv

virtualenv -p python2 venv
source ./venv/bin/activate
Install dependencies

pip install cython twisted jinja2 pillow pygeoip pycrypto pyasn1
Compile

./build.sh
Run

./run_server.sh
//+rep for ctrl+c,ctrl+v and https://github.com/NateShoffner/PySnip!
Already tried that a thousand times too... Thanks for the reply anyway. Right now i've appareantly got bytes to work by downloading the already built dependecies BUT now there are some other dependecies missing.
Code: Select all
ImportError: No module named compression
I really don't know what do to next... This is really bugging me.
LeFizzy
Deuced Up
Posts: 116
Joined: Fri Jun 20, 2014 11:27 am


Perhaps use the wine_emulator to run the windows binary, because the developers&admins to say the least => they do not care for you.
Marisa Kirisame
Deuced Up
Posts: 152
Joined: Sat Sep 21, 2013 10:52 pm


LeFizzy wrote:
Perhaps use the wine_emulator to run the windows binary, because the developers&admins to say the least => they do not care for you.
Have the binaries been updated, or do they still shit themselves and point to the wrong master server?
7 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 16 guests