On Tue, Sep 9, 2008 at 11:39 AM, Haku <[EMAIL PROTECTED]> wrote:

>
> Hello, i'm quite frustrated by this problem.
> Today i had the  idea to update my svn from the old 0.97 to the 1.0
> release, and now nothing is working anymore.
>

0.97 was never an official release.  So, you were running some revision
pulled from SVN.  Before upgrading it would have been helpful if you noted
the specific revision reported by 'svn info'.  That would have given you the
ability to svn up -rnnnn back to that revision in case of any migration
difficulties.


> I always get an anonymous "Internal Server Error"
> Maybe because my project included mptt, but the fact is that i cant
> figure out why it is crashing. Seems like it's the slug fields but i
> don't really know.
>

The error is not so anonymous.  You include the traceback below.  For easier
debug on the upgrade, you might want to consider setting DEBUG to True until
you complete the migration  to 1.0.  That way you will get pretty debug
pages instead of the basic Internal Error page with the actual traceback
hidden in a logfile.


>
> Is there a solution? Or maybe, how can i return to my loved 0.97
> version?


You need to update your code to account for the backwards-incompatible
changes made between whatever version you had and the 1.0 code.  You
probably want to read:

http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide

as a start.


> [snip]

[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
> PythonHandler django.core.handlers.modpython: TypeError: __init__()
> got an unexpected keyword argument 'prepopulate_from'
>

For this particular error, search for 'prepopulate_from' on that page I
pointed to above and you'll see this is related to the new admin in 1.0.
There are going to be other things you will need to change as well to get
admin working on 1.0, follow the porting guide though and you should be able
to get things running again with relatively little pain.

Karen

--~--~---------~--~----~------------~-------~--~----~
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