Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-07-07 Thread Agustin Martin
tag 314714 +unreproducible
tag 314714 +moreinfo
thanks

On Tue, Jun 21, 2005 at 02:20:58PM +0200, Agustin Martin wrote:
> 
> I am waiting for the DEBUG output. Thanks for your feedback
> 

Hi, Branden,

Since I received no more feedback on this and I cannot reproduce the problem
at all I am tagging this bug report as unreproducible and moreinfo.

If this is a real problem it should hit a lot of people, so I should receive
more evidences of it in some time.

Cheers, 

-- 
Agustin


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



Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-21 Thread Agustin Martin
On Tue, Jun 21, 2005 at 01:20:58AM -0500, Branden Robinson wrote:

> This bug is *not* new to the version of dictionaries-common in sid; I was
> wrong about that.  I can dpkg-reconfigure the version in sarge and see the
> same behavior.

Strange,

---
# dpkg-reconfigure -f readline dictionaries-common
remove/dictionaries-common: Purging byte-compiled files for flavour emacs20
remove/dictionaries-common: Purging byte-compiled files for flavour emacs21
remove/dictionaries-common: Purging byte-compiled files for flavour xemacs21
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)  2. Manual symlinks setting

Which ispell dictionary should be the system's default? 1
... other stuff ...
--

using dictionaries-common 0.30.1 (which has the same code for this as
sarge version 0.25.12) and iamerican 3.1.20.0-4 (the only ispell dict I have
installed in this test)

I suppose you will have the same problem running 

# dpkg-reconfigure iamerican

If so, please run

# DEBCONF_DEBUG=developer dpkg-reconfigure -f readline iamerican

and send me the output. The reason to do this with only iamerican is to
get rid of wordlists output, so if that does not reproduce your problem,
send me the output of

# DEBCONF_DEBUG=developer dpkg-reconfigure -f readline dictionaries-common

In the box I am using I have in /var/cache/debconf/config.dat


Name: dictionaries-common/default-ispell
Template: dictionaries-common/default-ispell
Value: Manual symlinks setting
Owners: dictionaries-common   
Flags: seen
Variables: 
 choices = american (American English)


and the config value returned by debconf is

debconf: <-- METAGET dictionaries-common/default-ispell choices
debconf: --> 0 american (American English), Manual symlinks setting

because the choices string in the template is

${choices}, Manual symlinks setting

Last element is then stripped to get the real choices list.

Seems as if your system is returning something different after
metaget("dictionaries-common/default-ispell","choices") call. For that
reason I really need to have the DEBCONF_DEBUG=developer ... stuff.

> Oddly, select-default-ispell *does* work, and I *do* have at least one
> ispell dictionary installed.  Running select-default-ispell, though, does
> NOT fix the problem with the debconf question.

This seems to suggests that your iamerican/languages Default entry in
/var/cache/debconf/templates.dat is not void, what is O.K, but does not give
any light on the problem.

I am waiting for the DEBUG output. Thanks for your feedback

Cheers,

-- 
Agustin


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



Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-20 Thread Branden Robinson
On Sat, Jun 18, 2005 at 05:09:01PM +0200, Agustin Martin wrote:
> Hi, Branden,
> 
> Seems you have no ispell dicts installed at all, so the debconf choices
> string becomes something like
> 
> , Manual symlinks setting
> 
> The original debconf string being
> 
> ${choices}, Manual symlinks setting
> 
> where ${choices} is substituted after the installed ispell dicts/wordlists
> (ispell dicts in your case). I am a bit puzzled, since nothing in that code
> has been changed since 0.25.4 (11Apr2005), and that changes are currently in
> sarge, with no bugreports.
> 
> I am rather confident I checked that possibility, at least on removal, and
> worked, but I am not sure if something in debconf has been changed in the
> meantime, or may be I left something missing behind.
> 
> I am cc'ing debconf package in case something has been changed there (An
> extra whitespace?). 
> 
> I will also take a look about doublechecking this kind of things, that
> should not be difficult.

This bug is *not* new to the version of dictionaries-common in sid; I was
wrong about that.  I can dpkg-reconfigure the version in sarge and see the
same behavior.

Oddly, select-default-ispell *does* work, and I *do* have at least one
ispell dictionary installed.  Running select-default-ispell, though, does
NOT fix the problem with the debconf question.  Please see the following
transcript.

