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

MRO error #124

Open
reduxdj opened this issue Sep 20, 2013 · 2 comments
Open

MRO error #124

reduxdj opened this issue Sep 20, 2013 · 2 comments

Comments

@reduxdj
Copy link
Contributor

reduxdj commented Sep 20, 2013

Traceback (most recent call last):
File "./listsurf.py", line 10, in
from handlers import (AccountLoginHandler,
File "/Users/dj/listsurf/handlers.py", line 11, in
from brubeck.models import User
File "/Users/dj/.virtualenvs/listsurf/lib/python2.7/site-packages/brubeck-0.4.0-py2.7.egg/brubeck/models.py", line 97, in
class UserProfile(Model, OwnedModelMixin, StreamedModelMixin):
File "build/bdist.macosx-10.7-intel/egg/schematics/models.py", line 146, in new

TypeError: Error when calling the metaclass bases
Cannot create a consistent method resolution
order (MRO) for bases Model, StreamedModelMixin, OwnedModelMixin

@reduxdj
Copy link
Contributor Author

reduxdj commented Sep 20, 2013

same as:

from brubeck.models import UserProfile

gives me this:
class UserProfile(Model, OwnedModelMixin, StreamedModelMixin):
File "/Users/dj/.virtualenvs/listsurf/lib/python2.7/site-packages/schematics/models.py", line 146, in new
klass = type.new(cls, name, bases, attrs)
TypeError: Error when calling the metaclass bases
Cannot create a consistent method resolution
order (MRO) for bases StreamedModelMixin, OwnedModelMixin, Model

@reduxdj
Copy link
Contributor Author

reduxdj commented Sep 29, 2013

The Model Mixins should come out of brubeck...

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