Opened 7 years ago
Closed 6 years ago
#1844 closed defect (fixed)
Toolshed cache KeyError crashes startup from app icon
Reported by: | Owned by: | Conrad Huang | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Tool Shed | Version: | |
Keywords: | Cc: | Tristan Croll | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Hello, The program has been working without a hitch for some time, but now crashes immediately after startup. To my knowledge I haven't changed made any changes to the program itself that would cause a problem. A uninstall/reinstall of the stable 0.8 build hasn't fixed the issue, and I'm currently running MacOS 10.13.6 on my system. Any help would be appreciated. Best, Nick -- Nicholas Forino Graduate Student Stone Research Group Molecular, Cellular, and Developmental Biology University of California Santa Cruz
Change History (6)
comment:1 by , 7 years ago
Cc: | added |
---|---|
Component: | Unassigned → Platform |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → accepted |
comment:2 by , 7 years ago
Status: | accepted → feedback |
---|
follow-up: 3 comment:3 by , 7 years ago
Hi everyone, Thanks for the speedy and helpful reply. The aforementioned code successfully launched the program, albeit a few errors got thrown in the terminal, here they are: Nicholass-MacBook-Pro-7:ChimeraX.app Nick$ Contents/MacOS/ChimeraX NOTE: Traceback (most recent call last): File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site- packages/chimerax/core/toolshed/__init__.py", line 338, in __init__ self.init_available_from_cache(logger) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site- packages/chimerax/core/toolshed/__init__.py", line 445, in init_available_from_cache abc.load_from_cache() File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site- packages/chimerax/core/toolshed/available.py", line 61, in load_from_cache b = _build_bundle(d) File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site- packages/chimerax/core/toolshed/available.py", line 98, in _build_bundle bundle_d = d["bundle"][bundle_name] KeyError: 'ChimeraX_Clipper' BUG: Error preloading available bundles: KeyError: 'ChimeraX_Clipper' File "/Applications/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site- packages/chimerax/core/toolshed/available.py", line 98, in _build_bundle bundle_d = d["bundle"][bundle_name] _See log for complete Python traceback._ Thanks again for the help, I'll get in touch if I notice any more problems now that the program is working through this method. Nick On Fri, Apr 12, 2019 at 11:42 AM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> wrote:
comment:4 by , 7 years ago
Cc: | added; removed |
---|---|
Component: | Platform → Tool Shed |
Status: | feedback → accepted |
Summary: | Chimera X crashes on startup → Toolshed cache KeyError crashes startup from app icon |
comment:5 by , 7 years ago
Cc: | removed |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
comment:6 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Toolshed now catches KeyErrors when loading available bundles from cache and just ignores those entries.
Note:
See TracTickets
for help on using tickets.
Hi Nick,
1) Open Terminal.app in /Applications/Utilities
2) Type "cd " (note the space) and then drag and drop the ChimeraX app from a Finder window onto the terminal window, then hit Return
3) Type "Contents/MacOS/ChimeraX" and hit Return; ChimeraX will (try to) start
Let me know of any output you get in the Terminal window after launching ChimeraX
--Eric