Package: python-weboob
Version: 0.i-2
Severity: serious
Justification: breaks unrelated software
Dear Maintainer,
I'm not sure if the following only happens with 0.i-2 or also with
earlier versions. But at least since that version, new bash login shells
with bash_completion enabled show at startup the following python
traceback:
$ bash -l
Traceback (most recent call last):
File "/usr/bin/weboob-config", line 27, in <module>
WeboobCfg.run()
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/console.py",
line 204, in run
super(ConsoleApplication, klass).run(args)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py",
line 436, in run
app = cls()
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/repl.py",
line 133, in __init__
ConsoleApplication.__init__(self, ReplOptionParser(self.SYNOPSIS,
version=self._get_optparse_version()))
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/console.py",
line 83, in __init__
BaseApplication.__init__(self, option_parser)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py",
line 138, in __init__
self.weboob = self.create_weboob()
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py",
line 104, in create_weboob
return Weboob()
File "/usr/lib/python2.7/dist-packages/weboob/core/ouiboube.py", line 335, in
__init__
self.repositories = Repositories(workdir, datadir, self.VERSION)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line
447, in __init__
self.update()
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line
601, in update
self.update_repositories()
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line
568, in update_repositories
repository.retrieve_index(self.browser, repo_path)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line
181, in retrieve_index
self.parse_index(fp)
File "/usr/lib/python2.7/dist-packages/weboob/core/repositories.py", line
226, in parse_index
config.readfp(fp)
File "/usr/lib/python2.7/dist-packages/configparser.py", line 773, in readfp
self.read_file(fp, source=filename)
File "/usr/lib/python2.7/dist-packages/configparser.py", line 728, in
read_file
self._read(f, source)
File "/usr/lib/python2.7/dist-packages/configparser.py", line 1067, in _read
if line.strip().startswith(prefix):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15:
ordinal not in range(128)
abe@c-cactus:~$
I'm not sure why, but while it _always_ happens on one box, it happened
only once on another box.
I though can reproduce it always for at least one time by removing
~/.config/weboob/ and then calling "bash -l".
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.15-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-weboob depends on:
ii python 2.7.6-2
ii python-cssselect 0.9.1-1
ii python-dateutil 1.5+dfsg-1
ii python-lxml 3.3.5-1
ii python-mechanize 1:0.2.5-3
ii python-requests 2.2.1-3
ii python-yaml 3.11-1
Versions of packages python-weboob recommends:
ii python-feedparser 5.1.3-2
pn python-gdata <none>
ii python-imaging 2.3.0-2
ii python-mechanize [python-clientform] 1:0.2.5-3
ii python-pil [python-pillow] 2.3.0-2
Versions of packages python-weboob suggests:
pn python-nose <none>
pn python-pysqlite2 <none>
ii weboob 0.i-2
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]