Software Installation Timeout

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
SebastienLE
Messages: 2
Registration: Sep 28, 2015 - 12:31

September 28, 2015 - 12:46

Hello,

thank you for WAPT, it's really very practical! We're using it in production on 500 PCs.

We're trying to install Office 2010 apps via WAPT and we're having a timeout problem.

Example with OneNote:
In setup.py, we add the concept of a timeout -> 30 minutes
run('"setup.exe" /adminfile msponenote.MSP',timeout=1800).

When the computer is shut down, the installation starts, but the PC shuts down after 10 minutes, and we get the following error in the PC's log file: c:\appli\wapt\log\waptservice.log

installing ars-onenote2010
2015-09-28 11:25:53,204 ERROR Traceback (most recent call last):
File "c:\appli\wapt\lib\site-packages\rocket\main.py", line 143, in start
time.sleep(THREAD_STOP_CHECK_INTERVAL)
IOError: [Errno 4] Interrupted function call.

Is it possible to manage this automatic shutdown of the computer after 10 minutes?
We've looked everywhere and changed a few variables, but nothing works; in every case, the unit shuts down after 10 minutes (exactly 10 minutes - tested with a stopwatch ^^)....

Thank you in advance for your help.
Sincerely,
SebastienLE
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

September 28, 2015 - 2:38 PM

Hello, yes indeed...
see:
http://lists.tranquil.it/pipermail/wapt ... 00897.html

Regards,
Hubert
Tranquil IT
SebastienLE
Messages: 2
Registration: Sep 28, 2015 - 12:31

September 28, 2015 - 5:17 PM

Thanks for the reply.

I did indeed add the `timeout` variable to my `run` command.
The error is no longer related to a timeout during installation; it works perfectly if I force the installation (direct installation, not installation after PC shutdown).

SebastienLE
Locked