On 24 Oct 2011, at 11:56 AM, Rob Verduijn wrote:

> After installing the new baruwa and django-south
> 
> running baruwa-admin syncdb fails with an error message. (see below)
> 
> I've editted the settings so that the credentials are ok, I verified the 
> accounts to work properly.
> However, the syncdb command still fails.
> 
> any ideas on how to solve this ?
> 
> Rob Verduijn
> 
> Traceback (most recent call last):
>   File "/usr/bin/baruwa-admin", line 11, in <module>
>     execute_manager(settings)
>   File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", 
> line 438, in execute_manager
>     utility.execute()
>   File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", 
> line 379, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", 
> line 261, in fetch_command
>     klass = load_command_class(app_name, subcommand)
>   File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", 
> line 67, in load_command_class
>     module = import_module('%s.management.commands.%s' % (app_name, name))
>   File "/usr/lib/pymodules/python2.6/django/utils/importlib.py", line 35, in 
> import_module
>     __import__(name)
>   File "/usr/lib/pymodules/python2.6/south/management/commands/syncdb.py", 
> line 5, in <module>
>     from south import migration
>   File "/usr/lib/pymodules/python2.6/south/migration.py", line 17, in <module>
>     from south.db import db
>   File "/usr/lib/pymodules/python2.6/south/db/__init__.py", line 12, in 
> <module>
>     module = __import__(module_name,{},{},[''])
>   File "/usr/lib/pymodules/python2.6/south/db/__init__.py", line 17, in 
> <module>
>     db = module.DatabaseOperations()
> AttributeError: 'module' object has no attribute 'DatabaseOperations'

I suspect it is the version of django south on lucid.

--
Baruwa - www.baruwa.org

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to