UnicodeEncodeError in Microsoft Excel

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

UnicodeEncodeError in Microsoft Excel

Hi. he master branch, in Microsoft Excel when press NVDA+numpadDelete
for report sheet name, arise exception UnicodeEncodeError. Here probably
need gettext.
ERROR - scriptHandler.executeScript (20:14:49):
error executing script: <bound method
GlobalCommands.script_navigatorObject_currentDimensions of
<globalCommands.GlobalCommands object at 0x05CB4090>> with gesture
u'NVDA+delete \u043d\u0430
Traceback (most recent call last):
   File "scriptHandler.py", line 187, in executeScript
   File "globalCommands.py", line 804, in
     locationText=api.getReviewPosition().locationText if count==0 else None
   File "baseObject.py", line 21, in __get__
     return self.fget(instance)
   File "NVDAObjects\window\excel.py", line 991, in _get_locationText
     return self.obj.getCellPosition()
   File "NVDAObjects\window\excel.py", line 1136, in getCellPosition
     return "Sheet {0}, {1}".format(sheet, rowAndColumn)
UnicodeEncodeError: 'ascii' codec can't encode characters in position
0-3: ordinal not in range(128)

Best regards, Kvark.

Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Nvda-devel mailing list
[hidden email]