ImportError peach3_compare: No module named peach3_compare

8 views
Skip to first unread message

Jeremy McGibbon

unread,
May 30, 2015, 2:24:14 PM5/30/15
to peach3-...@googlegroups.com
I am trying to install peach3 v1.0-beta4 on my server. I've taken the approach of installing in a peachwww user home directory. When I go to run django syncdb, I run into this error:

peachwww@atmos:~/peach3-django/django$ bin/django syncdb
Traceback (most recent call last):
  File "bin/django", line 29, in <module>
    sys.exit(djangorecipe.manage.main('peach3.development'))
  File "/home/peachwww/peach3-django/django/eggs/djangorecipe-1.11-py2.7.egg/djangorecipe/manage.py", line 9, in main
    management.execute_from_command_line(sys.argv)
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/core/management/__init__.py", line 429, in execute_from_command_line
    utility.execute()
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/core/management/__init__.py", line 257, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/core/management/__init__.py", line 67, in load_command_class
    module = import_module('%s.management.commands.%s' % (app_name, name))
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/peachwww/peach3-django/django/eggs/South-1.0.2-py2.7.egg/south/management/commands/__init__.py", line 10, in <module>
    import django.template.loaders.app_directories
  File "/home/peachwww/peach3-django/django/eggs/Django-1.2.1-py2.7.egg/django/template/loaders/app_directories.py", line 23, in <module>
    raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError peach3_compare: No module named peach3_compare

It seems that something wasn't installed correctly by buildout. Any ideas on how to fix this?

Jeremy

Erik Scheffers

unread,
May 30, 2015, 2:47:46 PM5/30/15
to peach3-...@googlegroups.com, ero...@gmail.com
That release accidentally shipped with a development settings file that references some add-on apps that are not part of the public release. peach3_compare is one of those apps.

You can either tell Django to not use the development settings, by providing a --settings=peach3.settings option to the 'django' command, or comment out the apps that are not included (in development.py INSTALLED_APPS list, all apps except the Django one aren't included).

Erik
Reply all
Reply to author
Forward
0 new messages