Error when calling the metaclass bases?

105 views
Skip to first unread message

Drumpet

unread,
Jan 28, 2012, 7:58:35 PM1/28/12
to glamkit-users
Hi,

I'm trying to use ixc eventtools, and I get this error:


File "/usr/local/lib/python2.6/site-packages/
glamkit_eventtools-2.0.0a1-py2.6.egg/eventtools/models/event.py", line
241, in __new__
manager = cls._event_meta.event_manager_class(cls._mptt_meta)
#since EventTreeManager subclasses TreeManager, it also needs the mptt
options
TypeError: Error when calling the metaclass bases
__init__() takes exactly 1 argument (2 given)

This is when trying to run the supplied example code. I have mptt
0.5.2 installed.

Anybody else getting this?

Drumpet

unread,
Jan 28, 2012, 9:37:30 PM1/28/12
to glamkit-users
Turns out this works if you use django-mptt 0.4.2.
Reply all
Reply to author
Forward
0 new messages