Hi all

Today I have moved a project that I have been working on to
subversion.
Prior to doing this I made a copy of the source tree and remove all
the *.pyc and the "dot something" files. I then imported the whole
tree to a subversion repository and checked it out again.  I worked on
it all day, and committed a few changes but tonight I realised that
python manage.py wasn't working anymore at all (even though the site
works fine through apache+mod_python) !  I include below the error
message when I try the shell.

daffodil:~/django/qmm arno$ python manage.py shell
Traceback (most recent call last):
  File "manage.py", line 11, in ?
    execute_manager(settings)
  File "/opt/local/lib/python2.4/site-packages/django/core/
management.py", line 1447, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File "/opt/local/lib/python2.4/site-packages/django/core/
management.py", line 1348, in execute_from_command_line
    translation.activate('en-us')
  File "/opt/local/lib/python2.4/site-packages/django/utils/
translation/trans_real.py", line 195, in activate
    _active[currentThread()] = translation(language)
  File "/opt/local/lib/python2.4/site-packages/django/utils/
translation/trans_real.py", line 184, in translation
    default_translation = _fetch(settings.LANGUAGE_CODE)
  File "/opt/local/lib/python2.4/site-packages/django/utils/
translation/trans_real.py", line 167, in _fetch
    app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]),
appname[p+1:])
AttributeError: 'module' object has no attribute 'test'

And here is the information about my django installation

daffodil:~/django/django_src arno$ svn info
Path: .
URL: http://code.djangoproject.com/svn/django/trunk
Repository Root: http://code.djangoproject.com/svn
Repository UUID: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Revision: 4463
Node Kind: directory
Schedule: normal
Last Changed Author: russellm
Last Changed Rev: 4463
Last Changed Date: 2007-02-07 22:56:53 +0000 (Wed, 07 Feb 2007)
Properties Last Updated: 2006-11-06 18:18:59 +0000 (Mon, 06 Nov 2006)

I have the same problem on my OSX laptop and debian Etch server so I
think it is something that I messed up when I cleaned up the tree
before importing it to my subversion repository but I can't figure out
why.

Any help would be greatly appreciated.

--
Arnaud


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