Wednesday, April 27, 2011

Upgrade to Django-1.3 seeing AttributeError: 'NoneType' object has no attribute '_info'

I just downloaded and installed Django 1.3, I can't seem to run the
console or server with this error:

AttributeError: 'NoneType' object has no attribute '_inf


$ python manage.py shell
Traceback (most recent call last):
File "manage.py", line 13, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.7/site-packages/django/core/management/
__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.7/site-packages/django/core/management/
__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/
base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/site-packages/django/core/management/
base.py", line 209, in execute
translation.activate('en-us')
File "/usr/local/lib/python2.7/site-packages/django/utils/
translation/__init__.py", line 100, in activate
return _trans.activate(language)
File "/usr/local/lib/python2.7/site-packages/django/utils/
translation/trans_real.py", line 202, in activate
_active.value = translation(language)
File "/usr/local/lib/python2.7/site-packages/django/utils/
translation/trans_real.py", line 186, in translation
current_translation = _fetch(language,
fallback=default_translation)
File "/usr/local/lib/python2.7/site-packages/django/utils/
translation/trans_real.py", line 149, in _fetch
res._info = res._info.copy()
AttributeError: 'NoneType' object has no attribute '_info'

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