573 {0} [EMAIL PROTECTED]:/home/branden/packages/CHROOTS# dpkg-reconfigure 
dictionaries-common
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.   2. Manual symlinks setting

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

Which ispell dictionary should be the system's default? 1
574 {130} [EMAIL PROTECTED]:/home/branden/packages/CHROOTS# dlocate -S ispell
dictionaries-common: /usr/bin/ispell-wrapper
dictionaries-common: /usr/lib/ispell
dictionaries-common: /usr/sbin/update-default-ispell
dictionaries-common: /usr/sbin/ispell-autobuildhash
dictionaries-common: /usr/sbin/select-default-ispell
dictionaries-common: /usr/sbin/remove-default-ispell
dictionaries-common: /usr/share/man/man1/ispell-wrapper.1.gz
dictionaries-common: /usr/share/man/man8/remove-default-ispell.8.gz
dictionaries-common: /usr/share/man/man8/select-default-ispell.8.gz
dictionaries-common: /usr/share/man/man8/ispell-autobuildhash.8.gz
dictionaries-common: /usr/share/man/man8/update-default-ispell.8.gz
dictionaries-common: 
/usr/share/emacs/site-lisp/dictionaries-common/debian-ispell.el
dictionaries-common: /usr/share/emacs/site-lisp/dictionaries-common/ispell.el
dictionaries-common: /usr/share/dictionaries-common/mutt-ispell-init
dictionaries-common: /usr/lib/ispell/default.hash
dictionaries-common: /usr/lib/ispell/default.aff
ispell: /usr/bin/ispell
ispell: /usr/sbin/update-ispell-dictionary
ispell: /usr/share/man/man1/ispell.1.gz
ispell: /usr/share/man/man5/ispell.5.gz
ispell: /usr/share/man/man8/update-ispell-dictionary.8.gz
ispell: /usr/share/doc/ispell
ispell: /usr/share/doc/ispell/README.gz
ispell: /usr/share/doc/ispell/Contributors.gz
ispell: /usr/share/doc/ispell/ispell.html
ispell: /usr/share/doc/ispell/WISHES.gz
ispell: /usr/share/doc/ispell/TODO.Debian
ispell: /usr/share/doc/ispell/copyright
ispell: /usr/share/doc/ispell/changelog.Debian.gz
ispell: /usr/share/doc/ispell/ispell.texinfo.gz
ispell: /usr/share/doc-base/ispell-manual
ispell: /usr/share/info/ispell.info.gz
ispell: /usr/sbin/ispellconfig
ispell: /usr/share/man/man8/ispellconfig.8.gz
iamerican: /usr/lib/ispell
iamerican: /usr/lib/ispell/american.aff
iamerican: /usr/lib/ispell/americanmed+.hash
iamerican: /var/lib/dictionaries-common/ispell
iamerican: /var/lib/dictionaries-common/ispell/iamerican
iamerican: /usr/lib/ispell/american.hash
libaspell15: /usr/lib/aspell-0.60/ispell
emacs21-common: /usr/share/emacs/21.4/lisp/textmodes/ispell.elc
kdelibs-data: /usr/share/services/kspell_ispell.desktop
kdelibs4: /usr/lib/kde3/kspell_ispell.la
kdelibs4: /usr/lib/kde3/kspell_ispell.so
zsh: /usr/share/zsh/4.2.5/functions/Completion/Unix/_ispell
575 {0} [EMAIL PROTECTED]:/home/branden/packages/CHROOTS# select-default-ispell
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)  2. Manual symlinks setting

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


576 {0} [EMAIL PROTECTED]:/home/branden/packages/CHROOTS# dpkg-reconfigure 
dictionaries-common
Dictionaries-common: Ispell dictionary
--

Because more than one ispell di

Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-20 Thread Agustin Martin
On Mon, Jun 20, 2005 at 02:12:18AM +0200, Agustin Martin wrote:
> 
> I will try to reproduce this problem tomorrow in a sarge -> sid upgrade
> *only* for dictionaries-common.

I cannot reproduce this in a normal dictionaries-common 0.25.12 -> 0.31.1
upgrade with apt from a sarge box. Details on your setup are appreciated.

Cheers,

