Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] error in python file for eduroam installer (for University of Leicester)

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [[cat-users]] error in python file for eduroam installer (for University of Leicester)


Chronological Thread 
  • From: Tomasz Wolniewicz <twoln AT umk.pl>
  • To: "Bartram, David V.S. (Dr.)" <d.bartram AT leicester.ac.uk>, "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: Re: [[cat-users]] error in python file for eduroam installer (for University of Leicester)
  • Date: Thu, 14 Sep 2023 15:09:57 +0200
  • Dkim-filter: OpenDKIM Filter v2.11.0 smtp.umk.pl 6A58120226

The script needs to be run with python3.  This first line mistakenly calls just python. This will be fixed in an upcoming update.

Just run it as python3 eduroam-linux-UoL.py

Cheers

Tomasz Wolniewicz


W dniu 14.09.2023 o 14:41, "Bartram, David V.S. (Dr.)" (via cat-users Mailing List) pisze:

Hmm – my email program automatically changes the first letter of a new line to a capital.  The line in question should read:

 

def debug(msg) -> None

 

 

From: Bartram, David V.S. (Dr.)
Sent: 14 September 2023 13:28
To: cat-users AT lists.geant.org
Subject: error in python file for eduroam installer (for University of Leicester)

 

Hi there,

 

I’ve just been using your eduroam installer for my linux-based laptop, following a password change.

 

At first the installer produced an error when I ran it.  I’ve now fixed it for my own purposes.

 

The error is in line 77.  In the downloaded file, this line reads:

 

Def debug(msg) -> none

 

The error is in ‘none’ – this needs to start with a capital N, thus:

 

Def debug(msg) -> None

 

With that change, the installer succeeds.  I suggest revising the file provided on your website.

 

Kind regards,

David Bartram

 

 

 

To unsubscribe, send this message: mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users
Or use the following link: https://lists.geant.org/sympa/sigrequest/cat-users
-- 
Tomasz Wolniewicz



Archive powered by MHonArc 2.6.24.

Top of Page