Opened 7 years ago

Closed 7 years ago

#1641 closed defect (fixed)

ChimeraX does not start: KeyError: 'ChimeraX_Clipper'

Reported by: Tom Goddard Owned by: Greg Couch
Priority: major Milestone:
Component: Tool Shed Version:
Keywords: Cc: Conrad Huang
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

ChimeraX 0.8 will start but newer ChimeraX builds exit at start up -- some problem with finding the ChimeraX_Clipper bundle.

~/Desktop/ChimeraX\ Jan\ 18\ 2018.app/Contents/MacOS/ChimeraX
Error in sys.excepthook:
Traceback (most recent call last):

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 297, in ehook

self.session.ui.thread_safe(self.report_exception, exc_info=exc_info)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/gui.py", line 286, in thread_safe

func(*args, kw)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 440, in report_exception

self.info(tb_msg, is_html=True)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 388, in info

last_resort=sys.stdout)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 508, in _log

print(output, end="", file=last_resort)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 43-44: ordinal not in range(128)

Original exception was:
Traceback (most recent call last):

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.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 "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 449, in init_available_from_cache

abc.load_from_cache()

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/available.py", line 64, in load_from_cache

b = _build_bundle(d)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/available.py", line 106, in _build_bundle

bundle_d = dbundle[bundle_name]

KeyError: 'ChimeraX_Clipper'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"main", mod_spec)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ChimeraX_main.py", line 807, in <module>

exit_code = init(sys.argv)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/ChimeraX_main.py", line 544, in init

check_available=opts.get_available_bundles)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 1360, in init

_toolshed = Toolshed(*args, kw)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 340, in init

logger.report_exception("Error preloading available bundles")

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 440, in report_exception

self.info(tb_msg, is_html=True)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 388, in info

last_resort=sys.stdout)

File "/Users/goddard/Desktop/ChimeraX Jan 18 2018.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/logger.py", line 508, in _log

print(output, end="", file=last_resort)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 43-44: ordinal not in range(128)
$

Change History (1)

comment:1 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Working now in a build from scratch.

Note: See TracTickets for help on using tickets.