Michael Ellis
unread,Aug 7, 2008, 10:09:53 PM8/7/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Djapian Users
Does anyone have Djapian working on the latest Django trunk (rev. 8226
-- post newforms-admin merge)? I'm attempting to migrate from rev.
7519 to trunk and Djapian seems to be the show-stopper.
Here's the result of "python manage.py runserver":
Validating models...
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/djapian/backend/base.py:171: DeprecationWarning:
dispatcher.connect() is deprecated; use Signal.connect() instead.
dispatcher.connect(receiver=post_save, signal=signals.post_save,
sender=self.model)
Unhandled exception in thread started by <function inner_run at
0x15b3670>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/core/management/commands/runserver.py",
line 47, in inner_run
self.validate(display_num_errors=True)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/core/management/base.py", line 117, in
validate
num_errors = get_validation_errors(s, app)
File "/Library/Frameworks/Python.framework/Versions/2.5/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 "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/loading.py", line 128, in
get_app_errors
self._populate()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/loading.py", line 57, in
_populate
self.load_app(app_name, True)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/models/loading.py", line 72, in
load_app
mod = __import__(app_name, {}, {}, ['models'])
File "/home/mysite/Catalog/models.py", line 161, in <module>
'active':'Product.active',
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/djapian/backend/base.py", line 171, in
__init__
dispatcher.connect(receiver=post_save, signal=signals.post_save,
sender=self.model)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/dispatch/dispatcher.py", line 210, in
connect
return signal.connect(receiver, sender, weak)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/dispatch/dispatcher.py", line 70, in
connect
"Signal receivers must accept keyword arguments (**kwargs)."
AssertionError: Signal receivers must accept keyword arguments
(**kwargs).
Thanks!
ME