Open GoogleCodeExporter opened 9 years ago
LOL... I've just re-ran the manage.py from python+ipython to find out more on
the
exception and ...all went OK ;)
Original comment by khame...@gmail.com
on 30 Mar 2009 at 11:55
BTW,
./manage.py runserver
fails similarly...
Original comment by khame...@gmail.com
on 30 Mar 2009 at 11:57
Exception is caused because django/conf/ has no subdirectory "locale". Why it
becomes
absent after pip installation is not yet clear. But django tar-ball contains
this
subdirectory.
Original comment by khame...@gmail.com
on 31 Mar 2009 at 9:27
khamenya is correct
I had this issue when I unzipped Django to get around the current zip problems.
I went a little crazy trying to figure this one out and it seems like this is
the
short of it:
According to http://code.google.com/p/app-engine-patch/wiki/ManualInstallation
it
seems like they rely on "common/django_aep_export/django-locale/locale"
automatically
getting integrated when you use a zip file. If you unzip Djengo then its
"django/conf/"locale will be empty. If you copy
"common/django_aep_export/django-
locale/locale" to "django/conf/" you should be good
Original comment by tvucurev...@gmail.com
on 26 May 2009 at 12:02
Hi all-
I am experiencing this same issue, even though my django/conf/locale directory
is not
empty.
I am using Django 1.1 (the latest stable release, installed from the tarball),
and
upon issuing a "python manage.py syncdb" or "python manage.py runserver" from my
project, I get the same error. I've pasted in the error output below this
message.
I have already spent a lot of time looking into this, and so far the only thing
that
seemed relevant is a bug where the django/conf/locale directory is empty.
Unfortunately, I hit a dead end there when I saw that my django/conf/locale is
not empty.
I'm hoping someone else has experienced this and found a fix!
Thanks in advance,
Mike
Traceback (most recent call last):
File "manage.py", line 28, in <module>
execute_from_command_line()
File "/Users/wisz/Django-1.1/build/lib/django/core/management/__init__.py", line
353, in execute_from_command_line
utility.execute()
File "/Users/wisz/Django-1.1/build/lib/django/core/management/__init__.py", line
303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/wisz/Django-1.1/build/lib/django/core/management/base.py", line 195,
in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/wisz/Django-1.1/build/lib/django/core/management/base.py", line 213,
in execute
translation.activate('en-us')
File "/Users/wisz/Django-1.1/build/lib/django/utils/translation/__init__.py", line
73, in activate
return real_activate(language)
File "/Users/wisz/Django-1.1/build/lib/django/utils/translation/__init__.py", line
43, in delayed_loader
return g['real_%s' % caller](*args, **kwargs)
File "/Users/wisz/Django-1.1/build/lib/django/utils/translation/trans_real.py",
line 205, in activate
_active[currentThread()] = translation(language)
File "/Users/wisz/Django-1.1/build/lib/django/utils/translation/trans_real.py",
line 195, in translation
current_translation = _fetch(language, fallback=default_translation)
File "/Users/wisz/Django-1.1/build/lib/django/utils/translation/trans_real.py",
line 160, in _fetch
res._info = res._info.copy()
AttributeError: 'NoneType' object has no attribute '_info'
Original comment by michael....@gmail.com
on 7 Aug 2009 at 5:03
Original issue reported on code.google.com by
khame...@gmail.com
on 30 Mar 2009 at 11:22