On Thu, 18 Dec 2003 12:25:29 +1000 [EMAIL PROTECTED] wrote:

> Unfortunately, my current M is a segfault build

 It really shouldn't. Please rebuild everything properly, the backtraces
you showed were clearly from mismatching versions of M/wxWindows.

> We now need to figure out a way to get Python to tell us what functionswe
> have in  the M related modules.

 Huh? This is what the .i files are for...

> I tried making the following script:
> 
> import Message
> import MAppBase
> import MailFolder
> import MProfile
> import MString
> import MObject

 These "import"s only work inside M as you probably know.

> f = open("/home/markl/output","w")
> print >> f, dir("Message"), dir("MAppBase"), dir("MailFolder"), dir("MProfile"), 
> dir("MString"), dir("MObject")
> f.close()
>  
> Unfortunately, I got a *dir* but not of the modules as I hoped for.

 No, you got dir() of string object. You should do "dir(Message)" (without
quotes) to get the contents of the module Message.

 However I still don't understand why do you need to do this at all. All
you need is in the .i files...

 Regards,
VZ



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to