Opened 14 years ago

Closed 14 years ago

#528 closed defect (invalid)

custom_matchspy test for Python bindings fails on Windows

Reported by: Charlie Hull Owned by: Richard Boulton
Priority: normal Milestone:
Component: Xapian-bindings (Python) Version: SVN trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Microsoft Windows

Description (last modified by Olly Betts)

Running test: custom_matchspy... FAILED

pythontest2.py:1532:exceptions.AttributeError: No constructor defined
  1530             self.count += 1
  1531
->1532     mspy = MSpy()
  1533
  1534     db = setup_database()

Change History (5)

comment:1 by Olly Betts, 14 years ago

Description: modified (diff)

Works for me on Linux with current trunk.

The highlighted line is 1529 in trunk, and that file hasn't changed since 2010-12-20, so it looks like you have a modified version of the file. Perhaps that's what the problem is?

comment:2 by Charlie Hull, 14 years ago

I've checked out clean and the problem still exists (I suspect the line number mismatch was due to me temporarily hacking the file to skip another test)

comment:3 by Charlie Hull, 14 years ago

Resolution: fixed
Status: newclosed

Due to not having an up-to-date modern/xapian_wrap.cc - updated this from a snapshot and all tests pass, so closing this bug.

comment:4 by Olly Betts, 14 years ago

Resolution: fixed
Status: closedreopened

comment:5 by Olly Betts, 14 years ago

Resolution: invalid
Status: reopenedclosed

Changing resolution to invalid, since this wasn't a bug in Xapian.

Note: See TracTickets for help on using tickets.