I currently try to set up a local lobby server using uberserver for a little party I go to in a couple of weeks.
When I try to start the server, it prints this:
Code: Select all
C:\Spring server>python server.py
File "server.py", line 53
print 'Error: Could not start NAT server - hole punching will be unavailable
.'
^
SyntaxError: invalid syntax
C:\Spring server>
- Serry
edit: Oh god, forget what I just said. It's just a syntax error in that line. I'm ashamed of myself...
edit²: After I realized that I need python 2.7.7 instead of 3.4.1 and installing sqlalchemy, the server stops after downloading GeoIP.dat.gz (which is broken).
Code: Select all
C:\Spring server>"C:\Python27\python.exe" server.py
GeoIP.dat doesn't exist, downloading...
Downloading http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/Ge
oIP.dat.gz ...
done!
Traceback (most recent call last):
File "server.py", line 7, in <module>
from DataHandler import DataHandler
File "C:\Spring server\DataHandler.py", line 11, in <module>
import ip2country
File "C:\Spring server\ip2country.py", line 27, in <module>
update()
File "C:\Spring server\ip2country.py", line 18, in update
db.write(f.read())
File "C:\Python27\lib\gzip.py", line 254, in read
self._read(readsize)
File "C:\Python27\lib\gzip.py", line 312, in _read
uncompress = self.decompress.decompress(buf)
zlib.error: Error -3 while decompressing: invalid literal/lengths set
Code: Select all
C:\Spring server>"C:\Python27\python.exe" server.py
Error parsing profanity list: [Errno 2] No such file or directory: 'bad_words.tx
t'
Error parsing shock site list: [Errno 2] No such file or directory: 'bad_sites.t
xt'
Multiple threads are not supported with sqlite, forcing a single thread
Please note the server performance will not be optimal
You might want to install a real database server or use LAN mode
Logging enabled at: server.log
Awaiting UDP messages on port 8201
Traceback (most recent call last):
File "server.py", line 79, in <module>
dispatcher = Dispatcher(_root, server)
File "C:\Spring server\Dispatcher.py", line 9, in __init__
self.poller = Multiplexer.EpollMultiplexer()
File "C:\Spring server\Multiplexer.py", line 12, in __init__
self.inMask = EPOLLIN | EPOLLPRI
NameError: global name 'EPOLLIN' is not defined
Also, how I start uberserver using LAN mode?