-
Notifications
You must be signed in to change notification settings - Fork 17
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
Working with latest django 1.6x? #16
Comments
I can have a look. Can you elaborate on "lot of errors"? Try with Django 1.4 and post the stacktrace you get. |
Alright. I looked it up, and it only works up to django 1.3.x I have pinned all packages in the requirements.txt file and explained how to install using pip. Can you please try, in a fresh virtualenv, |
Hi tobami, Thanks for helping out. I have 2 problems after following your approach. FYI, I am using python 2.7.6. a) Traceback (most recent call last): I am currently testing this on ubuntu 14.04 LTS server. I tested on server based versions, still same issue. I have setup OpenSSH server too, but no difference. However, if I manually created the folder .ssh and id_rsa.pub following this tutorial https://help.ubuntu.com/community/SSH/OpenSSH/Keys and manually update the settings.py from "~/.ssh/%s" to "/root/.ssh/%s" then this error will be gone. Not sure this is the right way to overcome the problem? b) However, if I try to run "sudo python manage.py syncdb", I get a new error. File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassing.py", line 113, in contribute_to_class Quite long errors, but at the end is a max recursion issue. However if I upgrade to django latest version, that error will disappear but more errors will popup e.g. importmodule not found... Any tips? Thanks. |
Using sudo can cause several problems. Did you try to use the keys you created in your home directory? And no, don't try to update django. We can address tha later On Wed, May 28, 2014 at 2:50 AM, ericmachine88 notifications@github.com
|
Thanks tobami. When I define under a non root user a ssh keys, then when I run the code below python manage.py syncdb Now it works fine. No error anymore :) However when I run this code below python manage.py celeryd -l info I got a new error Traceback (most recent call last): Any idea how to solve this? Thanks in advance :) |
I tried to ignore running this as I have no idea python manage.py celeryd -l info When I run this python manage.py runserver I am able to login and create a new provider for EC2 But when I create a new node. I can't see any values in the dropdown for both images and sizes. Any idea? Thanks. |
I committed another fix to the package versions. Now celery is pinned to 2.5, which fixes the import error you are seeing. |
The reason you don't see any values in the dropdown is probably because you didn't have the celery queue working. It is used for all background tasks, so it is necessary. For exmple, when you create a new EC2 provider, a background task fetches all VM types and images available on EC2. One you get celeryd running, try to create a new EC2 provider and tell me whether it works! Thanks for reporting all the problems you encounter. The project has not seen active development in the last two years, but that is no excuse for not having pinned the package requirements right in the first place! Thanks to you we can at least leave a working |
Have anyone tried to make it work with the latest django and other dependencies?
I am getting a lot of errors, even I force django==1.2.
Any help? Thanks.
The text was updated successfully, but these errors were encountered: