← Back to team overview

gnome-zeitgeist team mailing list archive

[Bug 510884] [NEW] Gentoo: AttributeError: 'module' object has no attribute 'ThumbnailFactory'

 

Public bug reported:

User report of GAJ running on gentoo, via #zeitgeist

$ gnome-activity-journal
ImportError: could not import bonobo.ui
Traceback (most recent call last):
  File "/usr/bin/gnome-activity-journal", line 91, in <module>
    from src.main import Portal
  File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
    from widgets import *
  File "/usr/share/gnome-activity-journal/src/widgets.py", line 39, in <module>
    from gio_file import GioFile, SIZE_NORMAL, SIZE_LARGE
  File "/usr/share/gnome-activity-journal/src/gio_file.py", line 41, in <module>
    SIZE_NORMAL: gnome.ui.ThumbnailFactory("normal"),
AttributeError: 'module' object has no attribute 'ThumbnailFactory'


<Hey_neken> RainCT can you tell me which version should I have?
<Hey_neken> [ebuild   R   ] dev-python/gnome-python-2.28.0  0 kB
<Hey_neken> [ebuild   R   ] dev-python/pygobject-2.20.0  USE="-debug -doc -examples -libffi -test" 0 kB
<RainCT> thekorn: gnome.ui is in python-gnome2, I think (but maybe Gentoo uses different package names)
<thekorn> oh right
<Hey_neken> so 2.28 is too old?
<thekorn> Hey_neken, can you please give me the output of   python -c "import gnome.ui; print gnome.ui.__version__"
<Hey_neken> python -c "import gnome.ui; print gnome.ui.__version__"
<Hey_neken> ImportError: could not import bonobo.ui
<Hey_neken>   2.28.0
<thekorn> no, I've 2.28 here too and it works
<Hey_neken> i've installed dev-python/libbonobo-python-2.28.0 (/usr/lib64/python2.6/site-packages/gtk-2.0/bonobo/_bonobo.so)
<thekorn> hmm, sorry, I'm not a gentoo expert, but is it possible you missed installing some neccessary parts of python-gnome2
<thekorn> Hey_neken, do you have a account on launchpad.net ?
<thekorn> if so, can you please file a bugreport
<thekorn> I can check zeitgeist and GAJ on a gentoo machine tommorow at work
<thekorn> https://bugs.edge.launchpad.net/gnome-activity-journal/+filebug
<Hey_neken> thekorn I don't have
<thekorn> ok, so I will do for you
<Hey_neken> and I wont open one

** Affects: gnome-activity-journal
     Importance: Undecided
         Status: New

-- 
Gentoo: AttributeError: 'module' object has no attribute 'ThumbnailFactory'
https://bugs.launchpad.net/bugs/510884
You received this bug notification because you are a member of GNOME
Zeitgeist Team, which is the registrant for GNOME Activity Journal.

Status in GNOME Activity Journal: New

Bug description:
User report of GAJ running on gentoo, via #zeitgeist

$ gnome-activity-journal
ImportError: could not import bonobo.ui
Traceback (most recent call last):
  File "/usr/bin/gnome-activity-journal", line 91, in <module>
    from src.main import Portal
  File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
    from widgets import *
  File "/usr/share/gnome-activity-journal/src/widgets.py", line 39, in <module>
    from gio_file import GioFile, SIZE_NORMAL, SIZE_LARGE
  File "/usr/share/gnome-activity-journal/src/gio_file.py", line 41, in <module>
    SIZE_NORMAL: gnome.ui.ThumbnailFactory("normal"),
AttributeError: 'module' object has no attribute 'ThumbnailFactory'


<Hey_neken> RainCT can you tell me which version should I have?
<Hey_neken> [ebuild   R   ] dev-python/gnome-python-2.28.0  0 kB
<Hey_neken> [ebuild   R   ] dev-python/pygobject-2.20.0  USE="-debug -doc -examples -libffi -test" 0 kB
<RainCT> thekorn: gnome.ui is in python-gnome2, I think (but maybe Gentoo uses different package names)
<thekorn> oh right
<Hey_neken> so 2.28 is too old?
<thekorn> Hey_neken, can you please give me the output of   python -c "import gnome.ui; print gnome.ui.__version__"
<Hey_neken> python -c "import gnome.ui; print gnome.ui.__version__"
<Hey_neken> ImportError: could not import bonobo.ui
<Hey_neken>   2.28.0
<thekorn> no, I've 2.28 here too and it works
<Hey_neken> i've installed dev-python/libbonobo-python-2.28.0 (/usr/lib64/python2.6/site-packages/gtk-2.0/bonobo/_bonobo.so)
<thekorn> hmm, sorry, I'm not a gentoo expert, but is it possible you missed installing some neccessary parts of python-gnome2
<thekorn> Hey_neken, do you have a account on launchpad.net ?
<thekorn> if so, can you please file a bugreport
<thekorn> I can check zeitgeist and GAJ on a gentoo machine tommorow at work
<thekorn> https://bugs.edge.launchpad.net/gnome-activity-journal/+filebug
<Hey_neken> thekorn I don't have
<thekorn> ok, so I will do for you
<Hey_neken> and I wont open one





Follow ups

References