On Mar 8, 6:41 pm, "zehi" <[EMAIL PROTECTED]> wrote:
> All Right. It seems to be a problem somewhere else:
>
> Both, localy and on server I run python 2.5. It looks like, that
> diamanda installation procedure is calling older python version
> 2.4.... ??? Is it possible?
>
> sample:
>
> [EMAIL PROTECTED] raw]$ python manage.py syncdb
> [EMAIL PROTECTED] raw]$ cd ..
> [EMAIL PROTECTED] django_current_python_25]$ export
> DJANGO_SETTINGS_MODULE=raw.settings
> [EMAIL PROTECTED] django_current_python_25]$ export PYTHONPATH=$PWD
> [EMAIL PROTECTED] django_current_python_25]$ django-admin.py syncdb
> Traceback (most recent call last):
>   File "/home2/zehi/bin/django-admin.py", line 5, in ?
>     management.execute_from_command_line()
>   File "/home2/zehi/lib/python2.4/django/core/management.py", line
> 1238, in execute_from_command_line
>     translation.activate('en-us')

[snip]

This alone tells me that your djang-admin.py is using python2.4,
unless you have your ~/lib all messed up. :)

Check the django-admin.py source's shebang (first line) and see if
it's calling 2.4 specifically?

Other than that, it still sounds like a database problem for the first
part.  I'd still consider looking at your table's defaults.  This
latest error looks like Python can't find your modules, which, again,
appears to be because of the version you think you're running not
being the version you're actually running. :)

> It's over my head yet. Somebody has experience with that?
>

Everything is typically over my head when it comes to Django, but I'm
getting there.  :)  Best bet: focus more on Python than the "Django
Way" and it will make more sense as you learn.

--
Michael
http://tsal.arikel.net


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to