Opened 7 years ago

Closed 5 years ago

#1862 closed defect (fixed)

Some funkiness installing wheels needing tilde expansion

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

Description

The following bug report has been submitted:
Platform:        Darwin-17.7.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-04-17)
Description
The command

toolshed install ~/Downloads/ChimeraX_Clipper-0.4-cp37-cp37m-macosx_10_9_x86_64.whl

Does not give any error but appears to also not install Clipper.  I think the trouble may be that it doesn't expand "~/" because a status message flashed by saying something about searching PyPi.  In any case, if it fails I would expect an error message in the log.  Installing using a full path to the wheel did give a successfully installed message in the log.

Log:
UCSF ChimeraX version: 0.9 (2019-04-17)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> toolshed install ~/Downloads/ChimeraX_Cli*.whl

> toolshed install
~/Downloads/ChimeraX_Clipper-0.4-cp37-cp37m-macosx_10_9_x86_64.whl

> toolshed install blah

blah does not match any bundles  

> toolshed install
/Users/goddard/Downloads/ChimeraX_Clipper-0.4-cp37-cp37m-macosx_10_9_x86_64.whl

Successfully installed ChimeraX-Clipper-0.4  
Installed ChimeraX-Clipper (0.4)  




OpenGL version: 4.1 NVIDIA-10.32.0 355.11.10.10.40.102
OpenGL renderer: NVIDIA GeForce GT 650M OpenGL Engine
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedTool Shed
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionSome funkiness installing wheels needing tilde expansion

comment:2 by Greg Couch, 5 years ago

Resolution: fixed
Status: assignedclosed

Use os.path.expanduser() to expand ~.

Note: See TracTickets for help on using tickets.