Opened 5 years ago

Closed 5 years ago

#3931 closed defect (duplicate)

Permission denied saving image

Reported by: chimerax-bug-report@… Owned by: Eric Pettersen
Priority: normal Milestone:
Component: Input/Output Version: 1.0
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open "E:\\\GHSR data collection\\\18_chiemrax_real_space_refined.pdb"

Summary of feedback from opening E:\\\GHSR data
collection\\\18_chiemrax_real_space_refined.pdb  
---  
warnings | Ignored bad PDB record found on line 2040  
TER  
  
Ignored bad PDB record found on line 4641  
TER  
  
Ignored bad PDB record found on line 6419  
TER  
  
Ignored bad PDB record found on line 6856  
TER  
  
Ignored bad PDB record found on line 7830  
TER  
  
2 messages similar to the above omitted  
  
Chain information for 18_chiemrax_real_space_refined.pdb #1  
---  
Chain | Description  
A | No description available  
B | No description available  
E | No description available  
G | No description available  
N | No description available  
R | No description available  
  

> show atoms

> show cartoons

> hide atoms

> set bgColor white

> select ::name="LIG"

64 atoms, 69 bonds, 1 model selected  

> style sel stick

Changed 64 atom styles  

> show sel atoms

> select clear

> select /R:132

8 atoms, 7 bonds, 1 model selected  

> select up

268 atoms, 272 bonds, 1 model selected  

> select up

2255 atoms, 2317 bonds, 1 model selected  

> select ~sel

7732 atoms, 7886 bonds, 6 pseudobonds, 2 models selected  

> hide sel cartoons

> select clear

> mlp

Map values for surface "18_chiemrax_real_space_refined.pdb_A SES surface":
minimum -31.16, mean -4.917, maximum 23.79  
Map values for surface "18_chiemrax_real_space_refined.pdb_B SES surface":
minimum -29.75, mean -5.872, maximum 23.75  
Map values for surface "18_chiemrax_real_space_refined.pdb_E SES surface":
minimum -27.65, mean -6.293, maximum 24.65  
Map values for surface "18_chiemrax_real_space_refined.pdb_G SES surface":
minimum -26.12, mean -3.125, maximum 21.97  
Map values for surface "18_chiemrax_real_space_refined.pdb_N SES surface":
minimum -28.02, mean -6.773, maximum 22.15  
Map values for surface "18_chiemrax_real_space_refined.pdb_R SES surface":
minimum -25.09, mean 0.9793, maximum 24.18  

> surface zone #1 nearAtoms :LIG distance 8 maxComponents 1

> surface zone #1 nearAtoms :LIG distance 8 maxComponents 10

> surface zone #1 nearAtoms :LIG distance 3 maxComponents 10

> surface zone #1 nearAtoms :LIG distance 3 maxComponents 100

> surface zone #1 nearAtoms :LIG distance 8 maxComponents 100

> surface zone #1 nearAtoms :LIG distance 20 maxComponents 100

> surface zone #1 nearAtoms :LIG distance 50 maxComponents 100

> surface zone #1 nearAtoms :LIG distance 50 maxComponents 10

> ui tool show "Side View"

> color #1.7.1 black

> select clear

> save finalreceptor.tif width 1000 height 1000 supersample 4
> transparentBackground true

Traceback (most recent call last):  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute  
cmd.run(cmd_text)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 66, in cmd_save  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied: 'finalreceptor.tif'  
  
PermissionError: [Errno 13] Permission denied: 'finalreceptor.tif'  
  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> select up

2 atoms, 1 bond, 1 model selected  

> select up

64 atoms, 69 bonds, 1 model selected  

> hide #* target a

> show sel target ab

> select ~sel

9923 atoms, 10134 bonds, 8 pseudobonds, 3 models selected  

> surface hidePatches (#!1 & sel)

> cartoon hide (#!1 & sel)

> select up

2 atoms, 1 bond, 1 model selected  

> select up

64 atoms, 69 bonds, 1 model selected  

> color sel lime

> color sel byhetero

> select clear

> save finalGHRP6.tif width 1000 height 1000 supersample 4
> transparentBackground true

Traceback (most recent call last):  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute  
cmd.run(cmd_text)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 66, in cmd_save  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied: 'finalGHRP6.tif'  
  
PermissionError: [Errno 13] Permission denied: 'finalGHRP6.tif'  
  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> save finalGHRP6.tif width 1000 height 1000 supersample 4
> transparentBackground true

Traceback (most recent call last):  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute  
cmd.run(cmd_text)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 66, in cmd_save  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied: 'finalGHRP6.tif'  
  
PermissionError: [Errno 13] Permission denied: 'finalGHRP6.tif'  
  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> save 1.tif width 1000 height 1000 supersample 4 transparentBackground true

Traceback (most recent call last):  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute  
cmd.run(cmd_text)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 66, in cmd_save  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied: '1.tif'  
  
PermissionError: [Errno 13] Permission denied: '1.tif'  
  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> save 1.tif width 2000 height 2000 supersample 4 transparentBackground true

Traceback (most recent call last):  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 258, in execute  
cmd.run(cmd_text)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 66, in cmd_save  
Command(session, registry=registry).run(provider_cmd_text, log=log)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2805, in run  
result = ci.function(session, **kw_args)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied: '1.tif'  
  
PermissionError: [Errno 13] Permission denied: '1.tif'  
  
File "D:\chimera X\ChimeraX 1.0\bin\lib\site-packages\PIL\Image.py", line
2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 442.74
OpenGL renderer: GeForce GTX 1650 SUPER/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: IPASON
Model:  
OS: Microsoft Windows 10 家庭中文版 (Build 18363)
Memory: 17,130,639,360
MaxProcessMemory: 137,438,953,344
CPU: 6 AMD Ryzen 5 3500X 6-Core Processor             "
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Component: UnassignedInput/Output
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionPermission denied saving image
Version: 1.0

comment:2 by Eric Pettersen, 5 years ago

Resolution: duplicate
Status: acceptedclosed
Note: See TracTickets for help on using tickets.