Skip to Content.
Sympa Menu

cat-users - RE: [[cat-users]] Linux Config Script

cat-users AT lists.geant.org

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

List archive

RE: [[cat-users]] Linux Config Script


Chronological Thread 
  • From: Vidar Kværnø Stokke <vidar.stokke AT ntnu.no>
  • To: Markus Vogl <vogl91 AT gmail.com>, "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: RE: [[cat-users]] Linux Config Script
  • Date: Fri, 22 Apr 2016 06:55:10 +0000
  • Accept-language: nb-NO, en-US

Hi all.

 

We also have a couple of users reporting this “python-issue”.

 

Will this be addressed anytime soon?

 

--

Best regards

Vidar Stokke

Senior Engineer

IT-division, Networking

Norwegian University of Science and Technology

(NTNU)

http://www.ntnu.no/it

 

 

From: Markus Vogl [mailto:vogl91 AT gmail.com]
Sent: Thursday, April 7, 2016 7:20 PM
To: cat-users AT lists.geant.org
Subject: [[cat-users]] Linux Config Script

 

Dear All
I have found an issue in the eduroam installation script from https://cat.eduroam.org/, selecting linux, in line 271, in the command: python << EOF > /dev/null 2>&1

This assumes that the command "python" calls "python2", but since about 2008 there is python 3, and on my arch linux this is the default. But you can still explicitly call python2 with the command python2. Calling it with python3 leads to the error "opening brackets expected after print" (after enabling output)

Another minor issue is, that all the output is pasted to /dev/null, so i had quite some trouble locating the error because i had to fully read and edit the 300+ line script. It would be easier if you'd paste it to a log, or at least define a var named $out that you per default set to /dev/null.

The script i downloaded for my uni (JKU LInz) is in the attachment - and after changing it from python to python2.

Greetings
Markus Vogl, JKU Linz




Archive powered by MHonArc 2.6.19.

Top of Page