-- 
Agustin


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



Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-19 Thread Agustin Martin
On Sat, Jun 18, 2005 at 05:09:01PM +0200, Agustin Martin wrote:
> On Fri, Jun 17, 2005 at 05:38:00PM -0500, Branden Robinson wrote:
> > Package: dictionaries-common
> > Version: 0.30.1
> > Severity: normal
> > 
> > Upgrading from sarge:
> > 
> >   Preconfiguring packages ...
> >   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.   2. Manual symlinks setting
> > 
> >   Which ispell dictionary should be the system's default? 1
> 
> Hi, Branden,
> 
> Seems you have no ispell dicts installed at all, so the debconf choices
> string becomes something like
> 
> , Manual symlinks setting
> 
> The original debconf string being
> 
> ${choices}, Manual symlinks setting
> 
> where ${choices} is substituted after the installed ispell dicts/wordlists
> (ispell dicts in your case). I am a bit puzzled, since nothing in that code
> has been changed since 0.25.4 (11Apr2005), and that changes are currently in
> sarge, with no bugreports.

I was re-checking the code and that section is not called when upgrading
dictionaries-common from sarge with no ispell dicts installed (I cannot check
the real upgrade now, but the only sarge+ changes in dictionaries-common were
po files and a standalone script in dictionaries-common-dev that is called
only on demand). As a mater of fact I see no possibility that the above
string is called with an empty ${choices} field, unless something became
broken in some way. 

So I think of three possibilities: 

a) debconf database broken

   Try

   # dpkg-reconfigure dictionaries-common

   If the problem persists, run

   # /usr/share/debconf/fix_db.pl

   and try again with

   # dpkg-reconfigure dictionaries-common

   If the problem is still present, this is not the reason for it.

b) You have a single ispell dict installed that, when upgraded along with
   dictionaries-common, has a wrong (empty) Default: field in
   ${dict_name}/languages template, causing the wrong string being passed
   to debconf.

c) Something new in debconf is broken

   This is not the case if you have no ispell dicts since, as I mentioned
   above, that string is not used on upgrades from sarge. I am keeping
   debconf being cc'ed, but I see no bugreports that might seem related to
   this problem. But if you have ispell dicts installed, debconf subst
   might not be working well.

I will try to reproduce this problem tomorrow in a sarge -> sid upgrade
*only* for dictionaries-common. If I cannot reproduce this problem, I will
need as much possible information, like installed ispell dicts and
preferrably an upgrade log with the relevant dictionaries-common
information, preferrably obtained with the

DEBCONF_DEBUG=developer

prefix. This last is very important for (b) and (c).

Cheers,

-- 
Agustin


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



Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-18 Thread Agustin Martin
On Fri, Jun 17, 2005 at 05:38:00PM -0500, Branden Robinson wrote:
> Package: dictionaries-common
> Version: 0.30.1
> Severity: normal
> 
> Upgrading from sarge:
> 
>   Preconfiguring packages ...
>   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.   2. Manual symlinks setting
> 
>   Which ispell dictionary should be the system's default? 1

Hi, Branden,

Seems you have no ispell dicts installed at all, so the debconf choices
string becomes something like

, Manual symlinks setting

The original debconf string being

${choices}, Manual symlinks setting

where ${choices} is substituted after the installed ispell dicts/wordlists
(ispell dicts in your case). I am a bit puzzled, since nothing in that code
has been changed since 0.25.4 (11Apr2005), and that changes are currently in
sarge, with no bugreports.

I am rather confident I checked that possibility, at least on removal, and
worked, but I am not sure if something in debconf has been changed in the
meantime, or may be I left something missing behind.

I am cc'ing debconf package in case something has been changed there (An
extra whitespace?). 

I will also take a look about doublechecking this kind of things, that
should not be difficult.

Cheers,

-- 
Agustin


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



Bug#314714: dictionaries-common: debconf asks me question with absurd choice

2005-06-17 Thread Branden Robinson
Package: dictionaries-common
Version: 0.30.1
Severity: normal

Upgrading from sarge:

  Preconfiguring packages ...
  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.   2. Manual symlinks setting

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

Buh?

I don't understand what I'm being asked.  What *is* "1."?

-- 
G. Branden Robinson|Lowery's Law:
Debian GNU/Linux   |If it jams -- force it.  If it
[EMAIL PROTECTED] |breaks, it needed replacing anyway.
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature