Opened 7 years ago

Closed 7 years ago

#1628 closed defect (fixed)

ChimeraX fails to start after failed bundle install

Reported by: tic20@… Owned by: Conrad Huang
Priority: normal Milestone:
Component: Tool Shed Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Copying email from a user below. He later reported that clearing the cache directory and reinstalling ISOLDE fixed the issue. He suspects that his VPN dropped out in the middle of the ISOLDE installation, and that before he deleted the ISOLDE installation directory ChimeraX would simply refuse to start without returning any error message.



 Hi Tristan,

I just tried installing ISOLDE on my Mac (using ChimeraX 0.8), and the result was that I was no longer able to launch ChimeraX.

So I tried removing any trace of ISOLDE, but something is still wrong: when I double-click on ChimeraX icon it keeps not launching, whereas if I start it from a shell by typing /Applications/ChimeraX.app/Contents/MacOS/ChimeraX then it launches, but types:

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_ISOLDE'


BUG: Error preloading available bundles:
KeyError: 'ChimeraX_ISOLDE'

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._
 
Tristan Croll
Research Fellow
Cambridge Institute for Medical Research
University of Cambridge CB2 0XY
 

 


Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedTool Shed
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned

comment:2 by Conrad Huang, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in b3d8cadc2.

If cache data is not consistent with installed bundles, ignore cache data.

Note: See TracTickets for help on using tickets.