Bug#352766: dictionaries-common: update-default-wordlist does not work if miscfiles is installed

2006-02-14 Thread Agustin Martin
On Tue, Feb 14, 2006 at 01:46:54AM -0500, Chaskiel Grundman wrote:
 Package: dictionaries-common
 Version: 0.65.0
 Severity: normal
 
 the 'default' entry for miscfiles/languages is:
 Default: english (Webster's Second International English wordlist)
 
 It has a ' character in it. The ' is not quoted when
 /var/cache/dictionaries-common/wordlist.db is created, which renders
 that file syntactically invalid perl:

Thanks for reporting this, I made sure key values were correctly escaped, but
forgot dict names. Fixed in our CVS, will go in today after some more testing.
Unfortunately version with this bug recently entered testing.

-- 
Agustin


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



Bug#352766: dictionaries-common: update-default-wordlist does not work if miscfiles is installed

2006-02-13 Thread Chaskiel Grundman
Package: dictionaries-common
Version: 0.65.0
Severity: normal

the 'default' entry for miscfiles/languages is:
Default: english (Webster's Second International English wordlist)

It has a ' character in it. The ' is not quoted when
/var/cache/dictionaries-common/wordlist.db is created, which renders
that file syntactically invalid perl:

%  perl -cw /var/cache/dictionaries-common/wordlist.db
Substitution pattern not terminated at
/var/cache/dictionaries-common/wordlist.db line 24.

This in turn means that the loaddb() in /usr/sbin/update-default-wordlist
returns an empty list and update-default-wordlist bombs out with

/usr/sbin/update-default-wordlist No wordlist elements installed.

I don't know why debconf-show failed (below). here's the output:

  dictionaries-common/invalid_debconf_value:
  dictionaries-common/ispell-autobuildhash-message:
  dictionaries-common/move_old_usr_dict: true
  dictionaries-common/selecting_ispell_wordlist_default:
* dictionaries-common/default-ispell: american (American English)
* dictionaries-common/default-wordlist: Manual forced (No wordlist elements 
installed)
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/remove_old_usr_dict_link: false

attached is a 'dpkg-reconfigure dictionaries-common' log with
DEBCONF_DEBUG=developer in case that turns out to be useful

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0] 1.4.70 Debian configuration management sy
ii  perl  5.8.7-10   Larry Wall's Practical Extraction 

dictionaries-common recommends no packages.

-- debconf-show failed
Script started on Tue 14 Feb 2006 01:45:23 AM EST
starfury:~  env DEBCONF_DEBUG=developer sudo dpkg-reconfigure 
-ftext -plow dict ionaries-common

remove/dictionaries-common: Purging byte-compiled files for flavour emacs21
remove/dictionaries-common: Purging byte-compiled files for flavour xemacs21
debconf (developer): starting /var/lib/dpkg/info/dictionaries-common.config 
reconfigure 0.65.0
debconf (developer): -- VERSION 2.0
debconf (developer): -- 0 2.0
debconf (developer): -- SET dictionaries-common/remove_old_usr_dict_link false
debconf (developer): -- 0 value set
debconf (developer): -- GO
debconf (developer): -- 0 ok
debconf (developer): -- UNREGISTER dictionaries-common/languages
debconf (developer): -- 10 dictionaries-common/languages doesn't exist
debconf (developer): -- UNREGISTER shared/packages-ispell
debconf (developer): -- 0
debconf (developer): -- UNREGISTER shared/packages-wordlist
debconf (developer): -- 0
debconf (developer): -- METAGET shared/packages-ispell owners
debconf (developer): -- 0 iamerican, ibritish
debconf (developer): -- METAGET iamerican/languages default
debconf (developer): -- 0 american (American English)
debconf (developer): -- METAGET ibritish/languages default
debconf (developer): -- 0 british (British English)
debconf (developer): -- METAGET dictionaries-common/default-ispell choices
debconf (developer): -- 0 american (American English), british (British 
English), Manual symlinks setting
debconf (developer): -- INPUT critical dictionaries-common/default-ispell
debconf (developer): -- 0 question will be asked
debconf (developer): -- TITLE Dictionaries-common: Ispell dictionary
debconf (developer): -- 0
debconf (developer): -- GO
Dictionaries-common: Ispell dictionary
--

Because more than one ispell dictionary will be available in your system, please
select the one you'd like applications to use by default.

You can change the default ispell dictionary at any time by running 
select-default-ispell.

  1. american (American English)  3. Manual symlinks setting
  2. british (British English)

Which ispell dictionary should be the system's default? 1
Which ispell dictionary should be the system's default? 
Which ispell dictionary should be the system's default? 1


debconf (developer): -- 0 ok
debconf (developer): -- METAGET shared/packages-wordlist owners
debconf (developer): -- 0 miscfiles, wamerican, wamerican-large, wbritish, 
wbritish-large, wcanadian, wcanadian-large
debconf (developer): -- METAGET miscfiles/languages default
debconf (developer): -- 0 english (Webster's Second International English 
wordlist)
debconf (developer): -- METAGET wamerican/languages default
debconf (developer): -- 0 american (American English)
debconf (developer): -- METAGET wamerican-large/languages default
debconf (developer): -- 0 american-large (American English -- large)
debconf (developer): -- METAGET wbritish/languages default
debconf (developer): -- 0 british (British English)
debconf (developer): -- METAGET wbritish-large/languages