pcp
[Top] [All Lists]

Re: Lots of Python failures on Centos 5.10

To: PCP <pcp@xxxxxxxxxxx>
Subject: Re: Lots of Python failures on Centos 5.10
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 08 Sep 2014 08:43:18 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <540CDD93.1040606@xxxxxxxxxxxxxxxx>
References: <540CDD93.1040606@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
On 08/09/14 08:34, Ken McDonell wrote:
Things like

...

And this one from qa/553

Traceback (most recent call last):
  File "/var/lib/pcp/pmdas/gluster/pmdagluster.python", line 22, in ?
    import xml.etree.cElementTree as xmltree
ImportError: No module named etree.cElementTree

And this one from qa/709

Traceback (most recent call last):
  File "/usr/bin/pmcollectl", line 45, in ?
    from pcp.pmsubsys import Subsystem
  File "/usr/lib/python2.4/site-packages/pcp/pmsubsys.py", line 57
    except pmErr as e:
                  ^
SyntaxError: invalid syntax

And this one ...

QA output created by 722
  File "/usr/bin/pmatop", line 51
    except ImportError as e:
                        ^
SyntaxError: invalid syntax

And this one ...

QA output created by 842
All devices
Traceback (most recent call last):
  File "/usr/bin/pmiostat", line 19, in ?
    from pcp import pmapi, pmcc
  File "/usr/lib/python2.4/site-packages/pcp/pmcc.py", line 325
    except pmErr as error:
                  ^
SyntaxError: invalid syntax

And this one ...

QA output created by 972
  File "/var/lib/pcp/pmdas/zswap/pmdazswap.python", line 40
    with open(fullpath) as file:
            ^
SyntaxError: invalid syntax

And this one ...

QA output created by 985
== Finding dmcache metrics
== Testing dmcache metrics
dbpmda> open pipe /usr/bin/python $PCP_PMDAS_DIR/dmcache/pmdadmcache.python
Start python PMDA: /usr/bin/python $PCP_PMDAS_DIR/dmcache/pmdadmcache.python
pmdaversion: expecting PDU_CREDS, got PDU type 0
Warning: no version exchange with PMDA /usr/bin/python

<Prev in Thread] Current Thread [Next in Thread>