uberserver doesn't start

uberserver doesn't start

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Sereiya
Posts: 63
Joined: 28 Aug 2009, 18:03

uberserver doesn't start

Post by Sereiya »

Hey,
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>
I have no idea why he could have a problem starting the NAT server or what syntax error he talks about. Do I need to enter some values while starting the server like port o.s.?

- 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
When I just ignore that try and start it again, this is the result:

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
Perhaps I'm just as dumb as I was in the beginning, but I'm clueless how to solve this... there's no chance to set up a stable internet connection for 16 users to use the online lobby, and SpringLS Lobby doesn't work (I'm able to start the server and join, but unable to host a battleroom on it).
Also, how I start uberserver using LAN mode?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: uberserver doesn't start

Post by abma »

no you aren't dumb :)

without changing code you won't get it work on windows atm:


https://github.com/spring/uberserver/issues/70
https://github.com/spring/uberserver/issues/16

sorry!

on a linux box it should run without issues, but registering would be still required.

when does the lan start?
User avatar
Sereiya
Posts: 63
Joined: 28 Aug 2009, 18:03

Re: uberserver doesn't start

Post by Sereiya »

Runs fine in a virtualbox with ubuntu. Thanks! I thought there wouldn't be great differences on using python in windows or linux.
abma wrote:when does the lan start?
You're also from germany, aren't you? It starts on august the tenth, but it's just a small lan with friends. I guess you asked out of interest? :wink:
Post Reply

Return to “Help & Bugs”