Opened 12 years ago

Last modified 11 years ago

#223 closed defect

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

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

Description

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 (0)

Note: See TracTickets for help on using tickets.