Subject: canto: Invalid line in config. […] NameError: name 'width' is not 
defined
Package: canto
Version: 0.6.11-1
Justification: renders package unusable
Severity: grave

*** Please type your report below this line ***

Dear Debian folks,


wanting to run anything canto related (canto, canto-fetch) gives me the
following error.

        $ canto
        Invalid line in config.
        Traceback (most recent call last):
          File "/usr/lib/python2.5/site-packages/canto/cfg.py", line 388, in 
parse
            exec(data.encode("UTF-8"), {}, locals)
          File "<string>", line 5, in <module>
        NameError: name 'width' is not defined

I can not remember ever having touched the config file. Here is the
snippet from the config file.

        # The entirety of the config is read in first (rather
        # than using execfile) because the config could be in
        # some strange encoding, and execfile would choke attempting
        # to coerce some character into ASCII.

        if not data:
            data = self.read_decode(self.path, 1)

        try :
            exec(data.encode("UTF-8"), {}, locals)
        except :
            print "Invalid line in config."
            traceback.print_exc()
            raise


I set the severity to grave because searching for this error on the web
gave some results with this message pasted to pastebin installations.

Please tell me, if I can provide further information.


Thanks,

Paul

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages canto depends on:
ii  libc6                     2.9-12         GNU C Library: Shared libraries
ii  libncursesw5              5.7+20090510-1 shared libraries for terminal hand
ii  python                    2.5.4-2        An interactive high-level object-o
ii  python-chardet            1.0.1-1.1      universal character encoding detec
ii  python-feedparser         4.1-13         Universal Feed Parser for Python

canto recommends no packages.

canto suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to