Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sets a 500 millisecond timeout.

How to install the qpid-tools for c++ booker?

I see

Code Block

[commands]$ ./qpid-queue-stats
 Traceback (most recent call last):
 File "./qpid-queue-stats", line 29, in
 from qmf.console import Session, Console
 ImportError: No module named qmf.console 

This problem occurs because the PYTHONPATH environment variable does not include the location of the qpid python files. If you are running from the SVN checkout, add <path>/qpid/python to PYTHONPATH (where <path> is the location of your SVN tree). If you are installing from source, make sure you configure with the same prefix where Python is installed. This is most likely:

Code Block

# configure --prefix=/usr
# make
# make install

If you are running from vendor RPMs, this should work automatically.