It's because you have installed the new version without uninstall the previous version.

the directory elisa/core/gst does not exists in the new version. Just remove it.

thanks for the report.

Lionel.

Frittella Laurento wrote:
When I try to start elisa-0.3.1 it dies with:

Traceback (most recent call last):
  File "/usr/bin/elisa", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in
load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097,
in load_entry_point
    return ep.load()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830,
in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.4/site-packages/elisa/core/application.py",
line 36, in ?
    from elisa.core import thumbnailer
  File "/usr/lib/python2.4/site-packages/elisa/core/thumbnailer.py",
line 56, in ?
    class VideoSinkBin(gst.Bin):
AttributeError: 'module' object has no attribute 'Bin'


There is a dir in .../core/ named gst so it seems like thumbnailer.py
imports *local* gst instead of pygst

_twi from the #gstreamer IRC channel suggests me this hack:

replace (thumbnailer.py row 56):
  import gst

with:
  import sys
  import imp
  import os
  d = os.path.dirname (os.path.abspath (__file__))
  path = [i for i in sys.path if i != d]
  m = imp.load_module ("gst", *imp.find_module ("gst", path))
  gst = m

it's a bad hack but it works and highlight the problem ;)

Regards,
Laurento


Reply via email to