Description of problem: The management scripts - qpid-config, qpid-printevents, qpid-queue-stats, qpid-route fail to executed due to a missing dep. Version-Release number of selected component (if applicable): python-qpid-0.4.728142-2.fc10 How reproducible: Always Steps to Reproduce: 1. Just try to run one of the scripts Actual results: # qpid-config Traceback (most recent call last): File "/usr/bin/qpid-config", line 26, in <module> from qmf.console import Session ImportError: No module named qmf.console # qpid-printevents Traceback (most recent call last): File "/usr/bin/qpid-printevents", line 27, in <module> from qmf.console import Console, Session ImportError: No module named qmf.console # qpid-queue-stats Traceback (most recent call last): File "/usr/bin/qpid-queue-stats", line 29, in <module> from qmf.console import Session, Console ImportError: No module named qmf.console # qpid-route Traceback (most recent call last): File "/usr/bin/qpid-route", line 27, in <module> from qmf.console import Session, BrokerURL ImportError: No module named qmf.console Additional info: # rpm -ql python-qpid | grep -i qmf (empty) $ tar tzvf python-qpid-0.4.728142.tar.gz | grep -i qmf drwxrwxr-x nsantos/nsantos 0 2008-12-23 15:41:19 python-qpid-0.4.728142/qmf/ -rw-rw-r-- nsantos/nsantos 53899 2008-12-16 18:29:38 python-qpid-0.4.728142/qmf/console.py -rw-rw-r-- nsantos/nsantos 791 2008-11-20 20:28:17 python-qpid-0.4.728142/qmf/__init__.py The python-qpid RPM doesn't include the qmf files.
Created attachment 328433 [details] patch to install the qmf module (and the examples) The specfile file adds the missing qmf module and also adds the example files as docs (see #478467)
python-qpid-0.4.728142-3.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/python-qpid-0.4.728142-3.fc9
python-qpid-0.4.728142-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/python-qpid-0.4.728142-3.fc10
Thanks for the patch! The qmf issue has been fixed at python-qpid-0.4.728142-3.fc10. There's a pending update at: https://admin.fedoraproject.org/updates/python-qpid-0.4.728142-3.fc10 Regarding the examples, the plan is to package them in a separate package which will also include docs and tutorials, so I haven't added them here. Nuno
(In reply to comment #4) > Thanks for the patch! > > The qmf issue has been fixed at python-qpid-0.4.728142-3.fc10. There's a > pending update at: > https://admin.fedoraproject.org/updates/python-qpid-0.4.728142-3.fc10 Thanks. > Regarding the examples, the plan is to package them in a separate package which > will also include docs and tutorials, so I haven't added them here. Based on the answer I got from Ted Ross a couple of weeks ago [1], I thought the idea was to package the examples with the client bindings and that's why I tried to get the python examples being packaged. But if the new plan is to package them together I will have to wait for the new package :( /jpo [1] - https://fedoraproject.org/wiki/Talk:Features/AMQP_Infrastructure
You are correct, I wasn't aware that the decision to include the examples in the client packages had already been made when I wrote the comment above. I will re-spin to include examples soon.
python-qpid-0.4.728142-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
python-qpid-0.4.728142-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.