Ezriilc / HyperEdit

A plugin for Kerbal Space Program.
http://www.Kerbaltek.com/hyperedit
GNU General Public License v3.0
41 stars 30 forks source link

[Bug] Attempted to install HyperEdit 1.5.8.0 from CKAN, incorrect checksum #72

Open ZachIndigo opened 3 years ago

ZachIndigo commented 3 years ago

I am attempting to install HyperEdit 1.5.8.0 through CKAN for KSP 1.10.1.2939, on Artix Linux, and I get the following error message:

CKAN.InvalidModuleFileKraken: HyperEdit 1.5.8.0: /tmp/tmp51998d31.tmp has SHA1 121048EA199981626D5250C3D7C5CC6A4009A142, should be 3FB47074984E3651E597B04B10C1E426ABCAE091
  at CKAN.NetModuleCache.Store (CKAN.CkanModule module, System.String path, System.String description, System.Boolean move) [0x000e2] in <152b683e73a7426a9ab8fa7c1d7980ff>:0 
  at CKAN.NetAsyncModulesDownloader.ModuleDownloadComplete (System.Uri url, System.String filename, System.Exception error) [0x00048] in <152b683e73a7426a9ab8fa7c1d7980ff>:0 

Assumedly, this means that the download has a different SHA1 than is expected. I checked with the HyperEdit zip file I downloaded from kerbaltek.com a few days ago, and that sha1sum matches the 3FB...091 above.

Ezriilc commented 3 years ago

I'm sorry, but I don't know what is causing that. I recently updated the .version file that CKAN looks at, but I don't know what else to do to fix that issue. I think you might learn more from the CKAN people.

HebaruSan commented 2 years ago

The cause would have been replacing the download ZIP for a mod that was already indexed (see https://github.com/Ezriilc/HyperEdit/issues/71#issuecomment-841473872). But the bot handles that automatically eventually; this should have been fixed as of https://github.com/KSP-CKAN/CKAN-meta/commit/8eb066c462e4c479e141af171084e28c24442e11.