Saturday, October 1, 2011

Re: `manage.py syncdb` fails, but what does the error mean?

I was too quick there, because just after sending the last email, I
found the problem. It seemed, that the copy of South, that Snowy
bundles in /lib/south, was the culprit. When I deleted it, and
installed south in my virtualenv instead, things started working.

Thank you for your help!

On Sun, Oct 2, 2011 at 8:27 AM, christoffer.buchholz@gmail.com
<christoffer.buchholz@gmail.com> wrote:
> All right. I have now tried renaming my virtualenv to Snowyv, so no
> mix-up would occur. That didn't solve the problem, the error is the
> same.
> I have not Snowy install globally. The only copy I have of Snowy, is
> the one I have in /home/cb/Projects/snowy. I also use virtualenv
> (/home/cb/.virtualenvs/snowy), so no mix-up should occur even if I
> did, but I don't.
>
> I can understand, from what've said, that some misunderstanding about
> the directories and such, is what is going on, but I don't think this
> is it, unfortunately.
>
> On Sun, Oct 2, 2011 at 6:11 AM, Ramiro Morales <cramm0@gmail.com> wrote:
>> On Sat, Oct 1, 2011 at 8:06 AM, chrisbuchholz
>> <christoffer.buchholz@gmail.com> wrote:
>>> Hey,
>>>
>>> I have this django 1.2 app, Snowy[1], that I try to get to run locally. But
>>> everytime I do `manage.py syncdb` I get this[2] error, but I have no idea
>>> what it means.
>>>
>>> Snowy uses, by default django 1.2, python 2 and SQLite3, and at first, I
>>> thought it was because that django couldnt talk to SQLite3, but if I create
>>> a new django 1.2 app in a python 2 environment, it works fine, so that is
>>> not it.
>>>
>>> I have no idea what the error means, and the Snowy devs haven't been able to
>>> help me out either. I hope some of you guys can.
>>>
>>> [1]: http://git.gnome.org/browse/snowy
>>> [2]: http://paste.pocoo.org/show/485318/
>>
>> Your traceback shows you have a weird mixup of paths, both
>> /home/cb/.virtualenvs/snowy/ and /home/cb/Projects/snowy/
>> appear as locations of the snowy app.
>> Perhaps you created a virtualenv with a copy of the app
>> there but already have a global one?.
>>
>> Also, is seems the app ships a copy of several third party
>> django apps (like south) inside their lib/ subdir.
>>
>> --
>> Ramiro Morales
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>>
>>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment