Opened 4 years ago

Closed 4 years ago

#5325 closed defect (duplicate)

Can't save settings file (in use by another process)

Reported by: chimerax-bug-report@… Owned by: pett
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: 0.92 (2020-03-08)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Messages  
---  
note | Updating list of available bundles failed: Internal Server Error  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 621, in start_tool  
ti = api._api_caller.start_tool(api, session, self, tool_info)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\\__init__.py", line 1612, in start_tool  
return cls._get_func(api, "start_tool")(session, ti.name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\\__init__.py", line 21, in start_tool  
return model_panel(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 345, in model_panel  
_mp = ModelPanel(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\model_panel\tool.py", line 29, in __init__  
now = self.settings.last_use = time()  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\settings.py", line 190, in __setattr__  
ConfigFile.__setattr__(self, name, value)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\configfile.py", line 365, in __setattr__  
ConfigFile.save(self)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\configfile.py", line 315, in save  
self._config.write(f)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\safesave.py", line 96, in __exit__  
os.replace(self._tmp_filename, self.name)  
PermissionError: [WinError 32] The process cannot access the file because it
is being used by another process:
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' ->
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1'  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\core\tools.py",
line 426, in start_tools  
bi.start_tool(session, tool_name)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 627, 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:  
[WinError 32] The process cannot access the file because it is being used by
another process:
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' ->
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1'  
  
Tool "Model Panel" failed to start:  
chimerax.core.toolshed.ToolshedError: start_tool() failed for tool Model Panel
in bundle ChimeraX-ModelPanel:  
[WinError 32] The process cannot access the file because it is being used by
another process:
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' ->
'C:\\\Users\\\Eric\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\toolshed\info.py", line 627, 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: 0.92 (2020-03-08)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




OpenGL version: 3.3.0 - Build 10.18.10.5069
OpenGL renderer: Intel(R) HD Graphics 2500
OpenGL vendor: Intel

Change History (2)

comment:1 by pett, 4 years ago

Component: UnassignedInput/Output
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionCan't save settings file (in use by another process)

comment:2 by pett, 4 years ago

Resolution: duplicate
Status: acceptedclosed

dup of #3187

Note: See TracTickets for help on using tickets.