https://bugzilla.redhat.com/show_bug.cgi?id=1262723
Bug ID: 1262723
Summary: Can't specify multiple archives with Python PMAPI
Product: Fedora
Version: 22
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:
PCPIntro(1) says:
-a archive[,archive,...]
An alternate form of -a for applications that are able to handle
multiple archives.
This indeed works just fine with e.g. pmval(1).
However, when passing an archive list to any Python client over Python PMAPI:
No such file or directory ['/tmp/20150910.10.41,/tmp/20150911.13.14']
Traceback (most recent call last):
File "/tmp/test.py", line 125, in <module>
T.connect()
File "/tmp/test.py", line 114, in connect
self.context = pmapi.pmContext.fromOptions(self.opts, sys.argv)
File "/usr/lib64/python2.7/site-packages/pcp/pmapi.py", line 1085, in
fromOptions
context = builder(typed, source)
File "/usr/lib64/python2.7/site-packages/pcp/pmapi.py", line 1044, in
__init__
raise pmErr(self._ctx, [target])
pmErr: No such file or directory ['/tmp/20150813.10.41,/tmp/20150911.23.14']
pmSetLongOptionArchiveList() and pmSetLongOptionHostList() experience similar
issue as well.
Version-Release number of selected component (if applicable):
python-pcp-3.10.6
--
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=uWiCLvUKpY&a=cc_unsubscribe
|