Opened 7 years ago
Closed 6 years ago
#1142 closed defect (not a bug)
after isolde install
Reported by: | Owned by: | Conrad Huang | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Tool Shed | Version: | |
Keywords: | Cc: | Tristan Croll | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool ISOLDE in bundle ChimeraX-ISOLDE: [Errno 13] Permission denied: '/home/xray/Chimera/chimerax/lib/python3.6/site-packages/chimerax/isolde/validation/molprobity_data/rama8000-cispro.pickle' File "/home/xray/Chimera/chimerax/lib/python3.6/site-packages/chimerax/core/toolshed/info.py", line 491, in start_tool "start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name, str(e))) Linux owsley 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15 18:22:15 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux P5000, 390.48 Nvidia driver, Gnome desktop How do I get rid of this permission error? thanks kas Kenneth A. Satyshur, M.S., Ph.D. Senior Scientist, Depts. Bacteriology, Bio Molecular Chemistry, Neuroscience, Oncology, Carbone Cancer Center, and the School of Pharmacy University of Wisconsin-Madison Madison, Wisconsin, 53706 608-215-5207
Change History (6)
comment:1 by , 7 years ago
Cc: | added |
---|---|
Component: | Unassigned → Tool Shed |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
comment:3 by , 7 years ago
Hi Tristan,
chimerax.appdirs is an AppDirs instance (as per https://github.com/ActiveState/appdirs). So if what you're saving is truly a cache, then putting it in the chimerax.appdirs.user_cache_dir folder should work regardless of how ChimeraX was installed. Probably would want to have "isolde" somewhere in the name of the cache file to avoid conflicts with other tools.
--Eric
follow-up: 4 comment:4 by , 7 years ago
The files in question are the MolProbity rotamer/Ramachandran contours. I distribute them in their default text format, then pickle the processed data on first run for fast loading thereafter. Tristan Croll Research Fellow Cambridge Institute for Medical Research University of Cambridge CB2 0XY
comment:5 by , 7 years ago
I guess you might want to use user_data_dir for that. user_cache_dir will be cleared on reboot on a Mac, and probably similarly on other platforms (maybe logout, maybe never, dunno!).
--Eric
comment:6 by , 6 years ago
Resolution: | → not a bug |
---|---|
Status: | assigned → closed |
Eric's suggestion is correct.