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
_______________________________________________
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]