Opened 5 years ago

Closed 5 years ago

#3933 closed defect (can't reproduce)

Cannot save command history

Reported by: chimerax-bug-report@… Owned by: Eric Pettersen
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: 0.94 (2020-04-25)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.94.dev202004250217 (2020-04-25)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open C:\\\Users\\\tvxqf\\\Downloads\\\6mh2.pdb

Traceback (most recent call last):  
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\\\tvxqf\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\commands.tmp' ->
'C:\\\Users\\\tvxqf\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\commands'  
  
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\triggerset.py", line 130, in invoke  
return self._func(self._name, data)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 286, in _command_started_cb  
typed=self._just_typed_command is not None)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 380, in add  
self._history.enqueue((item, typed))  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\history.py", line 171, in enqueue  
self.save()  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\history.py", line 201, in save  
self._history.save(self._queue)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\history.py", line 109, in save  
json.dump(obj, f, ensure_ascii=False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\safesave.py", line 98, in __exit__  
os.remove(self._tmp_filename)  
FileNotFoundError: [WinError 2] The system cannot find the file specified:
'C:\\\Users\\\tvxqf\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\commands.tmp'  
  
Error processing trigger "command started":  
FileNotFoundError: [WinError 2] The system cannot find the file specified:
'C:\\\Users\\\tvxqf\\\AppData\\\Local\\\UCSF\\\ChimeraX\\\commands.tmp'  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\safesave.py", line 98, in __exit__  
os.remove(self._tmp_filename)  
  
See log for complete Python traceback.  
  
6mh2.pdb title:  
Structure of herceptin fab without antigen [more info...]  
  
Chain information for 6mh2.pdb #1  
---  
Chain | Description  
A C | herceptin fab arm light chain  
B D | herceptin fab arm heavy chain  
  




OpenGL version: 3.3.0 - Build 25.20.100.6577
OpenGL renderer: Intel(R) UHD Graphics 620
OpenGL vendor: Intel
Manufacturer: LG Electronics                  
Model: 15Z990-VA50K
OS: Microsoft Windows 10 Home (Build 18363)
Memory: 8,373,960,704
MaxProcessMemory: 137,438,953,344
CPU: 8 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz"

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Component: UnassignedInput/Output
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionCannot save command history

comment:2 by Eric Pettersen, 5 years ago

Resolution: can't reproduce
Status: acceptedclosed

*Might* have been fixed by embedding PID into temp file name.

Note: See TracTickets for help on using tickets.