Page 1 of 1

Installation error following package modification

Published: April 16, 2015 - 3:40 PM
by Perfect-Dash
Hello,

I'm currently testing the installation of Fusion Inventory by only modifying the path to my server in the setup.py file. However, I'm encountering a problem; it's not working, and I'm getting the error message "KeyError: "There is no item named u'WAPT/signature' in the archive."

To help, here's my method:

1. I go to "Private Repositories" and import the "tis-fusioninventory" package from the repository.
2. Once imported, I right-click and select "Edit Package," which opens it in PyScripter.
3. I modify only the path to the server and save the changes.
4. I run the command and execute `wapt-get build-upload`.
5. I try to install it like any other package on a client machine, but it fails!
6. I get the following error message: "KeyError: "There is no item named u'WAPT/signature' in the archive."

Do you have any idea what the problem might be? I don't have this problem when I don't modify anything and use the package from the repository.

Thank you.

Re: Installation error following a package modification

Published: April 17, 2015 - 5:25 PM
by Yvan Karmouta
Good morning,
When you use the Wapt management console, it uses the wapt-get.ini file in your profile. This file is configured by the Wapt console to use your private key and sign packets.
When you use pyscripter or wapt-get commands, it is the file C:\wapt\wapt-get.ini that is used.
In this file, the variables:
  • private_key="C:\private\key.pem"
  • default_package_prefix="prefix of your wapt packages"

If these parameters are not specified, the package is not signed and your computer refuses to install it (proving, incidentally, that any unvalidated package cannot be installed) :D )

Re: Installation error following a package modification

Published: April 22, 2015 - 6:13 PM
by Perfect-Dash
Thank you very much, everything is working now :)