Your message dated Tue, 25 Apr 2017 23:50:10 +0000
with message-id <[email protected]>
and subject line Bug#849722: fixed in xapian-bindings 1.4.4-1
has caused the Debian Bug report #849722,
regarding python-xapian: QueryParser.add_boolean_prefix() throws TypeError with 
grouping=''
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
849722: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849722
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-xapian
Version: 1.4.1-1
Severity: normal

The QueryParser apparently has three overloaded .add_boolean_prefix() methods.  
The first, listed here:

https://xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html#a8590431c481fe0eea43cd4ce619a0816

says that the grouping should be specified as an empty string.
However, specifying the empty string results in the following
exception:

servo:~ $ python -c "import xapian; qp = xapian.QueryParser(); 
qp.add_boolean_prefix('tag', 'K', '')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 10485, in 
_queryparser_add_boolean_prefix
    return __queryparser_add_boolean_prefix_orig(self, s, proc, exclusive)
TypeError: in method 'QueryParser_add_boolean_prefix', argument 4 of type 
'std::string const *'
servo:~ 1$

The second version seems to work fine though:

servo:~ 0$ python -c "import xapian; qp = xapian.QueryParser(); 
qp.add_boolean_prefix('tag', 'K', False)"
servo:~ 0$

Tried to report this issue upstream directly but I couldn't seem to
register an account at trac.xapian.org.

Thanks so much for maintaining such a useful package!

jamie.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'stable'), (200, 'unstable'), (101, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-xapian depends on:
ii  libc6        2.24-8
ii  libgcc1      1:6.2.1-5
ii  libstdc++6   6.2.1-5
ii  libxapian30  1.4.1-1
ii  python       2.7.11-2
pn  python:any   <none>

python-xapian recommends no packages.

Versions of packages python-xapian suggests:
ii  xapian-doc  1.4.1-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: xapian-bindings
Source-Version: 1.4.4-1

We believe that the bug you reported is fixed in the latest version of
xapian-bindings, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olly Betts <[email protected]> (supplier of updated xapian-bindings package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 26 Apr 2017 11:14:16 +1200
Source: xapian-bindings
Binary: libxapian-java libxapian-jni libxapian-java-doc tclxapian python-xapian 
python3-xapian ruby-xapian
Architecture: source
Version: 1.4.4-1
Distribution: experimental
Urgency: medium
Maintainer: Olly Betts <[email protected]>
Changed-By: Olly Betts <[email protected]>
Description:
 libxapian-java - Xapian search engine interface for Java
 libxapian-java-doc - Xapian search engine interface for Java (documentation)
 libxapian-jni - Xapian search engine interface for Java (JNI library)
 python-xapian - Xapian search engine interface for Python
 python3-xapian - Xapian search engine interface for Python3
 ruby-xapian - Xapian search engine interface for Ruby
 tclxapian  - Xapian search engine interface for Tcl
Closes: 849722
Changes:
 xapian-bindings (1.4.4-1) experimental; urgency=medium
 .
   * New upstream release
     + Fix QueryParser methods add_boolean_prefix() and add_prefix() to accept
       a string for the `grouping` parameter.  (Closes: #849722)
Checksums-Sha1:
 78e5a625630316e733e7dc8d5077bf1fe664e251 2537 xapian-bindings_1.4.4-1.dsc
 1162e836f3caccee927997f0d262ef6dccd44d9f 1117140 
xapian-bindings_1.4.4.orig.tar.xz
 5e325f696c7f13b39b0bb71b0201d52a32ad5fcf 20072 
xapian-bindings_1.4.4-1.debian.tar.xz
 1587355d848e419253638cbe221c46dbcfa1b49f 16058 
xapian-bindings_1.4.4-1_amd64.buildinfo
Checksums-Sha256:
 26273ccd355584101f39e77f0851aba30acf2ef96bbdaca754aac4bc40ddf5d6 2537 
xapian-bindings_1.4.4-1.dsc
 3b323eac41c42750b7dacc9319b1477a7c1b552c95f590127643dee3b44d8a39 1117140 
xapian-bindings_1.4.4.orig.tar.xz
 e19abd81c9537b3eb5d60cd16c5a1be658352de769342e200eb07a1051de11c5 20072 
xapian-bindings_1.4.4-1.debian.tar.xz
 ad661204e1bb2f5c9e686d5b7f07447e51be9459bbbd506c049e9fc6236a0af1 16058 
xapian-bindings_1.4.4-1_amd64.buildinfo
Files:
 9253aa4d0becfabfb6d0e3df8ec4f1fe 2537 libs optional xapian-bindings_1.4.4-1.dsc
 55f2678a029baa4f897f583e86e33ed8 1117140 libs optional 
xapian-bindings_1.4.4.orig.tar.xz
 0ac4b07197d506a6498398b0964549ad 20072 libs optional 
xapian-bindings_1.4.4-1.debian.tar.xz
 26506322c790ea49df77161baf6706ca 16058 libs optional 
xapian-bindings_1.4.4-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAlj/3e4ACgkQGBR7Bzut
Kwek5BAAnLPeZdYIlJjxRQiX5+eVpM5g77F35SgaE4sU2/oh3I/jmnjeAjwKTzHw
ohX1tRh3MUH1fdQRYInqXbHovHWJzugPrytxBoVNp4ATXmwY+XR9EQpHGTXWq+qU
BumXn4nGUBOsjtC5qxRp2n0ZC5ta3XC8WIBmnz5V0pDcOdsRsCPWr84/9cUcDmxv
EhTxq7qaKiwHTnOgtnmMst3EkpnURekLAf2ysgQylcwF74tiB43KIGvNI3Nxuup/
VL1XzVP2PvSrEFV1/JP5+xG8+SIYjdC56uzJa/8yuJq+yvTl+Bb3/DanYCNqJpux
O9HHHZowcsDwAVAQKau2lSBfVXC8g3L7YIcYob9vvMtQp+d8vkFLcc5EI33y5DV5
rSQS20TsEh9xUTOy8XqpXWDpmRZbm21TjpbmTWw1ki7FUdhHkNG/2XRljql4Stdq
bAXeQMdEUuXltfBrUhPeRtRzo0g0Co2Pv22/ud5uao2B6B+YJ1TE+0vistXaLGRn
w5Y2T5NBIpmxFlHYtAuP+E/OPqId7G/L0K7/QQ/jnIBQaeTq3KqhaspHVm8f9MS2
l4nLmUOZlx+7fk7aFpOpucx7Aqp0DEEsqZnPxJCPQD6UBFuams/YhHk6lvi2PI8z
TmXSaUjzH/xW6nNEhWJMfmhWOKpCaCDHfVepb0gOvXekA2Yxfbs=
=PfHS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to