Bug #1715

csiactdata relying on json module does not work on Python 2.5

Added by Knödlseder Jürgen about 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:02/25/2016
Priority:UrgentDue date:
Assigned To:Mayer Michael% Done:

50%

Category:-
Target version:1.1.0
Duration:

Description

Apparently, the json module does not exist on Python 2.5 and earlier. The code should be adapted so that no error occurs when the json module is absent.

I guess that also other “iact” scripts are affected that use the json module.

I know that Python 2.5 is quite old, but there are still a number of servers around that are running such an old Python version.


Recurrence

No recurrence.

History

#1 Updated by Mayer Michael about 8 years ago

Ok I wasn’t aware of that. Are you suggesting to write an own parser of the json file instead?

#2 Updated by Knödlseder Jürgen about 8 years ago

  • Status changed from New to In Progress
  • Target version set to 1.1.0
  • % Done changed from 0 to 50

I implemented a work around that disables testing and importing of the IACT scripts for Python version 2.5 and older. I’m currently testing this. We may add an information to the documentation that the IACT scripts only work for Python 2.6 and newer.

#3 Updated by Knödlseder Jürgen almost 8 years ago

  • Status changed from In Progress to Closed

I added a warning in the User documentation, merged into devel.

Also available in: Atom PDF