Opened 4 years ago

Closed 4 years ago

#4776 closed defect (nonchimerax)

Cannot save image to public desktop

Reported by: joelcrane@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Input/Output Version:
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.19041
ChimeraX Version: 1.0rc202005150054 (2020-05-15 00:54:28 UTC)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
note | Updating list of available bundles failed: Internal Server Error  
  
UCSF ChimeraX version: 1.0rc202005150054 (2020-05-15)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open glucose oxidase

'glucose' has no suffix  

> help help:quickstart

> help help:quickstart

> open 3QVP

Summary of feedback from opening 3QVP fetched from pdb  
---  
notes | Fetching compressed mmCIF 3qvp from
http://files.rcsb.org/download/3qvp.cif  
Fetching CCD NAG from http://ligand-expo.rcsb.org/reports/N/NAG/NAG.cif  
Fetching CCD BMA from http://ligand-expo.rcsb.org/reports/B/BMA/BMA.cif  
Fetching CCD MAN from http://ligand-expo.rcsb.org/reports/M/MAN/MAN.cif  
Fetching CCD FAD from http://ligand-expo.rcsb.org/reports/F/FAD/FAD.cif  
Fetching CCD GOL from http://ligand-expo.rcsb.org/reports/G/GOL/GOL.cif  
Fetching CCD PEG from http://ligand-expo.rcsb.org/reports/P/PEG/PEG.cif  
Fetching CCD CL from http://ligand-expo.rcsb.org/reports/C/CL/CL.cif  
  
3qvp title:  
Crystal structure of glucose oxidase for space group C2221 at 1.2 A resolution
[more info...]  
  
Chain information for 3qvp #1  
---  
Chain | Description  
A | Glucose oxidase  
  
Non-standard residues in 3qvp #1  
---  
BMA — beta-D-mannopyranose  
CL — chloride ion  
FAD — flavin-adenine dinucleotide  
GOL — glycerol (glycerin; propane-1,2,3-triol)  
MAN — alpha-D-mannopyranose  
NAG — 2-acetamido-2-deoxy-beta-D-glucopyranose  
PEG — di(hydroxyethyl)ether  
  

> style stick

Changed 5918 atom styles  

> style ball

Changed 5918 atom styles  

> style ball

Changed 5918 atom styles  

> style ball

Changed 5918 atom styles  

> style ball

Changed 5918 atom styles  

> style ball

Changed 5918 atom styles  

> style stick

Changed 5918 atom styles  

> style sphere

Changed 5918 atom styles  

> style stick

Changed 5918 atom styles  

> hide cartoons

> hide cartoons

> show cartoons

> hide atoms

> show atoms

> style stick

Changed 5918 atom styles  

> color bychain

> color bychain

> color byhetero

> rainbow

> hbonds

4733 hydrogen bonds found  

> hbonds

4733 hydrogen bonds found  

> ~hbonds

> ~hbonds

> interfaces ~solvent

0 buried areas:  

> interfaces ~solvent

0 buried areas:  
Alignment identifier is 1.A  

> color bfactor

5918 atoms, 1889 residues, atom bfactor range 5.9 to 200  

> rainbow

> color bychain

> color byhetero

> nucleotides atoms

> style nucleic stick

Changed 0 atom styles  

> style ball

Changed 5918 atom styles  

> style sphere

Changed 5918 atom styles  

> style stick

Changed 5918 atom styles  

> style stick

Changed 5918 atom styles  

> nucleotides atoms

> style nucleic stick

Changed 0 atom styles  

> hide atoms

> mlp

Map values for surface "3qvp_A SES surface": minimum -29.53, mean -5.763,
maximum 22.22  

> rainbow

> color byhetero

> color byhetero

> hbonds

4733 hydrogen bonds found  

> interfaces ~solvent

0 buried areas:  

> set bgColor white

> set bgColor black

> show atoms

> nucleotides atoms

> style nucleic stick

Changed 0 atom styles  

