Page 1 of 1
Linux Server not starting (bytes module missing)
Posted: Thu Nov 05, 2015 3:44 pm
by Sean'
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 allTraceback (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...
Re: Linux Server not starting (bytes module missing)
Posted: Fri Nov 06, 2015 1:43 am
by Marisa Kirisame
Re: Linux Server not starting (bytes module missing)
Posted: Fri Nov 06, 2015 5:59 pm
by Sean'
Marisa Kirisame wrote:
I thought i'd be pretty clear that i have already built it many times. The Output of build.sh is:
Code: Select allTraceback (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...
Re: Linux Server not starting (bytes module missing)
Posted: Fri Nov 06, 2015 7:01 pm
by LeFizzy
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!
Re: Linux Server not starting (bytes module missing)
Posted: Fri Nov 06, 2015 7:11 pm
by Sean'
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 allImportError: No module named compression
I really don't know what do to next... This is really bugging me.
Re: Linux Server not starting (bytes module missing)
Posted: Sun Nov 08, 2015 11:20 am
by LeFizzy
Perhaps use the wine_emulator to run the windows binary, because the developers&admins to say the least => they do not care for you.
Re: Linux Server not starting (bytes module missing)
Posted: Mon Nov 09, 2015 1:04 am
by Marisa Kirisame
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?