Opened 5 years ago

Last modified 5 years ago

#3442 assigned defect

Permission denied updating config files on Windows

Reported by: bandresen@… Owned by: Greg Couch
Priority: major Milestone:
Component: Input/Output Version:
Keywords: Cc: chimera-programmers
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
The error occured when loading the program, but I do not have ChemOffice.

Log:
Startup Messages  
---  
note | available bundle cache has not been initialized yet  
  
Traceback (most recent call last):  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 531, in start_tool  
ti = api._api_caller.start_tool(api, session, self, tool_info)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1587, in start_tool  
return cls._get_func(api, "start_tool")(session, ti.name)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\model_panel\\__init__.py", line 21, in start_tool  
return model_panel(session, tool_name)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 345, in model_panel  
_mp = ModelPanel(session, tool_name)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 29, in __init__  
now = self.settings.last_use = time()  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\settings.py", line 190, in __setattr__  
ConfigFile.__setattr__(self, name, value)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\configfile.py", line 365, in __setattr__  
ConfigFile.save(self)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\configfile.py", line 314, in save  
with SaveTextFile(self._filename) as f:  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\safesave.py", line 173, in __init__  
SaveFile.__init__(self, filename, open=open_text, critical=critical)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\safesave.py", line 73, in __init__  
self._f = open(self._tmp_filename)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\safesave.py", line 172, in open_text  
return open(filename, 'w', newline=newline, encoding=encoding)  
PermissionError: [Errno 13] Permission denied:
'C:\\\Users\\\Bradley\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp'  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\tools.py", line 379, in start_tools  
bi.start_tool(session, tool_name)  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 537, in start_tool  
"start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name,
str(e)))  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Model Panel
in bundle ChimeraX-ModelPanel:  
[Errno 13] Permission denied:
'C:\\\Users\\\Bradley\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp'  
  
Tool "Model Panel" failed to start:  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Model Panel
in bundle ChimeraX-ModelPanel:  
[Errno 13] Permission denied:
'C:\\\Users\\\Bradley\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp'  
  
File "F:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 537, in start_tool  
"start_tool() failed for tool %s in bundle %s:\n%s" % (tool_name, self.name,
str(e)))  
  
See log for complete Python traceback.  
  
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 3.3.0 NVIDIA 432.00
OpenGL renderer: GeForce GTX 1080/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: ASUS
Model: All Series
OS: Microsoft Windows 10 Home (Build 18362)
Memory: 17,114,275,840
MaxProcessMemory: 137,438,953,344
CPU: 8 Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz"
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (3)

comment:1 by pett, 5 years ago

Cc: chimera-programmers added
Component: UnassignedInput/Output
Owner: set to Greg Couch
Platform: all
Priority: normalmajor
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionPermission denied updating config files on Windows

Seemingly very similar to #3434

Reported by Bradley Andresen

comment:2 by Greg Couch, 5 years ago

Does this happen ever time?

comment:3 by Greg Couch, 5 years ago

(every time)

Note: See TracTickets for help on using tickets.