pcp
[Top] [All Lists]

Re: [pcp] python QA/709 failures

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] python QA/709 failures
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 25 Mar 2013 10:19:24 +1100
Cc: Stan Cox <scox@xxxxxxxxxx>, PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1086370001.24034377.1364166803775.JavaMail.root@xxxxxxxxxx>
References: <1086370001.24034377.1364166803775.JavaMail.root@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
On 25/03/13 10:13, Nathan Scott wrote:


----- Original Message -----
I'm seeing this on multiple platforms ...

Traceback (most recent call last):
    File "/usr/bin/pmcollectl", line 1024, in <module>
      s.print_header1()
    File "/usr/bin/pmcollectl", line 253, in print_header1
      self.print_header1_brief()
    File "/usr/bin/pmcollectl", line 501, in print_header1_brief
      ndashes = (((len(self.interrupt_metric_value[0])) * 6) - 6) / 2
TypeError: object of type 'long' has no len()

Any clues?


Hmm, well it looks like its failing because its trying to get the
length of a long whereas its expecting to be getting the length of
a list.  I think.  Is this a single CPU machine?

Yep all the failing cases are single CPU machines.

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