[Xapian-tickets] [Xapian] #289: Python exception gets mangled when raised inside an ExpandDecider
Xapian
nobody at xapian.org
Mon Aug 11 11:49:44 BST 2008
#289: Python exception gets mangled when raised inside an ExpandDecider
-----------------------------+----------------------------------------------
Reporter: enrico | Owner: richard
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version: 1.0.5
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: Linux | Blocking:
-----------------------------+----------------------------------------------
Comment(by richard):
I've been taking a look at this - I believe the problem is caused by Swig
attempting to modify the exception message to add "Swig director method
error." to the end of it. I'm not entirely sure why Swig is doing this,
but the attempt fails in this case because the constructor of the
exception type (UnicodeDecodeError) is called with a single argument, but
requires 5. Hence, the error which you're seeing.
I'll continue to investigate.
--
Ticket URL: <http://trac.xapian.org/ticket/289#comment:2>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list