Unable to install software

Share your tips or issues concerning the WAPT Console or WAPT Agent here
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
Qi-support
Messages: 8
Registration: August 29, 2016 - 4:15 PM

October 24, 2018 - 4:18 PM

Hello,

I am having a problem using Wapt. When I want to deploy applications, in my case it's quite basic, it's Firefox I get this message:

Installing QI-firefox
AttributeError: 'NoneType' object has no attribute 'package'
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2031, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1351, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1775, in _run
','.join([ p[1].package for p in self.result['errors']]),
AttributeError: 'NoneType' The object has no attribute 'package'.

The package comes from the standard Wapt store.

Do you have any idea what the problem might be?

ALN
User avatar
dcardon
WAPT Expert
Messages: 1931
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 24, 2018 - 5:35 PM

Hello ALN,
qi-support wrote: Oct 24, 2018 - 4:18 PM I am having trouble using Wapt. When I want to deploy applications, in my case it's quite basic, it's Firefox I get this message:

Installing QI-firefox
AttributeError: 'NoneType' object has no attribute 'package'
Traceback (most recent call last):
File "C:\wapt\waptservice\waptservice.py", line 2031, in run
self.running_task.run()
File "C:\wapt\waptservice\waptservice.py", line 1291, in pwrapper
return func(*arg, **kwargs)
File "C:\wapt\waptservice\waptservice.py", line 1351, in run
self._run()
File "C:\wapt\waptservice\waptservice.py", line 1775, in _run
','.join([ p[1].package for p in self.result['errors']]),
AttributeError: 'NoneType' object has no attribute 'package'
Could you specify your environment, cf. viewtopic.php?f=9&t=886

Just in case, could you try using a lowercase packet prefix instead of an uppercase one? It shouldn't make a difference, but you never know, there might be a bug there.

Furthermore, to obtain more logs, you would need to run the following command in a cmd.exe window with administrator privileges (beware of UAC prompts)
wapt-get install -l debug qi-firefox

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Qi-support
Messages: 8
Registration: August 29, 2016 - 4:15 PM

October 24, 2018 - 6:02 PM

Okay, thank you for your reply.

Here is my environment:
- WAPT version: 1.3.5
- Server OS: Windows Server 2008 R2
- Client OS: Windows 7 Pro 64-bit.

I changed the prefix to lowercase.

Here is the result of the command: https://i.imgur.com/oNVKPS3.jpg

Thank you for your help.

ALN.
User avatar
dcardon
WAPT Expert
Messages: 1931
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 25, 2018 - 7:59 PM

Hello ALN,

qi-support wrote: Oct 24, 2018 - 6:02 PM Here is my environment:
- WAPT version: 1.3.5
- Server OS: Windows Server 2008 R2
- Client OS: Windows 7 Pro 64-bit

I changed the prefix to lowercase.

Here is the result of the command: https://i.imgur.com/oNVKPS3.jpg
Note: It is preferable to copy and paste the code from cmd.exe with the phpBB tags (see the basics).</> (above the editing textbox). This allows you to have the context directly in the post thread.

The error message states that it cannot find the file in question on the web server. To convert the prefix to lowercase, you need to change it in your WAPT console and then re-upload the package. The package name also appears in the control file and in the Packages index.

Sincerely,

Denis

P.S.: You will need to upgrade your WAPT server version. Starting next month, the packages in the store may no longer be compatible with version 1.3.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Qi-support
Messages: 8
Registration: August 29, 2016 - 4:15 PM

October 26, 2018 - 12:24

Hello,

Indeed, the prefix change wasn't applied initially, but that's fixed now.

I removed all the packages from my private repository and downloaded firefox-esr. It now has the correct lowercase prefix. However, I still get the same message when I try to install this package. Here's the result of the command run from the client PC: https://i.imgur.com/2DE7X7R.jpg

Thank you for your help.

ALN
Qi-support
Messages: 8
Registration: August 29, 2016 - 4:15 PM

October 26, 2018 - 4:59 PM

I restarted the server, and since then it's been a disaster. :)

The WAPTMongodb Windows service is paused. As a result, I no longer have access to the fleet inventory.

What do you advise?
Should I remove all traces of WAPT from the server and start from scratch?
How will the client PCs react when I reinstall the client over the old one?

ALN
Qi-support
Messages: 8
Registration: August 29, 2016 - 4:15 PM

November 26, 2018 - 4:34 PM

Hello,

I started from scratch.

It's working now with the latest version.

ALN
Locked