shinymud / ShinyMUD

A text-based, multiplayer, online adventure game.
shiny.incendiarysoftware.com
Other
41 stars 10 forks source link

Vista telnet crashes the mud #1

Open delightedCrow opened 12 years ago

delightedCrow commented 12 years ago

Logging on with Vista's built-in telnet gives the following error:

_2010-05-20 15:04:06.036863_ Traceback (most recent call last): File "/home/shiny/shinymud/src/shinymud/lib/shiny_server.py", line 40, in world.start_turning() File "/home/shiny/shinymud/src/shinymud/lib/world.py", line 67, in start_turning self.player_list[key].do_tick() File "/home/shiny/shinymud/src/shinymud/models/player.py", line 217, in do_tick self.mode.state() File "/home/shiny/shinymud/src/shinymud/modes/init_mode.py", line 66, in get_input self.next_state(arg) File "/home/shiny/shinymud/src/shinymud/modes/init_mode.py", line 100, in verify_playername row = self.world.db.select('password,dbid FROM player WHERE name=?', [self.playername]) File "/home/shiny/shinymud/src/shinymud/lib/db.py", line 58, in select cursor.execute("select " + query, params) ProgrammingError?: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.


We may be negotiating line-mode incorrectly for windows. It seems to work fine in puTTY, though.