pcp
[Top] [All Lists]

Re: fetchgroup qa/859 failure

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: fetchgroup qa/859 failure
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sun, 24 Jan 2016 12:38:23 +1100
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0m37tnye47.fsf@xxxxxxxx>
References: <56A41CC1.8060103@xxxxxxxxxxxxxxxx> <y0m37tnye47.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
On 24/01/16 12:12, Frank Ch. Eigler wrote:

kenj wrote:

[...]
!   File "/usr/lib64/python2.6/site-packages/pcp/pmapi.py", line 2138, in 
__init__
!     self.stss = stss_t(c_api.PM_ERR_VALUE)
! IndexError: invalid index

Interesting, that is meant to be an initialization, not an
index-operation; it must have changed between older & newer
python-ctypes.  But it's redundant: the C pmfg also initializes those
variables.  So, how about switching to:
...

Patch fixes qa/859 on the failing platform I'm concentrating on at the moment.

Same question as before, shall I commit and push?

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