Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

enable to find common.txt under MacOSX


  • To: qmtest@xxxxxxxxxxxxxxxx
  • Subject: enable to find common.txt under MacOSX
  • From: Philippe Makowski <makowski@xxxxxxxxxxxxxxxxxx>
  • Date: Sun, 08 Jul 2007 17:32:33 +0200

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'


Attachment: signature.asc
Description: OpenPGP digital signature