Opened 7 years ago
Closed 7 years ago
#1536 closed defect (fixed)
Saving prefs: unhashable type: 'weakproxy'
Reported by: | Greg Couch | Owned by: | pett |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | 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.17763 ChimeraX Version: 0.8 (2018-12-14) Description In a current build, added commands in the Settings / Startup tab, then clicked the Save button. Log: UCSF ChimeraX version: 0.8 (2018-12-14) How to cite UCSF ChimeraX Traceback (most recent call last): File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site- packages\chimerax\ui\options\containers.py", line 219, in _save save_info.setdefault(opt.settings, []).append(opt.attr_name) TypeError: unhashable type: 'weakproxy' TypeError: unhashable type: 'weakproxy' File "C:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\lib\site- packages\chimerax\ui\options\containers.py", line 219, in _save save_info.setdefault(opt.settings, []).append(opt.attr_name) See log for complete Python traceback. OpenGL version: 3.3.0 NVIDIA 416.34 OpenGL renderer: GeForce GTX 970/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation
Change History (2)
comment:1 by , 7 years ago
Component: | Unassigned → Core |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
Summary: | ChimeraX bug report submission → Saving prefs: unhashable type: 'weakproxy' |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Using a proxy for settings object is problematic because it is unhashable; use strong ref for now