pcp
[Top] [All Lists]

Re: [pcp] python QA/709 failures

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Stan Cox <scox@xxxxxxxxxx>
Subject: Re: [pcp] python QA/709 failures
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun, 24 Mar 2013 19:13:23 -0400 (EDT)
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <514CDCB4.9090508@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>

----- 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?

cheers.

--
Nathan

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