Page 1 of 1

Bug install Flash Player + solution (bug setuphelpers)

Published: March 10, 2020 - 5:25 PM
by erickeke
On some machines, I encountered a bug with the installation of the Adobe Flash Player package downloaded from the official WAPT repository.

The package would then fail to install every time the machine was shut down:

Error:

File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1324, in task_exists
except CalledProcessError as e:
NameError: global name 'CalledProcessError' is not defined.

The bug appears to be present in both branches 1.7.4 and 1.8.

To resolve this on my machine (version 1.7.5.6190: I don't remember where I got that one):

Modify "C:\Program Files (x86)\wapt\setuphelpers_windows.py"

In the function `def task_exists(name)`:
Replace `except CalledProcessError as e:` with `except CalledProcessErrorOutput as e:

` Do the same for the function `def delete_task(name)`:
Replace `except CalledProcessError as e:` with `except CalledProcessErrorOutput as e:`

Regards