ImportError: cannot import name Soup

Bug #680103 reported by James Martin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Activity Journal
Invalid
Undecided
Unassigned
Zeitgeist Framework
Invalid
Undecided
Unassigned

Bug Description

This is what happens when I try to start zeitgeist-daemon after installing it from the PPA on Maverick:

$ zeitgeist-daemon
DEBUG:root:Checking for another running instance...
DEBUG:root:No running instances found.
INFO:zeitgeist.sql:Using database: /home/nvsbl/.local/share/zeitgeist/activity.sqlite
DEBUG:zeitgeist.sql:Core schema is good. DB loaded in 12.2709274292ms
DEBUG:zeitgeist.extension:Searching for system extensions in: /usr/share/zeitgeist/_zeitgeist/engine/extensions
DEBUG:zeitgeist.extension:Searching for user extensions in: /home/nvsbl/.local/share/zeitgeist/extensions
ERROR:root:Typelib file for namespace 'Soup' (any version) not found
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gi/importer.py", line 52, in find_module
    repository.require(namespace)
RepositoryError: Typelib file for namespace 'Soup' (any version) not found
Traceback (most recent call last):
  File "/usr/bin/zeitgeist-daemon", line 98, in <module>
    interface = RemoteInterface(mainloop = mainloop)
  File "/usr/share/zeitgeist/_zeitgeist/engine/remote.py", line 53, in __init__
    self._engine = get_engine()
  File "/usr/share/zeitgeist/_zeitgeist/engine/__init__.py", line 43, in get_engine
    _engine = main.ZeitgeistEngine()
  File "/usr/share/zeitgeist/_zeitgeist/engine/main.py", line 120, in __init__
    default_extensions = get_extensions()
  File "/usr/share/zeitgeist/_zeitgeist/engine/extension.py", line 147, in get_extensions
    extensions = _scan_extensions()
  File "/usr/share/zeitgeist/_zeitgeist/engine/extension.py", line 193, in _scan_extensions
    ext = __import__(name)
  File "/home/nvsbl/.local/share/zeitgeist/extensions/desktopcouch_gateway.py", line 35, in <module>
    from gi.repository import Soup
ImportError: cannot import name Soup

I installed python-beautifulsoup, but I'm such a n00b that for all I know they're two totally different libraries.

Revision history for this message
Seif Lotfy (seif) wrote :

either you install libsoob from synaptic or do
rm -r /home/nvsbl/.local/share/zeitgeist/extensions/desktopcouch_gateway.py

this bug is not a zeitgeist bug. You have some extension that uses soup in the zeitgeist directories.

Changed in zeitgeist:
status: New → Invalid
Changed in gnome-activity-journal:
status: New → Invalid
Revision history for this message
Adnane Belmadiaf (daker) wrote :

You should install gir1.0-soup-2.4

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.