Page 1 of 1

[SOLVED] WAPT issue: update-package

Published: July 11, 2024 - 09:04
by Maggle
Good morning,

I recently updated my WAPT server to the latest version 2.5.5.X.

Since then, when I modify a package with PyScripter and do a "WAPT: update-package", there is no error or anything, but the package does not update with my modifications and the version in the control file does not increment.
WAPT_incident.png
WAPT_incident.png (8.96 KB) Viewed 4829 times
It doesn't ask me for my certificate password or the admin account password for the console.

I'm not sure what could have changed, whether it's related to the update or my computer. I did install the latest version of the agent on my machine.

Re: WAPT problem: update-package

Published: July 11, 2024 - 11:07 AM
by dcardon
Hi Mathieu,

I think the command you're looking for is `build-upload`. `update-package-sources` is used to download a new version of the software, but there's no new version in the case of the `audit-local-admin` package, which only performs auditing.

Regards,

Denis

Re: WAPT problem: update-package

Published: July 18, 2024 - 4:43 PM
by Maggle
Good morning,

Indeed, that must not be the correct command being used. I'm using PyScripter and I only have this:
Wapt1.png
Wapt1.png (12.48 KB) Viewed 4565 times
In my Run Configurations I don't have a build-upload option.

So I did a Run Configuration like this, with a build-upload -i to increment the package version:
Wapt2.png
Wapt2.png (17.46 KB) Viewed 4565 times
And when it starts, it doesn't prompt me with a popup to enter my private key and then the console password:
Wapt3.png
Wapt3.png (10.12 KB) Viewed 4558 times
I'm not really sure what I did to my console.

Re: WAPT problem: update-package

Published: July 23, 2024 - 6:02 PM
by dcardon
Hi Mathieu,

we had quite a few calls regarding the build-upload feature in PyScripter due to the different execution contexts and authentication options [1]. We've removed it, and the new method is simply to have a console open and drag-and-drop the package onto the private repository (or to enable the package development tab in the view and use the functions there).

Regards,

Denis

[1] viewtopic.php?p=13957&hilit=build+upload#p13957

Re: WAPT problem: update-package

Published: July 25, 2024 - 09:37
by dcardon
Hi Mathieu,

were you able to manage with my instructions?

Best regards,

Denis