Message 1 of 2
Python - UnicodeDecodeError? - Need help!
Not applicable
05-11-2011
04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
I'm starting my big adventure (as i hope) with Python and by the way with writing widgets compatible for Maya & MoBu. I started learning it by following the video made by David Coleman ( http://area.autodesk.com/gdc2011/class3, big thx for that great vid) and unfortunately I met a painful as hell problem.
I can't get anything working, that uses outside libraries like from PyQt4 QtCore, QtGui etc...
the error I get from Maya:
I'm working under Windows7 x64, with Maya/Python 2.6.4/PyQt v.4.8.4 (all x86). My system language is PL, the rest is EN (if that makes any useful info).
Last 2 days I spent on searching the solution, browsing the web/forums, but still I can't go any closer. I will be very great-full for any kind of clue on that issue because I'm stuck and it's driving me mad!
Sorry for my bad english
I'm starting my big adventure (as i hope) with Python and by the way with writing widgets compatible for Maya & MoBu. I started learning it by following the video made by David Coleman ( http://area.autodesk.com/gdc2011/class3, big thx for that great vid) and unfortunately I met a painful as hell problem.
I can't get anything working, that uses outside libraries like from PyQt4 QtCore, QtGui etc...
the error I get from Maya:
# Error: Error in maya.utils._guiExceptHook:
# File "C:\Program Files (x86)\Autodesk\Maya2011\Python\lib\site-packages\maya\utils.py", line 267, in formatGuiException
# exceptionMsg = unicode(exceptionObject.args)
# UnicodeDecodeError: 'ascii' codec can't decode byte 0xbf in position 23: ordinal not in range(128)
#
# Original exception was:
# Traceback (most recent call last):
# File "<maya console>", line 2, in <module>
# ImportError: DLL load failed:
I'm working under Windows7 x64, with Maya/Python 2.6.4/PyQt v.4.8.4 (all x86). My system language is PL, the rest is EN (if that makes any useful info).
Last 2 days I spent on searching the solution, browsing the web/forums, but still I can't go any closer. I will be very great-full for any kind of clue on that issue because I'm stuck and it's driving me mad!
Sorry for my bad english