Page 1 of 1

[SOLVED] Firefox update_package error

Published: June 8, 2021 - 2:09 PM
by Manon_A
Good morning,
I want to update the Firefox package from the wapt store using the update_package function.
Firefox downloads successfully, but at the end I get the following error:
error_wapt.jpg
error_wapt.jpg (11.68 KB) Viewed 1971 times
The variable is then defined as follows:
def update_control_version(version=control.version.split('-')[0]):
control.version = '%s-%s'%(version,'102')
control.save_control_to_wapt()

Do you know how to solve this?
I am on community version 1.8.2.7334.

Thank you,
Good day.
Manon

Re: Firefox update_package error

Published: June 8, 2021 - 7:11 PM
by dcardon
Hello,
the `def install()` function maintains compatibility between versions 2.0 and 1.8.2, but the `def update_packages()` function doesn't necessarily. In your case, it probably calls a function that doesn't exist in version 1.8.2. The `def install()` functions will remain compatible with 1.8.2 for a few more months until the 2.0 Discovery Edition is released and community users upgrade (if they wish). Most Enterprise users have already upgraded to 2.0. You can modify the script or retrieve the `def update_packages()` function from an older package.
Sincerely,
Denis

Re: [SOLVED] Firefox update_package error

Published: July 22, 2021 - 04:19
by tristarauch
Great, that's it! Thanks for your help.