#223 closed defect (fixed)
Server won't launch - incorrect codepage in util/xkbmap_util.py
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 )
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 (2)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 12 years ago by
Until a new version of the packages is released, you have a few options:
- install from the beta area
- install from source
- patch your installation with r5097
- just drop the new xkbmap_util.py file onto your existing installation
Note: See
TracTickets for help on using
tickets.
Thanks, applied in r5097 - will probably re-spin the packages with this fix