A path in the compiled version of config.py is wrong. It is correct in the config.py file. If I delete the config.pyc file then qmtest works. The problem appears to be that the qm.prefix path is set to /var/tmp/portage/dev-util/qmtest-2.4/image/ when it should be set to /usr. Reproducible: Always Steps to Reproduce: 1. run qmtest 2. get crash 3. Actual Results: jb@io /usr/lib/python2.4/site-packages/qm $ qmtest Traceback (most recent call last): File "/usr/bin/qmtest", line 126, in ? qm.diagnostic.load_messages("test") File "usr/lib/python2.4/site-packages/qm/diagnostic.py", line 204, in load_messages File "usr/lib/python2.4/site-packages/qm/diagnostic.py", line 154, in get_diagnostic_set File "usr/lib/python2.4/site-packages/qm/diagnostic.py", line 83, in ReadFromFile IOError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-util/qmtest-2.4/image/share/qmtest/diagnostics/common.txt' jb@io /usr/lib/python2.4/site-packages/qm $ Expected Results: jb@io /usr/lib/python2.4/site-packages/qm $ qmtest qmtest: error: Specify a command. Run 'qmtest --help' to get instructions about how to use QMTest. jb@io /usr/lib/python2.4/site-packages/qm $
This gets python stuff all wrong... http://www.gentoo.org/proj/en/Python/developersguide.xml
Yep, I have cleanup here pending. I just haven't had a chance to test it and commit.
Okay, all the issues here should be resolved. 2.3 and 2.4 both use distutils and 2.4 now fixes the broken paths during the install phase.