Um....I have a question. Why is the from RAClasses import * showing up in the import Dabo statement?
On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > TypeError: Error when calling the metaclass bases > module.__init__() takes at most 2 arguments (3 given) > > Traceback (innermost last): > > File "d:\pyProject\pyProject\LotsMfrm1.py", line 1, in <module> > import dabo > File "d:\pyProject\pyProject\LotsMfrm1.py", line 5, in <module> > from RAClasses import * > File "d:\pyProject\pyProject\RAClasses.py", line 1046, in <module> > class RALookupfn(dabo.dObject): > > Is all that it says > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Ed Leafe > Sent: Wednesday, June 13, 2007 4:48 PM > To: Dabo Users list > Subject: Re: [dabo-users] Class definition > > On Jun 13, 2007, at 4:45 PM, <[EMAIL PROTECTED]> wrote: > > > I have a class based on "object" that is running ok. Now, I would > > like to base it on "dObject" to be able to access dabo functionality, > > such as afterInit. However when I changed it, the following error is > > raised ... > > > > TypeError: Error when calling the metaclass bases > > module.__init__() takes at most 2 arguments (3 given) > > > > For example: > > def myClass(object) > > vs > > def myClass(dabo.dObject) > > > > Can you tell me what is going on? > > It's telling you that the problem is too many arguments to the > __init__() method, which means that you are somehow not passing the right > arguments at instantiation time. > > Can you provide the full traceback? It should show the offending > statement. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
