Opened 5 years ago
Closed 5 years ago
#3205 closed defect (fixed)
Can't save settings file (in use by another process)
Reported by: | 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.18362 ChimeraX Version: 1.0rc202005130635 (2020-05-13 06:35:59 UTC) Description Model panel failed to start at first use. Log: Startup Messages --- note | available bundle cache has not been initialized yet Traceback (most recent call last): File "C:\Program Files\ChimeraX 1.0rc202005130635\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\\\stephen.thong\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' -> 'C:\\\Users\\\stephen.thong\\\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 1.0rc202005130635\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 1.0rc202005130635\bin\lib\site- packages\chimerax\core\toolshed\\__init__.py", line 1640, in start_tool return cls._get_func(api, "start_tool")(session, ti.name) File "C:\Program Files\ChimeraX 1.0rc202005130635\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 1.0rc202005130635\bin\lib\site- packages\chimerax\model_panel\tool.py", line 345, in model_panel _mp = ModelPanel(session, tool_name) File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\model_panel\tool.py", line 29, in __init__ now = self.settings.last_use = time() File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\core\settings.py", line 190, in __setattr__ ConfigFile.__setattr__(self, name, value) File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\core\configfile.py", line 365, in __setattr__ ConfigFile.save(self) File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\core\configfile.py", line 315, in save self._config.write(f) File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\core\safesave.py", line 98, in __exit__ os.remove(self._tmp_filename) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\\Users\\\stephen.thong\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Program Files\ChimeraX 1.0rc202005130635\bin\lib\site- packages\chimerax\core\tools.py", line 379, in start_tools bi.start_tool(session, tool_name) File "C:\Program Files\ChimeraX 1.0rc202005130635\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\\\stephen.thong\\\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: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\\Users\\\stephen.thong\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\ModelPanel-1.tmp' File "C:\Program Files\ChimeraX 1.0rc202005130635\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: 1.0rc202005130635 (2020-05-13) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX OpenGL version: 3.3.0 - Build 25.20.100.6472 OpenGL renderer: Intel(R) UHD Graphics 620 OpenGL vendor: Intel Manufacturer: Microsoft Corporation Model: Surface Book 2 OS: Microsoft Windows 10 Enterprise (Build 18363) Memory: 17,101,139,968 MaxProcessMemory: 137,438,953,344 CPU: 8 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz" PyQt version: 5.12.3 Compiled Qt version: 5.12.4 Runtime Qt version: 5.12.8
Change History (2)
comment:1 by , 5 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
Summary: | ChimeraX bug report submission → Can't save settings file (in use by another process) |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Hi Stephen,
--Eric