Closed kevgathuku closed 9 years ago
Hi @kevgathuku. Thanks for reporting this. Have you told django to use the the auth backend django_stormpath.backends.StormpathBackend
and to use django_stormpath.StormpathUser
as the UserModel?
That would be something that I would quickly check. Just FYI, US is currently on holiday so my team will be able to dig into this further early next week.
Hi @omgitstom I've already set those options in the settings. Anyway, I am happy to wait till the holidays are over. Enjoy your holidays
Update: After trying this again on a completely different app, the command is taking unusually long after which I now get a totally different error:
Error: maximum recursion depth exceeded in cmp
.
No signs of the original error
The line:
File "../lib/python2.7/site-packages/stormpath/http.py", line 78, in request return self.request('GET', r.headers['location'], params=params)
is contantly repeated in the error message
Hope that will help in getting this fixed.
I figured this out finally. I was setting the wrong STORMPATH_APPLICATION setting.
When I try to create a user with
UserModel.objects.create()
shown in the example, it always raisesstormpath.error.Error: The requested resource does not exist.
The same error is raised when I try to create a superuser. I've already set the STORMPATH_ID, STORMPATH_SECRET and STORMPATH_APPLICATION settings. Using Python 3.4 and Django 1.7.1 Any ideas on what might be wrong?