Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

python's non-ascii error when importing library

$
0
0
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.

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>