Page 1 of 1

[SOLVED] OSX 1.8.1 global name logger is not defined

Published: May 28, 2020 - 2:35 PM
by MisterP
Hello everyone,

here is my configuration:
OSX 10.13 and 10.15
Wapt client version 1.8.1
Wapt server on debian 9 wapt version 18.1

Deployment on OSX 10.13 and 10.15 works perfectly but does not launch wapt-get register and wapt-get update after installation.
To optimize deployment, I'm trying to create a script to streamline this task, as it's difficult to ask a user to use the command line. However, when I use AppleScript, it returns the

following error message

"Using config file: /opt/wapt/wapt-get.ini
Registering host against server: https://XXXX
FATAL ERROR: NameError: global name 'logger' is not defined" number 3.

Here is my code in AppleScript:

`do shell script "sudo /usr/local/bin/wapt-get register" with administrator privileges`.


I also have the same problem with the Platypus software for registration and updates.

Thank you in advance for your help.

Re: OSX 1.8.1 global name logger is not defined

Published: May 28, 2020 - 3:14 PM
by sfonteneau
Hello,

the first version of Mac was a beta version.

A nightly build is available here:
https://wapt.tranquil.it/wapt/nightly/w ... 9ad159.pkg

Simon

Re: OSX 1.8.1 global name logger is not defined

Published: May 28, 2020 - 4:37 PM
by MisterP
Thanks, I'll test it with the new version

Re: OSX 1.8.1 global name logger is not defined

Published: May 29, 2020 - 4:42 PM
by dcardon
Did that solve the problem?

Re: OSX 1.8.1 global name logger is not defined

Published: June 2, 2020 - 8:23 AM
by MisterP
Hello,
after several tests it works on OSX 10.13 and OSX 10.15.

Thank you for your help on this.