Opened 5 years ago
Closed 5 years ago
#4336 closed defect (duplicate)
Listing desktop to save image: Operation not permitted
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Platform | Version: | |
Keywords: | Cc: | pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-19.6.0-x86_64-i386-64bit ChimeraX Version: 0.92 (2020-02-01) 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: 0.92 (2020-02-01) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open > /Users/purbashanandi/Downloads/cryosparc_P31_J123_005_volume_map_sharp.mrc Opened cryosparc_P31_J123_005_volume_map_sharp.mrc, grid size 240,240,240, pixel 1.3, shown at level 0.211, step 1, values float32 > set bgColor white > open "/Users/purbashanandi/Dropbox (ASU)/Paper > p97-p47/linkermutant_030821/cryosparc_P31_J189_class_00_final_volume.mrc" Opened cryosparc_P31_J189_class_00_final_volume.mrc, grid size 192,192,192, pixel 1.95, shown at level 0.153, step 1, values float32 > hide #!1 models > volume #2 level 0.231 > volume #2 level 0.171 > volume #2 level 0.2035 > volume #2 level 0.1885 > lighting simple > lighting soft > lighting full > volume #2 level 0.1935 > lighting full Traceback (most recent call last): File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/toolbar/tool.py", line 162, in callback bundle_info.run_provider(session, name, session.toolbar, display_name=display_name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/info.py", line 453, in run_provider return api._api_caller.run_provider(api, session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/__init__.py", line 1632, in run_provider return cls._get_func(api, "run_provider")(session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/__init__.py", line 52, in run_provider shortcuts.run_provider(session, name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1147, in run_provider keyboard_shortcuts(session).try_shortcut(name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 373, in try_shortcut self.run_shortcut(keys) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 391, in run_shortcut sc.run(self.session, status = self._enabled) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 310, in run f(s) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1073, in save_image path = unused_file_name(directory, basename, suffix) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) See log for complete Python traceback. Traceback (most recent call last): File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/toolbar/tool.py", line 162, in callback bundle_info.run_provider(session, name, session.toolbar, display_name=display_name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/info.py", line 453, in run_provider return api._api_caller.run_provider(api, session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/__init__.py", line 1632, in run_provider return cls._get_func(api, "run_provider")(session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/__init__.py", line 52, in run_provider shortcuts.run_provider(session, name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1147, in run_provider keyboard_shortcuts(session).try_shortcut(name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 373, in try_shortcut self.run_shortcut(keys) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 391, in run_shortcut sc.run(self.session, status = self._enabled) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 310, in run f(s) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1073, in save_image path = unused_file_name(directory, basename, suffix) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) See log for complete Python traceback. > volume #2 level 0.221 Traceback (most recent call last): File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/toolbar/tool.py", line 162, in callback bundle_info.run_provider(session, name, session.toolbar, display_name=display_name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/info.py", line 453, in run_provider return api._api_caller.run_provider(api, session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/toolshed/__init__.py", line 1632, in run_provider return cls._get_func(api, "run_provider")(session, name, mgr, **kw) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/__init__.py", line 52, in run_provider shortcuts.run_provider(session, name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1147, in run_provider keyboard_shortcuts(session).try_shortcut(name) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 373, in try_shortcut self.run_shortcut(keys) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 391, in run_shortcut sc.run(self.session, status = self._enabled) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 310, in run f(s) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1073, in save_image path = unused_file_name(directory, basename, suffix) File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' PermissionError: [Errno 1] Operation not permitted: '/Users/purbashanandi/Desktop' File "/Volumes/ChimeraXInstaller/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/shortcuts/shortcuts.py", line 1093, in unused_file_name files = listdir(dir) See log for complete Python traceback. OpenGL version: 4.1 ATI-3.10.16 OpenGL renderer: AMD Radeon Pro 555 OpenGL Engine OpenGL vendor: ATI Technologies Inc.
Change History (3)
comment:1 by , 5 years ago
Cc: | added |
---|---|
Component: | Unassigned → Platform |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Listing desktop to save image: Operation not permitted |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Already have a user friendly error message being generated. This report uses old ChimeraX 0.92.
Note:
See TracTickets
for help on using tickets.
User denied ChimeraX permission to write to the desktop then tried to use the Snapshot toolbar icon which writes the image to the desktop. I should put in a user-friendly warning that the Desktop cannot be accessed. And if on Mac say in the warning how to give access in System Preferences.