Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#394 closed defect (fixed)

error saving model image

Reported by: Greg Couch Owned by: Tom Goddard
Priority: blocker Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

When opening 1tna, I get the following traceback:

Opened mmCIF data containing 1652 atoms and 1770 bonds
Error processing trigger "frame drawn"
Traceback (most recent call last):
File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\triggerset.py", line 114, in invoke
return self._func(self._name, data)
File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\filehistory.py", line 49, in <lambda>
t.add_handler('frame drawn', lambda *args, s=self: s.capture_thumbnails_cb())
File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\filehistory.py", line 61, in capture_thumbnails_cb
fs.capture_image(models, ses)
File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\filehistory.py", line 120, in capture_image
self.image = models_image(session, models, size)
File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\filehistory.py", line 166, in models_image
image.save(img_io, format=format)
AttributeError: 'NoneType' object has no attribute 'save'

Change History (2)

comment:1 by Tom Goddard, 9 years ago

Resolution: fixed
Status: newclosed

Fixed.

Initial display of 1tna.cif shows nothing and that caused trouble for the file history image thumbnail code.

comment:2 by Eric Pettersen, 8 years ago

Component: UnassignedInput/Output
Note: See TracTickets for help on using tickets.