Page 1 of 1

Unable to install software

Published: October 24, 2018 - 4:18 PM
by qi-support
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

Re: Unable to install software

Published: October 24, 2018 - 5:35 PM
by dcardon
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

Re: Unable to install software

Published: October 24, 2018 - 6:02 PM
by qi-support
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.

Re: Unable to install software

Published: October 25, 2018 - 7:59 PM
by dcardon
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.

Re: Unable to install software

Published: October 26, 2018 - 12:24 PM
by qi-support
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

Re: Unable to install software

Published: October 26, 2018 - 4:59 PM
by qi-support
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

Re: Unable to install software

Published: November 26, 2018 - 4:34 PM
by qi-support
Hello,

I started from scratch.

It's working now with the latest version.

ALN