On Wed, 21 Jan 2004 10:36:07 +0100 (Romance Standard Time) Xavier Nodet <[EMAIL PROTECTED]> wrote:
XN> > If you put the script in the same directory as M.exe (where is the script XN> > now BTW?) XN> XN> In the CVS tree: in M/src/Python/Scripts/Minit.py Sorry, I don't have time to look at this no but if you have a moment, please check what is going on with PYTHONPATH ini InitPython() in src/Python/InitPython.cpp. TIA! XN> > it should definitely find it. XN> XN> It does. But to make it work I had to prepend an '_' before the name of XN> all modules: This is just not right... _Foo is the class implemented in C, you should be really using Foo which is a Python wrapper adding a few crucial things to the C code. For a change, I think I know what happens here however: it doesn't find the MailFolder.py file neither. Normally it is installed in Python subdirector of the installation directory by the setup but if you haven't run it you should copy src/Python/*.py-swig files there manually (removing the "-swig" suffix of cource). XN> > Which version of Python do you have? XN> XN> 2.3.3 Ok, so this is not a problem, I have 2.3.2 which is almost the same. Bye, VZ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
