Ticket #116 (closed defect: fixed)
UnicodeDecodeError from win32com.client in Microsoft Word 2003
| Reported by: | swigjr23 | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2009.1 |
| Component: | Core | Version: | development |
| Keywords: | word error 2003 pywin32 | Cc: | |
| Operating system: | Blocked by: | ||
| Blocking: |
Description (last modified by jteh) (diff)
When entering word 2003. This error persists every time you hit the arrow keys. It even happens when you lode word it say microsoft word then the sound. The exception follows.
version 2146 running from sources
ERROR - queueHandler.flushQueue:
Error in func _queueEventCallback from eventQueue
Traceback (most recent call last):
File "C:\source\source\queueHandler.py", line 52, in flushQueue
func(*args,**kwargs)
File "C:\source\source\eventHandler.py", line 40, in _queueEventCallback
executeEvent(eventName,obj)
File "C:\source\source\eventHandler.py", line 73, in executeEvent
executeEvent_appModuleLevel(eventName,obj)
File "C:\source\source\eventHandler.py", line 112, in executeEvent_appModuleLevel
executeEvent_defaultAppModuleLevel(name,obj)
File "C:\source\source\eventHandler.py", line 119, in executeEvent_defaultAppModuleLevel
executeEvent_virtualBufferLevel(name,obj)
File "C:\source\source\eventHandler.py", line 126, in executeEvent_virtualBufferLevel
executeEvent_NVDAObjectLevel(name,obj)
File "C:\source\source\eventHandler.py", line 130, in executeEvent_NVDAObjectLevel
getattr(obj,'event_%s'%name)()
File "C:\nvda\source\NVDAObjects\IAccessible\__init__.py", line 692, in event_gainFocus
Window.event_gainFocus(self)
File "C:\nvda\source\NVDAObjects\__init__.py", line 632, in event_gainFocus
api.setNavigatorObject(self)
File "C:\source\source\api.py", line 168, in setNavigatorObject
globalVars.reviewPosition=obj.makeTextInfo(textHandler.POSITION_CARET)
File "C:\nvda\source\NVDAObjects\__init__.py", line 682, in makeTextInfo
return self.TextInfo(self,position)
File "C:\nvda\source\NVDAObjects\IAccessible\winword.py", line 92, in __init__
self._rangeObj.Collapse()
File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 467, in __getattr__
if self._olerepr_.mapFuncs.has_key(attr): return self._make_method_(attr)
File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 295, in _make_method_
methodCodeList = self._olerepr_.MakeFuncMethod(self._olerepr_.mapFuncs[name], methodName,0)
File "C:\Python25\Lib\site-packages\win32com\client\build.py", line 297, in MakeFuncMethod
return self.MakeDispatchFuncMethod(entry, name, bMakeClass)
File "C:\Python25\Lib\site-packages\win32com\client\build.py", line 318, in MakeDispatchFuncMethod
s = linePrefix + 'def ' + name + '(self' + BuildCallList(fdesc, names, defNamedOptArg, defNamedNotOptArg, defUnnamedArg, defOutArg) + '):'
File "C:\Python25\Lib\site-packages\win32com\client\build.py", line 604, in BuildCallList
argName = MakePublicAttributeName(argName)
File "C:\Python25\Lib\site-packages\win32com\client\build.py", line 542, in MakePublicAttributeName
return filter( lambda char: char in valid_identifier_chars, className)
File "C:\Python25\Lib\site-packages\win32com\client\build.py", line 542, in <lambda>
return filter( lambda char: char in valid_identifier_chars, className)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 52: ordinal not in range(128)
I am running windows xp media center edition.
Change History
Note: See
TracTickets for help on using
tickets.


NVDA is developed by