Hi guys,
I'm writing an add-on, so far successfully. When I add the following line it runs well on windows, but fails on mac:
from xml.dom.minidom import parseString
SyntaxError: ("Non-ASCII character '\\xac' in file /Users/Shared/xbmc-depends/macosx10.6_i386/lib/python2.6/xml/__init__.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('/Users/Shared/xbmc-depends/macosx10.6_i386/lib/python2.6/xml/__init__.py', 1, 0, None))
00:08:03 T:2962513920 INFO: -->End of Python script error report<--
What am i doing wrong? any help would be appreciated.
Gal.
python's non-ascii error when importing library
MrOzio
Junior Member Posts: 6 Joined: Jan 2012 Reputation: 0 |
2012-07-16 23:18
Post: #1
|
| find quote |
MrOzio
Junior Member Posts: 6 Joined: Jan 2012 Reputation: 0 |
2012-07-18 02:01
Post: #2
Dunno what's wrong there, but for now I rewritten my code to use simplejson instead...
|
| find quote |

Search
Help