오현성
unread,Sep 30, 2009, 8:09:41 AM9/30/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
Hi there,
I'm trying out FeinCMS, but I'm having some trouble getting it set up on my computer. I'm new to Django, and have only limited experience with Python, so my errors are probably typical newbie errors, sorry. I get the following error when I run python manage.py syncdb:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 221, in execute
self.validate()
File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.5/site-packages/django/core/management/validation.py", line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 131, in get_app_errors
self._populate()
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 58, in _populate
self.load_app(app_name, True)
File "/usr/lib/python2.5/site-packages/django/db/models/loading.py", line 74, in load_app
models = import_module('.models', app_name)
File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/python2.5/site-packages/FeinCMS-1.0.4-py2.5.egg/feincms/module/page/models.py", line 422, in <module>
mptt.register(Page)
File "/usr/lib/python2.5/site-packages/django_mptt-0.2.1-py2.5.egg/mptt/__init__.py", line 73, in register
dispatcher.connect(pre_save, signal=model_signals.pre_save, sender=model)
AttributeError: 'module' object has no attribute 'connect'
I'm running Debian Lenny with Python 2.5, and installed Django, mptt and FeinCMS using easy_install. I've tried (generally) following through the documentation, though I realise this is still a work in progress. FeinCMS looks good though, from what I've seen.
Thank you in advance for any help on this.
Richard