Opened 8 years ago

Closed 6 years ago

#1104 closed defect (fixed)

Installing ISOLDE gives traceback, needs user-friendly error message

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

Description

Current ISOLDE 1.0b1 installed from Toolshed on macOS gives an unfriendly traceback apparently because ISOLDE requires ChimeraX core 0.6 and I tried to install with ChimeraX 0.7 daily build.

Should probably give a simple error dialog "ISOLDE requires ChimeraX 0.6, you are running ChimeraX 0.7".

Downloading bundle ChimeraX_ISOLDE-1.0b1-cp36-cp36m-macosx_10_9_x86_64.whl
unloading module chimerax.isolde
Traceback (most recent call last):

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/ui/widgets/htmlview.py", line 332, in download_finished

session=self.session)

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 538, in install_bundle

results = self._pip_install(bundle, per_user=per_user, reinstall=reinstall)

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 740, in _pip_install

results = self._run_pip(command)

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 767, in _run_pip

raise RuntimeError(s)

RuntimeError: Processing /Users/goddard/Downloads/ChimeraX_ISOLDE-1.0b1-cp36-cp36m-macosx_10_9_x86_64.whl
Collecting ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1)

Could not fetch URL https://pypi.python.org/simple/chimerax-core/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:749) - skipping
Could not find a version that satisfies the requirement ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1) (from versions: )

No matching distribution found for ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1)

RuntimeError: Processing /Users/goddard/Downloads/ChimeraX_ISOLDE-1.0b1-cp36-cp36m-macosx_10_9_x86_64.whl
Collecting ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1)
Could not fetch URL https://pypi.python.org/simple/chimerax-core/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:749) - skipping
Could not find a version that satisfies the requirement ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1) (from versions: )
No matching distribution found for ChimeraX-Core==0.6 (from ChimeraX-ISOLDE==1.0b1)

File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/toolshed/init.py", line 767, in _run_pip
raise RuntimeError(s)

See log for complete Python traceback.

If you wish to report this error, send mail to chimerax-bugs@… and describe what you were doing and include a copy of the contents of the log. Don't include any data you wish to remain private since a publicly viewable bug report will be created.

Change History (1)

comment:1 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

ChimeraX no longer tries to install incompatible packages.

Note: See TracTickets for help on using tickets.