Your message dated Fri, 11 Jan 2019 21:46:14 +0000
with message-id <e1gi4d4-000blr...@fasolo.debian.org>
and subject line Bug#914179: Removed package(s) from unstable
has caused the Debian Bug report #751717,
regarding python-weboob: completion script has huge impact on shell startup time
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
751717: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751717
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-weboob
Version: 0.i-2
Severity: normal

The python-weboob installs a script in /etc/bash_completion.d/weboob
that considerably slows down bash startup time, up to three seconds even on
high end systems.

On every shell invocation (regardless of whether weboob is used or not),
the weboob-config script is called, which is a large python script that
imports many packages, as can be seen when someone get impatient and
issues a Ctrl+C on the unresponsive terminal:

Traceback (most recent call last):
  File "/usr/bin/weboob-config", line 23, in <module>
    from weboob.applications.weboobcfg import WeboobCfg
  File 
"/usr/lib/python2.7/dist-packages/weboob/applications/weboobcfg/__init__.py", 
line 21, in <module>
    from .weboobcfg import WeboobCfg
  File 
"/usr/lib/python2.7/dist-packages/weboob/applications/weboobcfg/weboobcfg.py", 
line 26, in <module>
    from weboob.core.modules import ModuleLoadError
  File "/usr/lib/python2.7/dist-packages/weboob/core/__init__.py", line 22, in 
<module>
    from .ouiboube import Weboob, WebNip
  File "/usr/lib/python2.7/dist-packages/weboob/core/ouiboube.py", line 24, in 
<module>
    from weboob.core.modules import ModulesLoader, RepositoryModulesLoader, 
ModuleLoadError
  File "/usr/lib/python2.7/dist-packages/weboob/core/modules.py", line 24, in 
<module>
    from weboob.tools.backend import BaseBackend
  File "/usr/lib/python2.7/dist-packages/weboob/tools/backend.py", line 29, in 
<module>
    from weboob.tools.value import ValuesDict
  File "/usr/lib/python2.7/dist-packages/weboob/tools/value.py", line 22, in 
<module>
    import subprocess
  File "/usr/lib/python2.7/subprocess.py", line 387, in <module>
    """
KeyboardInterrupt

This is the only bash completion script (at least on my system) that
unconditionally calls an large interpreted program at shell startup.
The output of weboob-config will typically not change much and could
at least be cached.

An ideal solution would be to have weboob maintain a global and per-user
list of programs that must be auto-completed, which can be easily read by a
shell function.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.3.0-1
ii  python-yaml       3.11-1+b1

Versions of packages python-weboob recommends:
ii  python-clientform                     1:0.2.5-3
ii  python-feedparser                     5.1.3-2
ii  python-gdata                          2.0.18+dfsg1-2
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+b1

Versions of packages python-weboob suggests:
pn  python-nose       <none>
ii  python-pysqlite2  2.6.3-3
ii  weboob            0.i-2

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1.3-2.1+rm

Dear submitter,

as the package weboob has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/914179

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Luke Faraone (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to