> nucleotides fill

> style nucleic stick

Changed 0 atom styles  

> nucleotides slab

> style nucleic stick

Changed 0 atom styles  

> nucleotides tube/slab shape ellipsoid

> nucleotides tube/slab shape muffler

> nucleotides ladder

> nucleotides stubs

> nucleotides atoms

> style nucleic stick

Changed 0 atom styles  

> style stick

Changed 5918 atom styles  

> hide surfaces

> hbonds

4733 hydrogen bonds found  

> ~hbonds

> select C

2893 atoms, 2292 bonds, 1 model selected  

> select /A

5857 atoms, 4675 bonds, 1 model selected  

> Remove atoms

Unknown command: Remove atoms  

> style sel stick

Changed 5857 atom styles  

> show sel cartoons

> hide sel cartoons

> hide sel cartoons

> hide sel cartoons

> show sel cartoons

> hide sel atoms

> mlp sel

Map values for surface "3qvp_A SES surface": minimum -29.53, mean -5.763,
maximum 22.22  

> mlp sel

Map values for surface "3qvp_A SES surface": minimum -29.53, mean -5.763,
maximum 22.22  

> hide sel surfaces

> hide (#!1 & sel) target a

> hide (#!1 & sel) target a

> hide (#!1 & sel-residues & (protein|nucleic)) target a

> cartoon hide (#!1 & sel-residues)

> show (#!1 & sel-residues & backbone) target ab

> ui mousemode right "delete markers"

> ui mousemode right "resize markers"

> ui mousemode right "move markers"

> ui mousemode right "delete markers"

> volume hide

No volumes specified  

> nucleotides sel ladder

> nucleotides sel atoms

> style nucleic & sel stick

Changed 0 atom styles  

> nucleotides sel fill

> style nucleic & sel stick

Changed 0 atom styles  

> nucleotides sel slab

> style nucleic & sel stick

Changed 0 atom styles  

> style sel sphere

Changed 5857 atom styles  

> style sel sphere

Changed 5857 atom styles  

> style sel ball

Changed 5857 atom styles  

> style sel stick

Changed 5857 atom styles  

> rainbow sel

> rainbow sel

> color sel byhetero

> open 3qvp

3qvp title:  
Crystal structure of glucose oxidase for space group C2221 at 1.2 A resolution
[more info...]  
  
Chain information for 3qvp #2  
---  
Chain | Description  
A | Glucose oxidase  
  
Non-standard residues in 3qvp #2  
---  
BMA — beta-D-mannopyranose  
CL — chloride ion  
FAD — flavin-adenine dinucleotide  
GOL — glycerol (glycerin; propane-1,2,3-triol)  
MAN — alpha-D-mannopyranose  
NAG — 2-acetamido-2-deoxy-beta-D-glucopyranose  
PEG — di(hydroxyethyl)ether  
  

> show sel cartoons

> hide sel cartoons

> show sel cartoons

> show sel surfaces

> hide sel surfaces

> show sel atoms

> hide sel atoms

> color sel bychain

> color sel bychain

> color sel byhetero

> rainbow sel

> rainbow sel

> ui mousemode right select

> ui mousemode right select

> nucleotides sel ladder

> export

Unknown command: export  

> save "C:/Users/joelc/OneDrive/University/PhD/Peroxidase Activity/Glucose
> Oxidase.cxs"

> select clear

> select #1/A:437

10 atoms, 10 bonds, 1 model selected  

> select #1/A:437

10 atoms, 10 bonds, 1 model selected  

> select clear

> select #1/A:450

12 atoms, 12 bonds, 1 model selected  

> save C:\Users\Public\Desktop\image1.png supersample 3

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\toolbar\tool.py", line 162, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 453, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1660, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\\__init__.py", line 52, in run_provider  
shortcuts.run_provider(session, name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1212, in run_provider  
keyboard_shortcuts(session).try_shortcut(name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 375, in try_shortcut  
self.run_shortcut(keys)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 393, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 312, in run  
f(s)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1140, in save_image  
run(session, cmd)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 479, in run  
run_command(session, command, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\run.py", line 31, in run  
results = command.run(text, log=log)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\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 "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\PIL\Image.py", line 2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\PIL\Image.py", line 2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> save C:\Users\Public\Desktop\image1.png supersample 3

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\toolbar\tool.py", line 162, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 453, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1660, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\\__init__.py", line 52, in run_provider  
shortcuts.run_provider(session, name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1212, in run_provider  
keyboard_shortcuts(session).try_shortcut(name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 375, in try_shortcut  
self.run_shortcut(keys)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 393, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 312, in run  
f(s)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1140, in save_image  
run(session, cmd)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 479, in run  
run_command(session, command, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\run.py", line 31, in run  
results = command.run(text, log=log)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\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 "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\PIL\Image.py", line 2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\PIL\Image.py", line 2131, in save  
fp = builtins.open(filename, "w+b")  
  
See log for complete Python traceback.  
  

> save "C:/Users/joelc/OneDrive/University/PhD/Peroxidase Activity/Glucose
> Oxidase.cxs"

> save C:\Users\Public\Desktop\image1.png supersample 3

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\toolbar\tool.py", line 162, in callback  
bundle_info.run_provider(session, name, session.toolbar,
display_name=display_name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 453, in run_provider  
return api._api_caller.run_provider(api, session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1660, in run_provider  
return cls._get_func(api, "run_provider")(session, name, mgr, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\\__init__.py", line 52, in run_provider  
shortcuts.run_provider(session, name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1212, in run_provider  
keyboard_shortcuts(session).try_shortcut(name)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 375, in try_shortcut  
self.run_shortcut(keys)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 393, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 312, in run  
f(s)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 1140, in save_image  
run(session, cmd)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 479, in run  
run_command(session, command, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\run.py", line 31, in run  
results = command.run(text, log=log)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\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 "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2849, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\save_command\cmd.py", line 79, in provider_save  
mgr).save(session, path, **provider_kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\\__init__.py", line 24, in save  
save_image(session, path, format_name, **kw)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\chimerax\image_formats\save.py", line 115, in save_image  
i.save(path, format_name, **metadata)  
File "C:\Program Files\ChimeraX 1.0rc202005150054\bin\lib\site-
packages\PIL\Image.py", line 2131, in save  
fp = builtins.open(filename, "w+b")  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Public\\\Desktop\\\image1.png'  
  
File "C:\Program Files\ChimeraX 1.0rc202005150054\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 - Build 24.20.100.6299
OpenGL renderer: Intel(R) HD Graphics 515
OpenGL vendor: Intel
Manufacturer: Microsoft Corporation
Model: Surface Pro 4
OS: Microsoft Windows 10 Pro (Build 19042)
Memory: 4,212,486,144
MaxProcessMemory: 137,438,953,344
CPU: 4 Intel(R) Core(TM) m3-6Y30 CPU @ 0.90GHz"
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, 4 years ago

Component: UnassignedInput/Output
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionCannot save image to public desktop

comment:2 by Tom Goddard, 4 years ago

Resolution: nonchimerax
Status: assignedclosed

You used the Snapshot toolbar icon which saves an image to the desktop

save C:\Users\Public\Desktop\image1.png supersample 3

PermissionError: [Errno 13] Permission denied:

I am guessing that OneDrive has replaced your Windows Desktop with the Public desktop and that is why you don't have permission to write to it as described here, in Martin Weingartner's reply

https://answers.microsoft.com/en-us/windows/forum/windows_10-start-winpc/public-desktop-showing-instead-of-user-desktop/cc7eba78-3563-444c-8cc6-77153b8e4b48

Also you are using an older ChimeraX and the current version clearly reports the simpler error message that you don't have permission to write to the Public desktop.

Note: See TracTickets for help on using tickets.