Page 1 of 1

getanc.py failure

Posted: Thu Jan 18, 2018 1:34 pm America/New_York
by oo_processing
Sean,
I have a few machines that mount and call OCSSW in the same way. Some run CentOS 6.9 some 7.4 eg:

[root@seabird ~]# cat /etc/redhat-release
CentOS release 6.9 (Final)
[root@seabird ~]# python -V
Python 2.6.6

[root@searobin ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@searobin ~]# python -V
Python 2.7.5

We are having problems with getanc.py for GOCI files on the 6.9 versions.
In the CentOS 7.4/python 2.7.5, the getanc.py works fine on VIIRS, MODIS, and GOCI files (only tested those) .
In the CentOS 6.9/pythone 2.6.6 the getanc.py works fine on  VIIRS, MODIS, but FAILS on GOCI files.

I am attaching the output from the successes and failures.
Brock
attachment 1

getanc.py failure

Posted: Thu Jan 18, 2018 1:57 pm America/New_York
by OB.DAAC - SeanBailey
Looks like a problem with ElementTree.py...which is not our code.  Also, python2.6 is apparently not supported anymore:
https://www.python.org/download/releases/2.6/   ...2008 is a while ago...

Others have seen this problem: https://github.com/galaxyproject/planemo/issues/371

...short answer, not something we're going to fix.
Sean

getanc.py failure

Posted: Fri Jan 19, 2018 8:30 am America/New_York
by gnwiii
You can have a somewhat "official" python-2.7 for CentOS as 6 explained in  The Software Collections ( SCL ) Repository