Hi Mark,
On 2016-02-11 08:16, Mark Goodwin wrote:
>
> [mgoodwin@rhel64 pcp]$ pmrep --archive qa/archives/20130706 -o csv -u -S
> @10:00 -x kernel.all.sysfork
> Traceback (most recent call last):
> File "/usr/bin/pmrep", line 45, in <module>
> from collections import OrderedDict
> ImportError: cannot import name OrderedDict
> [mgoodwin@rhel64 pcp]$ python -V
> Python 2.6.6
> [mgoodwin@rhel64 pcp]$ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 6.4 (Santiago)
>
> This seems to be a common and known issue on such old python versions -
> is it worth doing something about it?
It depends - RHEL 6's Python 2.6 gained OrderedDict in RHEL 6.5:
https://bugzilla.redhat.com/show_bug.cgi?id=929258 (RH internal BZ)
RHEL 6.4 is not supported for anyone else than RHEL AUS customers:
https://access.redhat.com/support/policy/updates/errata/
https://access.redhat.com/solutions/759663
On latest RHEL (6.7) and RHEL EUS (6.6) OrderedDict is available.
So if we're adjusting things for RHEL 6 I think perhaps we could
check whether OrderedDict is available but disabling pmrep altogether
sounds a step too far IMHO.
Thanks,
--
Marko Myllynen
|