pcp
[Top] [All Lists]

Re: [pcp] [RFC] pcp python patch

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] [RFC] pcp python patch
From: David Smith <dsmith@xxxxxxxxxx>
Date: Thu, 04 Dec 2014 15:49:25 -0600
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5474E795.7010302@xxxxxxxxxx>
References: <54512E80.9090302@xxxxxxxxxx> <54667179.1060605@xxxxxxxxxx> <370186244.15487866.1416205739744.JavaMail.zimbra@xxxxxxxxxx> <546A44F0.1070001@xxxxxxxxxx> <207038253.507858.1416264783839.JavaMail.zimbra@xxxxxxxxxx> <546A7EDD.9000009@xxxxxxxxxx> <134603578.1719924.1416389380267.JavaMail.zimbra@xxxxxxxxxx> <546FB61C.2090103@xxxxxxxxxx> <1332365833.3983034.1416785912055.JavaMail.zimbra@xxxxxxxxxx> <5473B52D.2030004@xxxxxxxxxx> <5474E795.7010302@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
On 11/25/2014 02:33 PM, David Smith wrote:
> On 11/24/2014 04:46 PM, David Smith wrote:
>> On 11/23/2014 05:38 PM, Nathan Scott wrote:
>>> Hi David,

... stuff deleted ...

>>> Odd.  Only thing I can think of is a python version difference - I'm
>>> using RHEL6 on my primary test machine, which has a relatively old
>>> python version.  I'll have another go and look more deeply into the
>>> failures.
>>
>> Hmm, I'll try running this code on RHEL6 (instead of F20) and see what I
>> get.
> 
> I'm seeing failures on RHEL6 also, digging into it now.

Fixed in commit de90566 in the dsmith/dev branch of pcpfans.git. The
ctypes.Structure class on python 2.6 only supported the older python
buffer interface. The code handles both the older and newer buffer
interfaces now.

-- 
David Smith
dsmith@xxxxxxxxxx
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

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