[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#215985: first menu item always the default



Steinar H. Gunderson wrote:
> On Wed, Oct 15, 2003 at 03:03:47PM -0400, Joey Hess wrote:
> > No matter what I do, language-chooser is always the default in main-menu
> > now. I suppose this is continuing libd-i upgrade breakage.
> 
> This is probably caused by
> 
> 22:53 < Sesse> Oct 15 15:36:28 (none) user.debug frontend: --> SET
>                debian-installer/country US
> 22:53 < Sesse> Oct 15 15:36:28 (none) user.debug frontend: <-- 10
>                debian-installer/country doesn't exist
> 22:53 < Sesse> Oct 15 15:36:28 (none) user.warn main-menu[308]: WARNING **:
>                Configuring 'languagechooser' failed with error code 10
> 
> No idea why it happens, though.

I was mistaken in my previous email. It's not in the templates.dat or
questions.dat, even after running mergetemplates. It is due to the missing
newline:

Template: debian-installer/country
Type: string
Description: Internal use
Template: debian-installer/languagechooser/title
Type: text
Description: Choose language

So the cdebconf parser takes the last Template line.

I tried a build from CVS, and I cannot reproduce it. Instead, I get this
in the udeb, which is also invalid:

Template: debian-installer/country
Type: string
Description: Internal use

# This menu entry should not be translated.  It should stay the same no
# matter which language is selected, so people are able to find it when
# they
# select a language they do not understand.
Template: debian-installer/languagechooser/title
Type: text
Description: Choose language

Dennis, why is po-debconf not stripping those comments, and do you have 
any other insights? (po-debconf 0.8.2)

I have for now removed the comments, and verified that fixes it, so
uploaded the package. I have verified in bochs that this fixes the menu
problem.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: