Public bug reported:

Binary package hint: python-django-evolution

I installed and enabled django-evolution.  Now this happens:
>>> ./manage.py syncdb
Traceback (most recent call last):
  File "./manage.py", 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/base.py", line 191, 
in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 220, 
in execute
    output = self.handle(*args, **options)
  File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 351, 
in handle
    return self.handle_noargs(**options)
  File 
"/usr/lib/pymodules/python2.6/django/core/management/commands/syncdb.py", line 
35, in handle_noargs
    import_module('.management', app_name)
  File "/usr/lib/pymodules/python2.6/django/utils/importlib.py", line 35, in 
import_module
    __import__(name)
  File "/usr/lib/pymodules/python2.6/django_evolution/management/__init__.py", 
line 11, in <module>
    from django_evolution.evolve import get_evolution_sequence, 
get_unapplied_evolutions
  File "/usr/lib/pymodules/python2.6/django_evolution/evolve.py", line 11, in 
<module>
    from django_evolution.diff import Diff
  File "/usr/lib/pymodules/python2.6/django_evolution/diff.py", line 5, in 
<module>
    from django_evolution.mutations import DeleteField, AddField, DeleteModel, 
ChangeField
  File "/usr/lib/pymodules/python2.6/django_evolution/mutations.py", line 11, 
in <module>
    from django_evolution.db import evolver
  File "/usr/lib/pymodules/python2.6/django_evolution/db/__init__.py", line 6, 
in <module>
    module = __import__('.'.join(module_name),{},{},[''])
  File "/usr/lib/pymodules/python2.6/django_evolution/db/__init__.py", line 8, 
in <module>
    evolver = module.EvolutionOperations()
AttributeError: 'module' object has no attribute 'EvolutionOperations'


A quick Google search suggests that this is caused by the version of 
django-evolution in use being incompatible with django 1.2.  Both were 
installed from the Ubuntu repositories (up-to-date as of Jan 11, 2011).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-django-evolution 0+svn164-1
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic x86_64
Architecture: amd64
Date: Tue Jan 11 13:26:43 2011
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: python-django-evolution

** Affects: python-django-evolution (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701619

Title:
  django-evolution does not work and prevents django syncdb from working

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to