﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
2615	Save image:  width/height and/or max_size is None	Conrad Huang	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.91 (2019-11-25)
Description
open 3fx2
save test_image.png

Log:
UCSF ChimeraX version: 0.91 (2019-11-25)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 3fx2 format mmCIF fromDatabase pdb

3fx2 title:  
Comparison of the crystal structures of A flavodoxin In its three oxidation
states At cryogenic temperatures [more info...]  
  
Chain information for 3fx2 #1  
---  
Chain | Description  
A | flavodoxin  
  
Non-standard residues in 3fx2 #1  
---  
FMN — flavin mononucleotide (riboflavin monophosphate)  
  
  

> save test_image.png

Traceback (most recent call last):  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\cmd_line\tool.py"", line 258, in execute  
cmd.run(cmd_text)  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\commands\cli.py"", line 2837, in run  
result = ci.function(session, **kw_args)  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\commands\save.py"", line 64, in save  
_handle_unexpected_keyword_error(e, 5)  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-
packages\chimerax\core\commands\save.py"", line 61, in save  
fmt.export(session, filename, fmt.nicknames[0], **kw)  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\io.py"",
line 220, in export  
result = self.export_func(session, path, **kw)  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\image.py"",
line 151, in save_image  
if max_size and (width > max_size or height > max_size):  
TypeError: '<' not supported between instances of 'int' and 'NoneType'  
  
TypeError: '  
File ""D:\chimerax\ChimeraX.app\bin\lib\site-packages\chimerax\core\image.py"",
line 151, in save_image  
if max_size and (width > max_size or height > max_size):  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 - Build 25.20.100.6519
OpenGL renderer: Intel(R) HD Graphics 530
OpenGL vendor: Intel

}}}
"	defect	closed	normal		Input/Output		fixed						all	ChimeraX
