[Pkg-freevo-maint] Bug#503370: freevo: Missing source encoding declaration in debconf.py

Florian Hatat mininet at wanadoo.fr
Sat Oct 25 09:24:01 UTC 2008

Package: freevo
Version: 1.8.1-2
Severity: important
Tags: l10n

The generated /etc/freevo/debconf.py doesn't have any source encoding declaration: this becomes an issue when 
Freevo is installed in a French environment, since debconf.py will contain some non-ascii accents in the VIDEO_ITEMS, 

Python 2.5 doesn't accept debconf.py as a valid input any more, which prevents Freevo from starting at all.

The bug was quite tricky to track down, since running "freevo --trace start" just returns, without any error message.

Adding the line:

# -*- coding: utf-8 -*-

at the top of the generated debconf.py made my Freevo happy. (Well almost, Freevo now starts, but the accents in the 
directory labels are not properly displayed).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (60, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
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 freevo depends on:
ii  adduser         3.110                    add and remove users and groups
ii  console-tools   1:0.2.3dbs-65.1          Linux console and font utilities
ii  debconf         1.5.22                   Debian configuration management sy
ii  freevo-data     1.8.1-2                  Themes and non-application data fo
ii  lsdvd           0.16-3                   read the content info of a DVD
ii  mplayer-nogui [ 1:1.0.rc2svn20080706-0.1 The Ultimate Movie Player For Linu
ii  python          2.5.2-2                  An interactive high-level object-o
ii  python-central  0.6.8                    register and build utility for Pyt
ii  python-freevo   1.8.1-2                  Python modules for Freevo

Versions of packages freevo recommends:
ii  cdparanoia          3.10.0+debian-1      audio extraction tool for sampling
ii  libxmltv-perl       0.5.52-1             Perl libraries related to the XMLT
ii  xine-ui             0.99.5+cvs20070914-2 the xine video player, user interf
ii  xmltv-util          0.5.52-1             Utilities related to the XMLTV fil

Versions of packages freevo suggests:
pn  fbset           <none>                   (no description available)
pn  fbxine          <none>                   (no description available)
pn  flac            <none>                   (no description available)
pn  lame            <none>                   (no description available)
ii  libdvdcss2      1.2.10-0.2               Simple foundation for reading DVDs
pn  matrox-tools    <none>                   (no description available)
ii  mencoder        1:1.0.rc2svn20080706-0.1 MPlayer's Movie Encoder
pn  nvram-wakeup    <none>                   (no description available)
pn  ttf-liberation  <none>                   (no description available)
pn  vorbis-tools    <none>                   (no description available)

-- debconf information:
  freevo/path_to_recordings: /home/freevo/recordings
* freevo/display: x11
* freevo/start_on_boot:
  freevo/path_to_audio: /home/freevo/audio
  freevo/path_to_image: /home/freevo/image
* freevo/norm: pal
  freevo/path_to_video: /home/freevo/video
  freevo/title_image: Répertoire des images
* freevo/chanlist: france
  freevo/title_video: Répertoire vidéo
* freevo/services: xserver, recordserver, encodingserver
* freevo/geometry: 800x600
  freevo/title_audio: Répertoire audio

More information about the Pkg-freevo-maint mailing list