Page 1 of 1

[SOLVED] Update: A package does not exist in the repository

Published: April 20, 2023 - 10:48 AM
by meree
Good morning,

I have a problem. When I create a package that doesn't exist in the repository, such as (vmware-horizon-client 8.9), and try to run the package update, I receive this message

Code: Select all

Traceback (most recent call last):

  File "C:\wapt\common.py", line 8520, in call_python_code
    raise EWaptMissingPackageHook('No %s function found in %s module' % (func_name, python_filename))
waptpackage.EWaptMissingPackageHook: No update_package function found in C:\Users\miw\AppData\Local\Temp\wapt-20230420-10335400000.tmp\demo-vmware-horizon-client_8.8.1.34412-1_x64_windows_PROD\setup.py module
What I understood is that the program cannot find a function.
Could you please help me?


Server: WAPT Enterprise 2.3.0.13516 on Debian
Consoles: Windows 10 & 11
Park: Windows

Re: Update - A package does not exist in the repository

Published: April 24, 2023 - 6:04 PM
by dcardon
Hi Wael,

see the documentation; the `update_package` function needs to be implemented in either `setup.py` or `update_package.py`. The function is implemented in most packages in our store, but there's nothing magical about it; the package can't figure out how to update itself...

I'm closing this thread,

Denis.