﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
556	Re: Unable to save figure	mauriciomr1985@…		"{{{
Hi,

My student just found the possible bug. In the line 247 of save_dialog.py
is lacking the import of ""quote_of_necessary"" function.

Previous: from ..commands import run
Corrected: from ..commands import run, quote_if_necessary



Maurício Menegatti Rigo, *Ph.D.*
Laboratório de Imunologia Celular e Molecular
Instituto de Pesquisas Biomédicas - IPB
Pontifícia Universidade Católica do Rio Grande do Sul (PUCRS)
Porto Alegre, RS, Brasil
Tel: +55 51 3320-3000 (Ramal 6037)
Cel: +55 51 8180-4574
http://lattes.cnpq.br/4948877541502725

*""Fire and Blood""*

2017-02-16 14:22 GMT-02:00 Maurício Menegatti Rigo <mauriciomr1985@gmail.com
>:

> Hi,
>
> I downloaded ChimeraX for Windows (Windows 10). After make a figure I
> tried to save it. In the dialog box I set the name (Figure.tiff), choose
> ""Image file"" - ""Format: tiff"" - ""Size 1920 and 1080"" - ""Supersample:
> none"".  However, I'm getting the following error:
>
> NameError: name ""quote_if_necessary"" is not defined.
>
> File ""C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\ui\save_dialog.py"",
> line 248, in save
> cmd = ""save image %s width %g height %g"" % (quote_if_necessary(filename),
> w, h)
> See log for Python traceback.
>
>
> My figure has several elements (surface, transparency, different lighting
> patterns, a membrane and several proteins).
>
> Can someone help me?
>
> Thanks in advance,
> Maurício Menegatti Rigo, *Ph.D.*
> Laboratório de Imunologia Celular e Molecular
> Instituto de Pesquisas Biomédicas - IPB
> Pontifícia Universidade Católica do Rio Grande do Sul (PUCRS)
> Porto Alegre, RS, Brasil
> Tel: +55 51 3320-3000 <+55%2051%203320-3000> (Ramal 6037)
> Cel: +55 51 8180-4574 <+55%2051%208180-4574>
> http://lattes.cnpq.br/4948877541502725
>
> *""Fire and Blood""*
>

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