Bug#516799: elisa crashes on startup (module object has no attribute Bus)

Andreas Henriksson andreas at fatal.se
Mon Feb 23 18:28:12 UTC 2009


Package: elisa
Version: 0.5.28-1
Severity: grave
Justification: renders package unusable

Just upgraded my elisa install from unstable to the one in experimental.
Just to be sure I also did rm -rf ~/.elisa* but that didn't make a difference.

<type 'exceptions.AttributeError'>
Python 2.5.4: /usr/bin/python
Mon Feb 23 19:07:03 2009

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /usr/bin/elisa in <module>()
    5 from pkg_resources import load_entry_point
    6 
    7 sys.exit(
    8    load_entry_point('elisa==0.5.28', 'gui_scripts', 'elisa')()
    9 )
load_entry_point = <function load_entry_point at 0x7faba8e97cf8>

 /usr/lib/python2.5/site-packages/elisa/core/launcher.py in main()
  378 
  379 def main():
  380     Launcher().main(sys.argv)
  381 
  382 
global Launcher = <class 'elisa.core.launcher.Launcher'>
).main = <unbound method Launcher.main>
global sys = <module 'sys' (built-in)>
sys.argv = ['/usr/bin/elisa']

 /usr/lib/python2.5/site-packages/elisa/core/launcher.py in main(self=<elisa.core.launcher.Launcher object at 0x7faba8e486d0>, argv=['/usr/bin/elisa'])
   81         self.main_before_voodoo()
   82         # from now on it's safe to import stuff
   83         return self.main_after_voodoo(argv)
   84 
   85     def setup_win_output_redirection(self):
self = <elisa.core.launcher.Launcher object at 0x7faba8e486d0>
self.main_after_voodoo = <bound method Launcher.main_after_voodoo of <elisa.core.launcher.Launcher object at 0x7faba8e486d0>>
argv = ['/usr/bin/elisa']

 /usr/lib/python2.5/site-packages/elisa/core/launcher.py in main_after_voodoo(self=<elisa.core.launcher.Launcher object at 0x7faba8e486d0>, argv=['/usr/bin/elisa'])
  222             self.exit(2)
  223 
  224         self.run_application()
  225 
  226     def set_win_environment_after_voodoo(self):
self = <elisa.core.launcher.Launcher object at 0x7faba8e486d0>
self.run_application = <bound method Launcher.run_application of <elisa.core.launcher.Launcher object at 0x7faba8e486d0>>

 /usr/lib/python2.5/site-packages/elisa/core/launcher.py in run_application(self=<elisa.core.launcher.Launcher object at 0x7faba8e486d0>)
  349         from twisted.internet import reactor
  350 
  351         application = Application(self.options)
  352         common.set_application(application)
  353 
application undefined
Application = <class 'elisa.core.application.Application'>
self = <elisa.core.launcher.Launcher object at 0x7faba8e486d0>
self.options = {'files': (), 'fullscreen': 0, 'shell': 0, 'log'... 'unfullscreen': 0, 'rss': None, 'tracebacks': 0}

 /usr/lib/python2.5/site-packages/elisa/core/application.py in __init__(self=<elisa.core.application.Application object at 0x2b0c250>, options={'files': (), 'fullscreen': 0, 'shell': 0, 'log'... 'unfullscreen': 0, 'rss': None, 'tracebacks': 0})
  239         self.update_checker = None
  240 
  241         self.bus = bus.Bus()
  242 
  243         self.service_manager = service_manager.ServiceManager()
self = <elisa.core.application.Application object at 0x2b0c250>
self.bus undefined
global bus = <module 'elisa.core.bus' from '/usr/lib/python2.5/site-packages/elisa/core/bus/__init__.pyc'>
bus.Bus undefined
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'Bus'
    __class__ = <type 'exceptions.AttributeError'>
    __delattr__ = <method-wrapper '__delattr__' of exceptions.AttributeError object at 0x2b94758>
    __dict__ = {}
    __doc__ = 'Attribute not found.'
    __getattribute__ = <method-wrapper '__getattribute__' of exceptions.AttributeError object at 0x2b94758>
    __getitem__ = <method-wrapper '__getitem__' of exceptions.AttributeError object at 0x2b94758>
    __getslice__ = <method-wrapper '__getslice__' of exceptions.AttributeError object at 0x2b94758>
    __hash__ = <method-wrapper '__hash__' of exceptions.AttributeError object at 0x2b94758>
    __init__ = <method-wrapper '__init__' of exceptions.AttributeError object at 0x2b94758>
    __new__ = <built-in method __new__ of type object at 0x726d00>
    __reduce__ = <built-in method __reduce__ of exceptions.AttributeError object at 0x2b94758>
    __reduce_ex__ = <built-in method __reduce_ex__ of exceptions.AttributeError object at 0x2b94758>
    __repr__ = <method-wrapper '__repr__' of exceptions.AttributeError object at 0x2b94758>
    __setattr__ = <method-wrapper '__setattr__' of exceptions.AttributeError object at 0x2b94758>
    __setstate__ = <built-in method __setstate__ of exceptions.AttributeError object at 0x2b94758>
    __str__ = <method-wrapper '__str__' of exceptions.AttributeError object at 0x2b94758>
    args = ("'module' object has no attribute 'Bus'",)
    message = "'module' object has no attribute 'Bus'"

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "/usr/bin/elisa", line 8, in <module>
    load_entry_point('elisa==0.5.28', 'gui_scripts', 'elisa')()
  File "/usr/lib/python2.5/site-packages/elisa/core/launcher.py", line 380, in main
    Launcher().main(sys.argv)
  File "/usr/lib/python2.5/site-packages/elisa/core/launcher.py", line 83, in main
    return self.main_after_voodoo(argv)
  File "/usr/lib/python2.5/site-packages/elisa/core/launcher.py", line 224, in main_after_voodoo
    self.run_application()
  File "/usr/lib/python2.5/site-packages/elisa/core/launcher.py", line 351, in run_application
    application = Application(self.options)
  File "/usr/lib/python2.5/site-packages/elisa/core/application.py", line 241, in __init__
    self.bus = bus.Bus()
AttributeError: 'module' object has no attribute 'Bus'




-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages elisa depends on:
ii  elisa-plugins-bad             0.5.28-1   Elisa plugins from the "bad" set
ii  elisa-plugins-good            0.5.28-1   Elisa plugins from the "good" set
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-elisa                  0.5.28-1   media center solution - Python lib
ii  python-gst0.10                0.10.14-2  generic media-playing framework (P
ii  python-pkg-resources          0.6c9-2    Package Discovery and Resource Acc
ii  python-twisted-core           8.2.0-1    Event-based framework for internet

Versions of packages elisa recommends:
ii  elisa-plugins-ugly            0.5.28-1   Elisa plugins from the "ugly" set

Versions of packages elisa suggests:
pn  ipython                       <none>     (no description available)

-- no debconf information





More information about the Pkg-gstreamer-maintainers mailing list