Page 1 of 1

[SOLVED] I made a mistake

Published: September 12, 2019 - 3:49 PM
by Minus
Good morning

I created a WAPT package and uploaded it using the command `wapt-get.exe upload-package "c:\waptdev\xxxx.xxxx.wapt"`

xxxx.xxxx being of course the name of the package

The upload went smoothly, but when I open the wapt console and go to my packages, I get a nice error message:
wapt.JPG
wapt.JPG (20.67 KB) Viewed 5097 times
I used the command wapt-get.exe remove "c:\waptdev\xxxx.xxxx.wapt"
But he told me "no package removed!"
However, the name is correct

Is there a way to remove this problematic package so that I can fix it and, more importantly, get my WAPT working again?

Thank you in advance

Re: I made a mistake

Published: September 13, 2019 - 10:20 AM
by Minus
Hello

. Well, since there's no response, I restored the server to recover everything.

However, is there a way to check the packages before uploading them and preventing them from crashing everything?

I haven't received any error messages whatsoever for this package, either during the build or upload process.

Re: I made a mistake

Published: September 13, 2019 - 10:51 AM
by sfonteneau
You can delete the package located in /var/www/wapt/
and then run a scanpackage command again: wapt-scanpackages /var/www/wapt/ -ldebug.

In my opinion, this occurs because the package version field is not standard.

The version field in the control file should contain no letters or special characters, only numbers, periods, and a single hyphen!

Re: I made a mistake

Published: September 13, 2019 - 11:17 AM
by Minus
Yes, indeed, I had a letter in the version field, hence the crash.

Thanks for the info.