Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#223 closed defect (fixed)

Server won't launch - incorrect codepage in util/xkbmap_util.py — at Version 1

Reported by: Olloff Owned by: Antoine Martin
Priority: major Milestone:
Component: Server Keywords: 0.12.17, xkbmap_util, utf-8
Cc:

Description (last modified by Antoine Martin)

OS: Linux olloff-desktop 3.5.0-15-generic #23-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Python: 2.7.3
Winswitch: __version__=0.12.17

Error: http://pastebin.com/uuLLTjAP
Traceback: http://pastebin.com/xKW3kKnw

After fresh install 0.12.16 or update to 0.12.17 I get next error:

SyntaxError: Non-ASCII character '\xc3' in file \
/usr/lib/python2.7/dist-packages/winswitch/util/xkbmap_util.py

Problem seems to be fixed by adding encoding information to xkbmap_util.py:

# -*- coding: utf-8 -*-

Change History (1)

comment:1 Changed 12 years ago by Antoine Martin

Description: modified (diff)
Resolution: fixed
Status: newclosed

Thanks, applied in r5097 - will probably re-spin the packages with this fix

Note: See TracTickets for help on using tickets.