Opened 2 days ago

Last modified 10 hours ago

#19901 accepted defect

Uploaded filename error on toolshed

Reported by: A.Bharadwaj@… Owned by: Greg Couch
Priority: high Milestone:
Component: Tool Shed Version:
Keywords: Cc: chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hello,

I'm developing the bundle LocScale-SURFER with Arjen Jakobi.
 https://cxtoolshed.rbvi.ucsf.edu/apps/chimeraxlocscalesurfer


I tried to upload a new version of LocScale-SURFER (0.1.2). However, it seems like there is a bug while uploading the wheel to toolshed which is changing the name of the uploaded file.  The wheel that I build has the following filename: chimerax_locscalesurfer-0.1.2-py3-none-any.whl

However, when I download the file from toolshed it is adding a few extra characters at the end: chimerax_locscalesurfer-0.1.2-py3-none-any_m11jdc9.whl
This is causing the installation to fail with the error: wrong platform.
However, when I rename the downloaded file and removing the extra characters that get added so it becomes the same as the original wheel file, I can install the wheel properly.

When I try to install directly by going to toolshed within ChimeraX, it says "not compatible: wrong platform".

Can you help me find out what might be the issue causing this behaviour?

Thank you!

Cheers,
Alok



Change History (2)

comment:1 by Eric Pettersen, 2 days ago

Cc: chimera-programmers added
Component: UnassignedTool Shed
Owner: set to Greg Couch
Platform: all
Priority: normalhigh
Project: ChimeraX
Status: newassigned

comment:2 by Greg Couch, 10 hours ago

Status: assignedaccepted

There is a bug that can occur when you upload the same filename more than once. Under some circumstances, to be determined, it doesn't reject the second upload, and instead renames the file. The workaround is to use a new version number even if the upload was never put on the toolshed.

Note: See TracTickets for help on using tickets.