daevaorn / djapian

High level Xapian integration for Django
Other
6 stars 3 forks source link

Index option --rebuild throws exception on number of arguments for process_instance() #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python manage.py index --rebuild

What is the expected output? What do you see instead?

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 340, in 
execute_manager
    utility.execute()
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 295, in 
execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 192, in 
run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 219, in 
execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.5/site-packages/djapian/management/commands/index.py", line 113, 
in handle
    rebuild(verbosity)
  File "/usr/lib/python2.5/site-packages/djapian/management/commands/index.py", line 78, in 
rebuild
    utils.process_instance("add", obj)
TypeError: process_instance() takes exactly 3 arguments (2 given)

What version of the product are you using? On what operating system?
Linux Ubuntu 8.10, Djapian r113

Original issue reported on code.google.com by jonasnoc...@gmail.com on 12 Nov 2008 at 12:33

GoogleCodeExporter commented 9 years ago
Thanks. Fixed.

We need more tests.
We need more tests.
We need more tests.
We need more tests.
We need more tests.
...

Original comment by daevaorn on 12 Nov 2008 at 12:41