Opened 9 months ago
Last modified 7 days ago
#16958 accepted defect
Toolshed adds random characters to wheel file
| Reported by: | Owned by: | Greg Couch | |
|---|---|---|---|
| Priority: | moderate | Milestone: | 1.12 |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | Tom Goddard | |
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
Yuval Abeles submitted version 0.1.2 of his EMAlign bundle to Toolshed and then in ChimeraX the Toolshed shows on the button that would normally say "Install", instead "No compatible version". Downloading the wheel file shows it has random characters at the end.
ChimeraX_EMalign-0.1.2-py3-none-any_vOEftcP.whl
Removing those characters "_vOEftcP" allows it to install using "toolshed install <filename>".
Yuval has checked that the submission .whl file did not have those random characters at the end. Greg says they are probably added by Toolshed because there already was a previous submission of an 0.1.2 version and Toolshed is trying to avoid overwriting it.
Toolshed should either reject the submission and give an error message that says the version number was already submitted, or replace the previous version.
Begin forwarded message: From: "יובל אבלס" Subject: EMalign update ChimeraX Date: February 17, 2025 at 7:31:18 AM PST To: Tom Goddard Hi Tom! How are you? We finished fixing all the issues (hopefully!), so I uploaded the new version to the toolshed (deleted for now) and noticed that when accessing EMalign’s web page from within ChimeraX it says ‘not compatible- wrong platform’ on the button instead of download/install (attached image). However, when navigating to the bundle’s web page from an external browser (Chrome), it does show download on the button. To assure it didn’t stem from changes I made in the code, I tried reverting to the old version and upload it again just under a new release and the same issue occurred. Did you happen to notice that problem in the past? Since the same code for the bundle worked before, I’m having trouble finding a solution. Thank you and have a great week! Yuval
Not going to make 1.10 release. The fix will be on the toolshed side, so it isn't really tied to a release. But having it milestoned means it is more likely to be looked at.