Your message dated Thu, 22 Dec 2005 14:04:46 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug fixed
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Aug 2004 22:40:11 +0000
>From [EMAIL PROTECTED] Mon Aug 02 15:40:11 2004
Return-path: <[EMAIL PROTECTED]>
Received: from gate.ibr.ch [213.144.140.114] (root)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BrlTX-00005I-00; Mon, 02 Aug 2004 15:40:11 -0700
Received: from bacardi.ibr.ch (bacardi.ibr.ch [172.16.1.1])
        by gate.ibr.ch (8.12.6/8.12.6/Debian-6Woody) with ESMTP id 
i72MeA1B018984
        for <[EMAIL PROTECTED]>; Tue, 3 Aug 2004 00:40:10 +0200
Received: from coruba.ibr.ch (coruba [172.16.8.23])
        by bacardi.ibr.ch (Postfix) with ESMTP
        id 3D2C115EA5; Tue,  3 Aug 2004 00:40:09 +0200 (CEST)
Received: from uwe by coruba.ibr.ch with local (Exim 3.36 #1 (Debian))
        id 1BrlTR-0008Gz-00; Tue, 03 Aug 2004 00:40:05 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
From: Uwe Storbeck <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ding: fails to lookup words with character combinations "oe" or "ue"
X-Mailer: reportbug 2.63
Date: Tue, 03 Aug 2004 00:40:05 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: Uwe Storbeck <[EMAIL PROTECTED]>
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by gate.ibr.ch id 
i72MeA1B018984
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: ding
Version: 1.3-3
Severity: important

I'm not sure if this is a bug of ding or agrep. But I'm not familiar
with agrep and ding is constructing the failing query for agrep, so
I'm filing this bug against ding. Be free to reassign it.

I use dictionary "De <-> En". If I put in a word with one of the
character combinations "oe" or "ue" ding constructs a combined query
for the word itself and the same word rewritten with a german umlaut,
which fails.
As an example the query for the german word "aktuell":

00:02:31 1 dictsearch aktuell
00:02:31 1   using search method 0 (De <-> En)
00:02:31 8 umlautquery aktuell
00:02:31 8  -> aktuell,akt=FCll
00:02:31 8     query =3D aktuell, squery =3D aktuell,akt=FCll
00:02:31 1 dictsearch: Starting agrep -h -w -i -e "aktuell,akt=FCll" /usr=
/share/trans/de-en
00:02:31 1 ExecCmd agrep -h -w -i -e "aktuell,akt=FCll" /usr/share/trans/=
de-en 1
00:02:31 4 Pipe: file10
00:02:31 2 CmdOut
00:02:31 4   CmdOut: read 1 .illegal pattern .
00:02:31 4   CmdOut: read 2 ..
00:02:31 2 CmdOut
00:02:31 4   CmdOut: End of file10: 31436 {agrep -h -w -i -e "aktuell,akt=
=FCll" /usr/share/trans/de-en 2>@stdout}
00:02:31 4   CmdOut: Close pipe: child process exited abnormally
00:02:31 2 dictsearch: result 1: illegal pattern .
00:02:31 8 dictsearch: prio 2: illegal pattern=20
00:02:31 2 dictsearch: result 2: .

The problem is either the "umlautquery" or agrep.

agrep seems to fail if we search with option -w and one of the german
umlauts "=F6" or "=FC" in combination with a comma in the search pattern:

$ agrep -w '=F6,' /usr/share/trans/de-en
agrep: illegal pattern, unmatched '<', '>'

$ agrep -w '=FC,' /usr/share/trans/de-en
illegal pattern=20

Search for "=E4" and all the uppercase umlauts seems to work.

I'm not an expert concerning localization. I've played around with
different settings of LANG, LC_ALL, LC_CTYPE and LC_COLLATE (de_CH,
de_DE), with no success.
I'm not sure if agrep is designed to be localization safe.
If yes this is a bug of agrep. If no ding should generate an other query
for german umlauts, e.g. make two separate queries instead of joining
both spellings into one query.

Is there a possibility to disable the "umlautquery" (other than disabling
agrep completely)?

Regards

Uwe


agrep is version 2.04-2


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (750, 'testing'), (650, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=3DC, LC_CTYPE=3Dde_CH

Versions of packages ding depends on:
ii  tk8.3 [wish]                  8.3.5-4    Tk toolkit for Tcl and X11, =
v8.3 -
ii  tk8.4 [wish]                  8.4.6-1    Tk toolkit for Tcl and X11, =
v8.4 -

-- no debconf information

---------------------------------------
Received: (at 263083-done) by bugs.debian.org; 22 Dec 2005 13:04:55 +0000
>From [EMAIL PROTECTED] Thu Dec 22 05:04:55 2005
Return-path: <[EMAIL PROTECTED]>
Received: from xsmtp0.ethz.ch ([82.130.70.14])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1EpQ7q-0007J5-RI; Thu, 22 Dec 2005 05:04:55 -0800
Received: from xfe0.d.ethz.ch ([82.130.124.40]) by XSMTP0.ethz.ch with 
Microsoft SMTPSVC(6.0.3790.1830);
         Thu, 22 Dec 2005 14:04:52 +0100
Received: from [10.0.0.10] ([217.162.105.148]) by xfe0.d.ethz.ch over TLS 
secured channel with Microsoft SMTPSVC(6.0.3790.1830);
         Thu, 22 Dec 2005 14:04:52 +0100
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 22 Dec 2005 14:04:46 +0100
From: Daniel Baumann <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Panthera Systems
User-Agent: Debian Thunderbird 1.0.2 (X11/20051002)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Subject: Bug fixed
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 22 Dec 2005 13:04:52.0479 (UTC) 
FILETIME=[4C15C8F0:01C606F8]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.5 required=4.0 tests=BAYES_00,RCVD_IN_SORBS 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Bug fixed with 4.17-1.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to