Opened 9 years ago
Closed 9 years ago
#556 closed defect (duplicate)
Re: Unable to save figure
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Input/Output | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
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"* >
Change History (1)
comment:1 by , 9 years ago
| Component: | Unassigned → Input/Output |
|---|---|
| Platform: | → all |
| Project: | → ChimeraX |
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Yes, that is indeed the problem, so you could fix it yourself. I fixed a few minutes ago but the mail notifying you of that didn't work for some reason ("connection closed"). I'm hoping this one works!
--Eric