Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test and syncdb failed (Django 1.4, Windows 7) #22

Open
taivo opened this issue May 15, 2012 · 0 comments
Open

test and syncdb failed (Django 1.4, Windows 7) #22

taivo opened this issue May 15, 2012 · 0 comments

Comments

@taivo
Copy link

taivo commented May 15, 2012

Running the glamkit-eventtools test suite yields the error message below. When I copy the code for ExampleVenue, ExampleEvent, ExampleOccurrence from tests\eventtools_testapp into my models.py and run syncdb, I get the same error.

This error occurs in both the ixc branch and this glamkit branch.

Relevant specs:
Django 1.4
Windows 7
glamkit-eventtools v2.0.0a1

...
File "C:\path\to\models.py", line 17, in <module>
    class ExampleEvent(EventModel):
  File "C:\path\to\virtualenv\src\glamkit-eventtools\eventtools\models\event.py", line 230, in __new__
    manager = EventTreeManager(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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant