magico13 / StageRecovery

NOTE Now maintained at https://github.com/linuxgurugamer/StageRecovery An addon for Kerbal Space Program that recovers funds from spent stages.
28 stars 18 forks source link

Incomplete AVC file causes CKAN grief #2

Closed hakan42 closed 9 years ago

hakan42 commented 9 years ago

CKAN tries to expand version information from the .version file. It stumbles over the one-item version string in your package.

Could you, by any chance, change your version file to look like (also, please make sure that it is valid JSON, verifying especially the comma signs...

     "VERSION":{
         "MAJOR":1,
         "MINOR":5,
         "PATCH":3,
         "BUILD":4711
     },
     "KSP_VERSION":{
         "MAJOR":0,
         "MINOR":90,
         "PATCH":0
     },
     "KSP_VERSION_MIN":{
         "MAJOR":0,
         "MINOR":90,
         "PATCH":0
     },
     "KSP_VERSION_MAX":{
         "MAJOR":0,
         "MINOR":90,
         "PATCH":0
     }
magico13 commented 9 years ago

I know this was a while ago and I think CKAN can actually handle this now, but in the last version of StageRecovery I tried to fix up the version file so it followed this syntax instead. I'm going to close this now, but feel free to let me know if the issue still persists.