Package: mnogosearch-pgsql Version: 3.3.7-2 Severity: grave Tags: patch Justification: renders package unusable
Starting with version 3.3.7-1 (including -2) the mnogo indexer returns without going through the whole site/filesystem it has to index. Usually the error looks as follow : $ /usr/sbin/indexer -a indexer[7783]: indexer from mnogosearch-3.3.7-pqsql started with '/etc/mnogosearch/indexer.conf' indexer[7783]: [7783]{01} URL: http://mydomain.example.com/ indexer[7783]: [7783]{01} Content-Encoding processing failed indexer[7783]: [7783]{01} Writing words (12 words, 7292 bytes, final). indexer[7783]: [7783]{01} The words are written successfully. (final) indexer[7783]: [7783]{01} Done (0 seconds, 1 documents, 338 bytes, 0.00 Kbytes/sec.) The bug was also reported upstream (#371) : http://www.mnogosearch.org/bugs/bugs.php?id=3791&edit=2 I was also using 'multi' but with the PostgreSQL database instead of MySQL (I don't know if the bug is also present on mnogosearch-sqlite) So maybe the bug should also be filled at least on mnogosearch-mysql as well. The patch has been tested and it's really a non-intrusif oneliner (just an initialization of a variable). thx -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing'), (99, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages mnogosearch-pgsql depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libpq5 8.3.5-1 PostgreSQL C client library ii libssl0.9.8 0.9.8g-15 SSL shared libraries ii mnogosearch-common 3.3.7-2 full-featured web search engine (c ii postgresql-client-8.2 8.2.7-2+b1 front-end programs for PostgreSQL ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime mnogosearch-pgsql recommends no packages. Versions of packages mnogosearch-pgsql suggests: pn postgresql | postgresql-8.1 | <none> (no description available) -- no debconf information
--- mnogosearch-3.3.7/src/indexer.c.orig 2009-01-21 21:39:35.000000000 +0100 +++ mnogosearch-3.3.7/src/indexer.c 2009-01-21 21:39:30.000000000 +0100 @@ -1294,7 +1294,7 @@ { const char *url=UdmVarListFindStr(&Doc->Sections,"URL",""); const char *ce=UdmVarListFindStr(&Doc->Sections,"Content-Encoding",""); - int code; + int code=0; #ifdef HAVE_ZLIB if(!strcasecmp(ce,"gzip") || !strcasecmp(ce,"x-gzip"))