The search returned 12 results

by tuxmania
March 2, 2023 - 11:36
Forum: WAPT Packages
Subject: [SOLVED] Adding custom functions in setuphelpers
Answers: 2
Views : 2560

[SOLVED] Adding custom functions to setuphelpers

Hello,

I would like to create additional functions that I can use with any package using imports.
For example, if I create a functions.py file with all my custom functions in it, I would then like to be able to use them by performing a...
by tuxmania
July 8, 2022 - 7:03 PM
Forum: WAPT Packages
Subject: VSCode instead of PyScripter
Answers: 3
Views : 3523

Re: VSCode instead of PyScripter

Hello @sfontenau,

thank you for your reply.
After making the change, VS Code does open when I edit a package from the WAPT console.
However, I have the contents of setup.py, but I don't see how to test the install() function, for example.
Would you be so kind as to...
by tuxmania
July 8, 2022 - 2:32 PM
Forum: WAPT Packages
Subject: [SOLVED] Encrypt-txt.json file cannot be decrypted
Answers: 6
Views : 5014

[SOLVED] Encrypt-txt.json file could not be decrypted

Hello everyone!

I've implemented string encryption using this script: https://www.wapt.fr/en/doc-1.8/wapt-create-packages/secret-data/encrypt-paquet.html.
During package deployment, the encrypt-txt.json file is decrypted without any issues on some machines. However...
by tuxmania
July 8, 2022 - 11:58
Forum: WAPT Packages
Subject: [SOLVED] Hiding logs for a package on the WebUI
Answers: 8
Views : 6779

Re: Hiding logs for a package on the WebUI

Thank you very much @sfonteneau.

I will indeed go with the try/except solution, which perfectly addresses the problem (plus restricting access to the log file).
Thank you! :)
by tuxmania
July 4, 2022 - 4:47 PM
Forum: WAPT Packages
Subject: VSCode instead of PyScripter
Answers: 3
Views : 3523

VSCode instead of PyScripter

Hello,

is it possible to configure VSCode to perform package tests as is currently possible with Pyscripter?
Thank you in advance.
by tuxmania
July 4, 2022 - 2:56 PM
Forum: WAPT Packages
Subject: [SOLVED] Hiding logs for a package on the WebUI
Answers: 8
Views : 6779

[SOLVED] Hiding logs for a package on the WebUI

Hello,

is it possible to disable the output on the web interface on the "Installed Packages" page?
Let me explain. I want to deploy a package that doesn't perform any print statements or anything else during its execution. The problem is that in case of an error, some commands containing information...
by tuxmania
July 19, 2021 - 11:18
Forum: WAPT Packages
Subject: Execute a package at each system restart
Answers: 6
Views : 5536

Re: Running a package on each computer restart

Hello florentR2,

thank you very much for your feedback.
I will do it that way.

Have a good day.
by tuxmania
July 16, 2021 - 7:00 PM
Forum: WAPT Packages
Subject: Execute a package at each system restart
Answers: 6
Views : 5536

Re: Running a package on each computer restart

Hi florentR2,

thanks for the feedback.
I added the "audit_schedule" attribute to the control file with a value of "1m" but nothing happens.
Do I need to add an "audit" function to setup.py or make another modification?

Thanks in advance.
by tuxmania
July 16, 2021 - 09:38
Forum: WAPT Packages
Subject: Execute a package at each system restart
Answers: 6
Views : 5536

Re: Running a package on each computer restart

Hello Denis,

thank you for your reply.
Here is some additional information:
Wapt agent version: 1.8.2
Operating System: Windows 10.

To elaborate on my request, I have a Python script that retrieves the timezone from the internet based on the geographical location (using the IP address)...
by tuxmania
July 15, 2021 - 10:44
Forum: WAPT Packages
Subject: Execute a package at each system restart
Answers: 6
Views : 5536

Execute a package at each machine restart

Hello,

is it possible to make a package run every time WAPT starts?
I have a package that needs to run once a day (like a scheduled task), but without having to increment the package version every day!
Is there a way to do this?

Thanks in advance.