dockbar crashes when being started

Bug #606568 reported by marzojr
90
This bug affects 20 people
Affects Status Importance Assigned to Milestone
DockbarX
Fix Released
Undecided
Unassigned

Bug Description

Latest dockbarx (0.39.5.1) crashes when being added to gnome-panel. Executing 'dockbarx_factory.py run-in-window' from a terminal prints the following:

** (dockbarx_factory.py:15085): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (dockbarx_factory.py:15085): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (dockbarx_factory.py:15085): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/dockbarx_factory.py", line 26, in <module>
    import dockbarx.dockbar
  File "/usr/lib/python2.6/dockbarx/dockbar.py", line 36, in <module>
    from groupbutton import *
  File "/usr/lib/python2.6/dockbarx/groupbutton.py", line 39, in <module>
    import zg
  File "/usr/lib/python2.6/dockbarx/zg.py", line 40, in <module>
    result_type=datamodel.ResultType.MostRecentSubjects,
NameError: name 'datamodel' is not defined

Tags: crash
Revision history for this message
J Sanders (kernel528) wrote :

I was also getting this same error. DBX was also not launching when added as an applet to AWN (0.40).

For what it is worth installing the following packages (running Linux Mint 9 x64) solved this for me:

sudo add-apt-repository ppa:zeitgeist/ppa && sudo apt-get update
sudo apt-get install libgtk2.0-0 libx11-6 libxcomposite1 zeitgeist

Revision history for this message
Matias Särs (msevens) wrote :

Thanks for the report.

Changed in dockbar:
status: New → Fix Committed
Revision history for this message
marzojr (marzojr) wrote :

@J Sanders: those commands also fixed it here.

Revision history for this message
sasagundul (mindscrewer06) wrote :

@J Sanders: thanks for the tips! it worked for me too

Revision history for this message
ktp (kari-petersen) wrote :

i just had to install zeitgeist. I did __not__ add the zeitgeist ppa.

~$ sudo apt-get install libgtk2.0-0 libx11-6 libxcomposite1 zeitgeist
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
libgtk2.0-0 ist schon die neueste Version.
libx11-6 ist schon die neueste Version.
libxcomposite1 ist schon die neueste Version.
Die folgenden zusätzlichen Pakete werden installiert:
  zeitgeist-core zeitgeist-datahub
Die folgenden NEUEN Pakete werden installiert:
  zeitgeist zeitgeist-core zeitgeist-datahub
0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 64,3kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 647kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]?
Hole:1 http://de.archive.ubuntu.com/ubuntu/ lucid/universe zeitgeist-core 0.3.2-1ubuntu1 [49,9kB]
Hole:2 http://de.archive.ubuntu.com/ubuntu/ lucid/universe zeitgeist-datahub 0.3.2-1ubuntu1 [12,5kB]
Hole:3 http://de.archive.ubuntu.com/ubuntu/ lucid/universe zeitgeist 0.3.2-1ubuntu1 [1.880B]
Es wurden 64,3kB in 15s geholt (4.153B/s)
Wähle vormals abgewähltes Paket zeitgeist-core.
(Lese Datenbank ... 217715 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke zeitgeist-core (aus .../zeitgeist-core_0.3.2-1ubuntu1_all.deb) ...
Wähle vormals abgewähltes Paket zeitgeist-datahub.
Entpacke zeitgeist-datahub (aus .../zeitgeist-datahub_0.3.2-1ubuntu1_all.deb) ...
Wähle vormals abgewähltes Paket zeitgeist.
Entpacke zeitgeist (aus .../zeitgeist_0.3.2-1ubuntu1_all.deb) ...
Verarbeite Trigger für man-db ...
Richte zeitgeist-core ein (0.3.2-1ubuntu1) ...

Richte zeitgeist-datahub ein (0.3.2-1ubuntu1) ...

Richte zeitgeist ein (0.3.2-1ubuntu1) ...
Verarbeite Trigger für python-support ...

~$ dockbarx_factory.py run-in-window
** (dockbarx_factory.py:8864): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (dockbarx_factory.py:8864): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (dockbarx_factory.py:8864): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Dockbarx init
Dockbarx reload
Opened window matched with gio app on id: gnome-terminal
Opened window matched with gio app on id: firefox

But why do I have to install zeitgeist to run dbx?

Revision history for this message
Matias Särs (msevens) wrote :

Zeitgeist powers those nice "Recent", "Most used" and "Related" submenus when you right click. You won't get them by installing the version of zeitgeist that is in the lucid repository, you need the ppa version. It is a bug that you had to install zeitgeist. It is supposed to be optional and in x.0.39.6 it is again.

Matias Särs (msevens)
Changed in dockbar:
status: Fix Committed → Fix Released
Revision history for this message
Justin (redijia) wrote :

Hello,

after upgrading to 0.39.6.1-1 the issue is back.

Applying and installing the zeitgeist ppa did not solve the issue.

I am running Ubuntu 10.04 x64bit

Revision history for this message
DM-43568 (jb-2002) wrote :

Same problem with x.0.39.7 and installed zeitgeist.
Ubuntu 10.04 x64bit.

Revision history for this message
Matias Särs (msevens) wrote :

Ok. Run DockbarX in window and report the error.

dockbarx_factory.py run-in-window

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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