Opened 7 years ago

Closed 7 years ago

#1282 closed defect (fixed)

UnicodeDecodeError reporting mac crash

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.8 (2018-09-06)
Description
Just starting ChimeraX  daily by clicking the icon gave a traceback (see Log contents).


Log:
UCSF ChimeraX version: 0.8 (2018-09-06)  
How to cite UCSF ChimeraX  
Error processing trigger "new frame"  
Traceback (most recent call last):  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/core/triggerset.py", line 126, in invoke  
return self._func(self._name, data)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/bug_reporter/mac_crash_report.py", line 89, in crash_check  
check_for_crash_on_mac(session)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/bug_reporter/mac_crash_report.py", line 21, in
check_for_crash_on_mac  
report = recent_chimera_crash(last)  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/bug_reporter/mac_crash_report.py", line 42, in
recent_chimera_crash  
log = recent_crash(time, dir, 'ChimeraX')  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-
packages/chimerax/bug_reporter/mac_crash_report.py", line 75, in recent_crash  
log = f.read()  
File
"/Users/chimera/Applications/ChimeraX_Daily.app/Contents/MacOS/../Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py",
line 26, in decode  
return codecs.ascii_decode(input, self.errors)[0]  
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1010:
ordinal not in range(128)  

toolshed show "Bug Reporter"




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GTX 675MX OpenGL Engine
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedCore
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionUnicodeDecodeError reporting mac crash

comment:2 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Bug reporter raised an error when Mac crash dump contains non-ascii character. Made it accept all characters.

Note: See TracTickets for help on using tickets.