https://bugzilla.redhat.com/show_bug.cgi?id=1299806
Bug ID: 1299806
Summary: Python PMAPI pmRegisterDerived does not return error
string
Product: Fedora
Version: 23
Component: pcp
Assignee: nathans@xxxxxxxxxx
Reporter: myllynen@xxxxxxxxxx
QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
pcp@xxxxxxxxxxx, scox@xxxxxxxxxx
Description of problem:
See the attachment in bug 1286733 (URL:
https://bugzilla.redhat.com/attachment.cgi?id=1100522), for a code like:
try:
self.context.pmRegisterDerived("foo", "rat(disk.dev.read)")
except:
print self.context.pmDerivedErrStr()
It currently prints:
$ python test.py
REGISTERED 1
EXCEPTION 2
None
But libpcp gets it right:
http://oss.sgi.com/pipermail/pcp/2016-January/009333.html
So this looks like a Python PMAPI issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=QFcx5ZtUNg&a=cc_unsubscribe
|