enable to find common.txt under MacOSX

Philippe Makowski makowski at firebird-fr.eu.org
Sun Jul 8 15:32:33 UTC 2007


Hi,

I have some problem under MacOsx
my common.txt is under :
 /Library/Frameworks/Python.framework/Versions/2.4/share/qm/diagnostics/

and I get the following error (I also get this error on some Linux
Install), can I solve it by setting en environemment variable or any
other trick ?


 File "qmedit.py", line 38, in OnInit
    self.model = qmedit_model.qmDatabaseWrapper()
  File "/Users/philippe/fbtest/qmedit_model.py", line 52, in __init__
    qm.diagnostic.load_messages("test")
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/qm/diagnostic.py",
line 210, in load_messages
    get_diagnostic_set().ReadFromFile(diagnostic_file)
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/qm/diagnostic.py",
line 154, in get_diagnostic_set
    "common.txt"))
  File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/qm/diagnostic.py",
line 83, in ReadFromFile
    file = open(path, "r")
IOError: [Errno 2] No such file or directory:
'c:/Python24/share/qm/diagnostics/common.txt'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20070708/80223da9/attachment.pgp>


More information about the qmtest mailing list