Bug 712018

Summary: qmf-tool 'Exception in list command: exceptions must be old-style classes or derived from BaseException, not str'
Product: Red Hat Enterprise MRG Reporter: Frantisek Reznicek <freznice>
Component: qpid-qmfAssignee: Ernie <eallen>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, iboverma, jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-29 13:28:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frantisek Reznicek 2011-06-09 09:48:35 UTC
Description of problem:

qmf-tool prints exception:
Exception in list command: exceptions must be old-style classes or derived from BaseException, not str

on command 'list packages' command

Version-Release number of selected component (if applicable):
libvirt-qpid-0.2.22-6.el6.x86_64
matahari-0.4.0-5.el6.x86_64
matahari-agent-lib-0.4.0-5.el6.x86_64
matahari-broker-0.4.0-5.el6.x86_64
matahari-debuginfo-0.4.0-5.el6.x86_64
matahari-host-0.4.0-5.el6.x86_64
matahari-lib-0.4.0-5.el6.x86_64
matahari-net-0.4.0-5.el6.x86_64
matahari-service-0.4.0-5.el6.x86_64
python-qpid-0.10-1.el6.noarch
python-qpid-qmf-0.10-10.el6.x86_64
qpid-cpp-client-0.10-6.el6.x86_64
qpid-cpp-client-devel-0.10-6.el6.x86_64
qpid-cpp-client-devel-docs-0.10-6.el6.noarch
qpid-cpp-client-rdma-0.10-6.el6.x86_64
qpid-cpp-client-ssl-0.10-6.el6.x86_64
qpid-cpp-debuginfo-0.10-6.el6.x86_64
qpid-cpp-server-0.10-6.el6.x86_64
qpid-cpp-server-cluster-0.10-6.el6.x86_64
qpid-cpp-server-devel-0.10-6.el6.x86_64
qpid-cpp-server-rdma-0.10-6.el6.x86_64
qpid-cpp-server-ssl-0.10-6.el6.x86_64
qpid-cpp-server-store-0.10-6.el6.x86_64
qpid-cpp-server-xml-0.10-6.el6.x86_64
qpid-java-client-0.10-6.el6.noarch
qpid-java-common-0.10-6.el6.noarch
qpid-java-example-0.10-6.el6.noarch
qpid-java-jca-0.10-6.el6.noarch
qpid-qmf-0.10-10.el6.x86_64
qpid-qmf-debuginfo-0.10-10.el6.x86_64
qpid-qmf-devel-0.10-10.el6.x86_64
qpid-tests-0.10-1.el6.noarch
qpid-tools-0.10-5.el6.noarch
rh-qpid-cpp-tests-0.10-6.el6.x86_64
ruby-qpid-0.7.946106-2.el6.x86_64
ruby-qpid-qmf-0.10-10.el6.x86_64
sesame-0.10-1.el6.x86_64
sesame-debuginfo-0.10-1.el6.x86_64


How reproducible:
100%


Steps to Reproduce:
0. run broker
1. qmf-tool
2. 'list packages'
  
Actual results:
qmf: list packages
Exception in list command: exceptions must be old-style classes or derived from BaseException, not str

Expected results:
List of packages...

Additional info:
[root@dhcp-26-168 python]# qmf-tool
Management Tool for QMF
qmf: list
No Query Results - Use the 'query' command
qmf: list packages
Exception in list command: exceptions must be old-style classes or derived from BaseException, not str
qmf: help
Management Tool for QMF

Agent Commands:
    set filter <filter-string> - Filter the list of agents
    show filter                - Show the agent filter currently in effect
    list agents                - Print a list of the known Agents
    show agent <item-number>   - Print detailed information about an Agent
    set default <item-number>  - Set the default agent for operations

Schema Commands:
    list packages                            - Print a list of packages supported by the default agent
    list classes [<package-name>]            - Print all classes supported byt the default agent
    show class <class-name> [<package-name>] - Show details of a class

Data Commands:
    query <class-name> [<package-name>] [<predicate>] - Query for data from the agent
    list                                              - List accumulated query results
    clear                                             - Clear accumulated query results
    show <id>                                         - Show details from a data object
    call <id> <method> [<args>]                       - Call a method on a data object

General Commands:
    set time-format short           - Select short timestamp format (default)
    set time-format long            - Select long timestamp format
    quit or ^D                      - Exit the program