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.

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.

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

Sorry for the dumb questions and the bad english!

--- IF THIS CAN HELP, THIS IS THE ERRORS I GET FROM THE LOG FILE
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython: Traceback (most recent
call last):
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n    result = object(req)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/core/handlers/modpython.py", line 222,
in handler\n    return ModPythonHandler()(req)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/core/handlers/modpython.py", line 195,
in __call__\n    response = self.get_response(request)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/core/handlers/base.py", line 67, in
get_response\n    response = middleware_method(request)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/home/django/
intranet_pini/../intranet_pini/middleware/threadlocals.py", line 12,
in process_request\n    _thread_locals.user = getattr(request, 'user',
None)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/contrib/auth/middleware.py", line 5, in
__get__\n    request._cached_user = get_user(request)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/contrib/auth/__init__.py", line 83, in
get_user\n    user_id = request.session[SESSION_KEY]
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/contrib/sessions/backends/base.py",
line 46, in __getitem__\n    return self._session[key]
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/contrib/sessions/backends/base.py",
line 172, in _get_session\n    self._session_cache = self.load()
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/contrib/sessions/backends/db.py", line
16, in load\n    expire_date__gt=datetime.datetime.now()
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/manager.py", line 93, in get
\n    return self.get_query_set().get(*args, **kwargs)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/query.py", line 297, in get
\n    clone = self.filter(*args, **kwargs)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/query.py", line 483, in filter
\n    return self._filter_or_exclude(False, *args, **kwargs)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/query.py", line 501, in
_filter_or_exclude\n    clone.query.add_q(Q(*args, **kwargs))
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/sql/query.py", line 1224, in
add_q\n    can_reuse=used_aliases)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/sql/query.py", line 1099, in
add_filter\n    negate=negate, process_extras=process_extras)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/sql/query.py", line 1275, in
setup_joins\n    field, model, direct, m2m =
opts.get_field_by_name(name)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/options.py", line 281, in
get_field_by_name\n    cache = self.init_name_map()
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/options.py", line 311, in
init_name_map\n    for f, model in
self.get_all_related_m2m_objects_with_model():
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/options.py", line 388, in
get_all_related_m2m_objects_with_model\n    cache =
self._fill_related_many_to_many_cache()
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/options.py", line 402, in
_fill_related_many_to_many_cache\n    for klass in get_models():
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/loading.py", line 136, in
get_models\n    self._populate()
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/loading.py", line 57, in
_populate\n    self.load_app(app_name, True)
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/loading.py", line 72, in
load_app\n    mod = __import__(app_name, {}, {}, ['models'])
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/home/django/
intranet_pini/../intranet_pini/help_editors/models.py", line 4, in ?
\n    class Categoria(models.Model):
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/home/django/
intranet_pini/../intranet_pini/help_editors/models.py", line 7, in
Categoria\n    slug = models.SlugField(prepopulate_from=("nome",))
[Tue Sep 09 19:35:43 2008] [error] [client 192.168.0.101]
PythonHandler django.core.handlers.modpython:   File "/usr/lib/
python2.4/site-packages/django/db/models/fields/__init__.py", line
768, in __init__\n    super(SlugField, self).__init__(*args, **kwargs)
[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'
--~--~---------~--~----~------------~-------~--~----~
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