Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] Sequel to -- Python 3.10.6: AttributeError: module 'platform' has no attribute 'linux_distribution'

cat-users AT lists.geant.org

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

List archive

Re: [[cat-users]] Sequel to -- Python 3.10.6: AttributeError: module 'platform' has no attribute 'linux_distribution'


Chronological Thread 
  • From: Tomasz Wolniewicz <twoln AT umk.pl>
  • To: Olivier Ramare <olivier.ramare AT univ-amu.fr>, cat-users AT lists.geant.org
  • Subject: Re: [[cat-users]] Sequel to -- Python 3.10.6: AttributeError: module 'platform' has no attribute 'linux_distribution'
  • Date: Tue, 8 Nov 2022 09:25:16 +0100
  • Dkim-filter: OpenDKIM Filter v2.11.0 smtp.umk.pl AE686200B5

Indeed this line is only used for debugging now, but the system checking function is for future use.

I have tested the script both on fresh, updated distributions of Ubuntu 22.04 and 22.10  (therefore Python 3.10.6 and 3.10.7) the script just runs and if you use the -d flag it shows the system info. Seems like your installation does not have some Python package that my Ubuntu does.

Yours

Tomasz


W dniu 07.11.2022 o 13:15, Olivier Ramare (via cat-users Mailing List) pisze:
Dear all,

  Sequel: a cure is simply to comment out line 184 of the script, since this information is not used!

Then everything works :)

Many thanks, Olivier



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

Uniwersyteckie 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; tel kom.: +48-693-032-576




Archive powered by MHonArc 2.6.19.

Top of Page