I get this alot also. Webware occasionally not being able to see inside modules. then after touching the file (Often just adding a space to an empty line) or something it can see in it again.
Tis verry puzzling. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." ----George W. Bush On Sat, 10 Apr 2004, Brian Wotring wrote: > > I have a python module that I created with swig, and am seeing a basic > problem when trying to use it in my writeContent() method of a newly > created WebKit context. > > Hopefully this isn't off-topic, but I only see this error when using it > in my WebKit app. If I do the following: > > #!/usr/local/bin/python > import example > s = example.mystruct() > > I have no problems, but in my context, I have: > > from WebKit.Page import Page > import example > > class Main(Page): > > def title(self): > return 'example title' > > def writeContent(self): > s = example.mystruct() > > and receive the following error: > > AttributeError: 'module' object has no attribute 'mystruct' > > In fact, everything I try to reference in the example module fails with > this error. I didn't see anything in the archives related to this, > hopefully this is just basic ignorance on my part. Can anyone tell me > what am I doing wrong here? > > -confused newbie. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
