File Not Found when getting downloaded package

Getting this error from the Octopus server after it downloads a package from the neget server.

2012-06-18 02:14:12 ERROR System.IO.FileNotFoundException: Could not find file ‘C:\Octopus\Octopus\Server…\PackageCache\FitCloud.Web.0.1.03105\FitCloud.Web.0.1.03105.nupkg’.

I have checked and the file does exist, maybe something up with the “…/”?

Wait, just after posting that I can see that its missing a \ before the 2 dots.

OK the \ is there on the error, just didnt show up in the comment.

Sorry for all the comments but I have found it this time!

The file on the server is missing the first 0 in the Patch number so the server location is actually:
C:\Octopus\Octopus\PackageCache\FitCloud.Web.0.1.3105\FitCloud.Web.0.1.3105.nupkg

But the actual version of the package is 0.1.03105 NOT 0.1.3105

Hi Damian,

Ahhh. So if I understand correctly, your NuGet package has a element with 03105, but the NuGet package file itself just has 3105?

I’ll see what I can do to make sure this is supported in the next release. In the mean time, are you able to generate the package without the leading 0 as a workaround?

(I couldn’t find guidance on the semver.org website as to whether a leading 0 is valid according to the spec).

Paul

Yep thats correct, the package itself has 03105 but the file after its been downloaded by octopus has 3105.
For a work around I have just removed the leading 0 and that works fine.
Thanks.