Opened 5 years ago

Closed 5 years ago

#3614 closed defect (can't reproduce)

Can't rewrite settings

Reported by: Tristan Croll Owned by: Eric Pettersen
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-3.10.0-1127.13.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
No idea what triggered this. Just turned up in a ChimeraX window that was sitting ignored.

Log:
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/safesave.py", line 97, in __exit__  
os.replace(self._tmp_filename, self.name)  
FileNotFoundError: [Errno 2] No such file or directory:
'/home/tic20/.config/ChimeraX/ui-1.tmp' -> '/home/tic20/.config/ChimeraX/ui-1'  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/ui/gui.py", line
722, in resizeEvent  
self.session.ui.settings.last_window_size = wh  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/settings.py", line 190, in __setattr__  
ConfigFile.__setattr__(self, name, value)  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/configfile.py", line 365, in __setattr__  
ConfigFile.save(self)  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/configfile.py", line 315, in save  
self._config.write(f)  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/safesave.py", line 109, in __exit__  
os.remove(self._tmp_filename)  
FileNotFoundError: [Errno 2] No such file or directory:
'/home/tic20/.config/ChimeraX/ui-1.tmp'  
  
FileNotFoundError: [Errno 2] No such file or directory:
'/home/tic20/.config/ChimeraX/ui-1.tmp'  
  
File "/opt/UCSF/ChimeraX/lib/python3.7/site-
packages/chimerax/core/safesave.py", line 109, in __exit__  
os.remove(self._tmp_filename)  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 NVIDIA 450.51.05
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
Manufacturer: Dell Inc.
Model: Precision T5600
OS: CentOS Linux 7 Core
Architecture: 64bit ELF
CPU: 32 Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz
Cache Size: 20480 KB
Memory:
	              total        used        free      shared  buff/cache   available
	Mem:            62G        4.6G         46G        104M         11G         57G
	Swap:          4.9G          0B        4.9G

Graphics:
	03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [TITAN Xp] [10de:1b02] (rev a1)	
	Subsystem: NVIDIA Corporation Device [10de:11df]	
	Kernel driver in use: nvidia
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

Change History (2)

comment:1 by Eric Pettersen, 5 years ago

Cc: Greg Couch added
Component: UnassignedCore
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionCan't rewrite settings

This is the UI making note of the new window size after a resize (so that it can start up at that size next time). I have no idea why it would occur in an unused window, nor why the temporary file would disappear.

comment:2 by Eric Pettersen, 5 years ago

Resolution: can't reproduce
Status: acceptedclosed
Note: See TracTickets for help on using tickets.