Page 1 of 1
[SOLVED] Depends trigger Access violation
Published: July 2, 2024 - 5:47 PM
by flo777
Hello,
when I create a new package, once finished, I "Build and Upload package".
This works if the "depends" line in the control file is empty. If I add a package (e.g., tis-powershell or the same name but with our prefix dst-powershell), I get an "access violation" error during import.
I'm using WAPT 2.4.
Do you have any ideas?
Thanks
, Florian
Re: depends trigger Access violation
Published: July 2, 2024 - 6:01 PM
by dcardon
Hi Florian,
There's a bug with the "Also import dependencies" checkbox (in the window that prompts you to verify a package when you import it from the internet or elsewhere). The console remembers this checkbox during the build-upload process when it shouldn't. This is fixed in the master build and will therefore be included in the next release.
Normally, if you import any package from the WAPT store with this checkbox unchecked, it should retain this configuration and allow you to work around the problem until the next release.
Best regards,
Denis
Re: depends trigger Access violation
Published: July 2, 2024 - 7:06 PM
by flo777
Thank you for your reply.
So, I imported a random package from the store (Import from Internet), unchecked the box, and then imported the package (tij-audacity). If I try to import another package, the box is indeed unchecked (so it's saved).
Then I tried building and uploading again. Same "access violation" error. Then the confirmation window is empty (and the checkbox is no longer there).
Did I miss a step?
Best regards,
Re: depends trigger Access violation
Published: July 3, 2024 - 11:56 AM
by dcardon
Hi Flavien,
Could you try closing the console and moving/renaming your waptconsole.ini file (in %appdata%\roaming\waptconsole\) to start with a clean console layout, then try the build-upload again?
Also, FYI, Hubert has backported the fix, which is already in the upcoming version 2.6 in the 2.5.5 series.
Regards,
Denis
Re: depends trigger Access violation
Published: July 25, 2024 - 09:43
by dcardon
Hello Flavien,
the latest WAPT 2.5.5 fixes the issue [1]. Could you please upgrade? I'm marking the topic as RESOLVED.
Best regards,
Denis
[1]
https://www.wapt.fr/en/doc/wapt-changel ... 2024-07-18 [FIX] waptconsole: fix potential Access violation when importing a package from sources with dependencies