Can't syncdb
After stepping away from the tutorial a bit, I decided to get working on part 2. I am in my /vagrant/projects/microblog folder, and I tried the command 'python manage.py syncdb'. It reutrns an error:
Traceback (most recent call last):
File "manage.py", line 8, in
I haven't really changed anything, so I'm not sure why this isn't working anymore. Any thoughts?
Sorry You must be a logged in, registered user to answer a question.
Answers
Only other thing I can think of is that you don't actually have Django installed. Once you source your environment, run pip install django==1.4.3 (to closely match the lessons).
Very peculiar, especially since I've already been through lesson 1. I tried re-installing Django (and several version) with no success. I may just go back and start over.
Koji
on
Very peculiar, especially since I've already been through lesson 1. I tried re-installing Django (and several version) with no success. I may just go back and start over.
Koji
on
Did you source the environment again? source ~/blog-env/bin/activate in my setup.
After some research it looks like a lot of people run into this problem when they've upgraded Python or Django versions, and often times need to redirect which directory things point to. I've not changed anything or any versions since completing Lesson 1, so that's interesting.
Koji
on
If I try and run any other command such as "python manage.py runserver 0.0.0.0:8000" I get the same error. It seems like a link or something has been lost. Anyone have any ideas what that may be? Maybe something was overwritten?
Koji
on
Yeah, that was my first though. I have the (blog-venv) in my command line and all that jazz. I'm going to try and work back through a few steps maybe.
Koji
on