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: Tomasz Wolniewicz <twoln AT umk.pl>
  • To: Vidar Kværnø Stokke <vidar.stokke AT ntnu.no>, 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 09:27:40 +0200

Hi,
Indeed quite soon. We are preparing release 1.1.2 which will by python3 safe. Not only it will not fail when called by python 3 but will also search for the python3 command it it does not find "python".

The release should be out beginning of May and then the eduroam OT will need to update the production version, but I would be pretty sure that this can be done in May as well.

Tomasz


W dniu 2016-04-22 o 08:55, Vidar Kværnø Stokke pisze:

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

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

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    
          twoln AT umk.pl        http://www.home.umk.pl/~twoln

Uczelniane Centrum Informatyczne   Information&Communication Technology Centre
Uniwersytet Mikolaja Kopernika     Nicolaus Copernicus University,
pl. Rapackiego 1, Torun               pl. Rapackiego 1, Torun, Poland
tel: +48-56-611-2750     fax: +48-56-622-1850       tel kom.: +48-693-032-576



Archive powered by MHonArc 2.6.19.

Top of Page