Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode Encode error in Microsoft Excel #6848

Closed
michaelDCurran opened this issue Feb 6, 2017 · 1 comment · Fixed by #6866
Closed

Unicode Encode error in Microsoft Excel #6848

michaelDCurran opened this issue Feb 6, 2017 · 1 comment · Fixed by #6866
Labels
p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Milestone

Comments

@michaelDCurran
Copy link
Member

In Microsoft Excel when pressing NVDA+numpadDelete
for report sheet name, exception UnicodeEncodeError arises Here.

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 
\u0446\u0438\u0444\u0440\u043e\u0432\u043e\u043c 
\u0431\u043b\u043e\u043a\u0435'
Traceback (most recent call last):
   File "scriptHandler.py", line 187, in executeScript
     script(gesture)
   File "globalCommands.py", line 804, in 
script_navigatorObject_currentDimensions
     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)

This string should be unicode, and translatable.

@michaelDCurran michaelDCurran added the p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority label Feb 6, 2017
@michaelDCurran
Copy link
Member Author

Introduced in #6736

michaelDCurran added a commit that referenced this issue Feb 6, 2017
@nvaccessAuto nvaccessAuto added this to the 2017.1 milestone Feb 8, 2017
feerrenrut added a commit that referenced this issue Feb 9, 2017
feerrenrut added a commit that referenced this issue Feb 9, 2017
feerrenrut added a commit that referenced this issue Feb 14, 2017
For issue #6848
Merge branch 'i6848-makeCurrentExcelWorksheetTextTranslated' into next
feerrenrut added a commit that referenced this issue Mar 14, 2017
Translate excel sheet name reporting message.

Fixes #6848
feerrenrut added a commit that referenced this issue Mar 14, 2017
For PR #6761 - Web page menu items (menu item checkbox's and radio buttons) can now be activated while in browse mode.  Issue #6735
For PR #6866 - Excel sheet name reporting is now translated. Issue #6848
For PR #6884 - Pressing ESC while the configuration profile "Confirm Deletion" prompt is active now dismisses the dialog. Issue #6851
For PR #6895 - Cell border information can now be reported in Microsoft Excel by using `NVDA+f`. Issue #3044
For PR #6860 - Added support for aria-current attributes. Issue #6358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants