Giter Site home page Giter Site logo

springrts_hostlistd's People

Contributors

dansan avatar

Watchers

 avatar  avatar

springrts_hostlistd's Issues

add watchdog for lobby-client

The lobby-client-thread died today unexpectedly, and thus no updates to the statistics were made. I haven't figured out why it happened, but I think I'll attach some kind of watchdog to it.
It'll also be useful for when the connection gets cut, like in a server restart.

UnicodeDecodeError killing thread

2015-02-16 23:37:43 DEBUG    hostlistd.setup:49  Connetion from xx.xx.xx.xx:yyyyy
2015-02-16 23:37:46 ERROR    hostlistd.handle:133  (xx.xx.xx.xx:yyyyy) Unexpected error in thread 'hostlistd-request-xx.xx.xx.xx:yyyyy': 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/daniel/springrts_hostlistd/hostlistd/hostlistd.py", line 121, in handle
    csvwriter.writerows([host.as_list() for host in host_list_filtered])
  File "/home/daniel/springrts_hostlistd/lobbyclient/models.py", line 61, in as_list
    unicode(self.title), unicode(self.gameName),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
2015-02-16 23:37:46 ERROR    hostlistd.handle_error:143  (hostlistd-request-xx.xx.xx.xx:yyyyy) Error on connection from xx.xx.xx.xx:yyyyy, exiting!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.