pcp
[Top] [All Lists]

Re: [pcp] python api unicode exception

To: Martins Innus <minnus@xxxxxxxxxxx>
Subject: Re: [pcp] python api unicode exception
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun, 27 Sep 2015 23:00:51 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56056BAF.7020308@xxxxxxxxxxx>
References: <5601A12A.6070109@xxxxxxxxxxx> <1230140677.42710858.1443161348565.JavaMail.zimbra@xxxxxxxxxx> <56056BAF.7020308@xxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: xFIUq0NCmrlKjSCL3i0J7S5xWGak8A==
Thread-topic: python api unicode exception

----- Original Message -----
> Nathan,
> 
> On 9/25/15 2:09 AM, Nathan Scott wrote:
> >
> > ----- Original Message -----
> >> [...]
> > Could you review & verify the master branch for your failing case?  Taa.
> >
> Unfortunately still fails for our test case.  I'll send you the archive
> off list since its a bit large and may have some local user information.
> 
> [minnus@pcp3:minnu]$ ./procpid.python --archive out
> Traceback (most recent call last):
>    File "./procpid.python", line 57, in <module>
>      manager['proc'] = PROC_METRICS
>    File "/data/opt/supremm/lib64/python2.7/site-packages/pcp/pmcc.py",

Oh, its failing on python2 - I'd thought it was python3 and had only checked
that so far, sorry.

> Changing the utf-8 to ascii on the offending line allows the test to pass.

Yep, fixed - thanks Martins!

cheers.

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