Not working with docky anymore

Bug #508021 reported by Lucas Peng
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Rico Tzschichholz

Bug Description

After update from bzr. The zeitgeist helper in docky2 is not working anymore.

Revision history for this message
Lucas Peng (lucasp0927) wrote :

These are the error message from docky
[Info 01:29:06.045] [Helper] zeitgeist_docky.py :: PLEASE USE ZEITGEIST 0.3.0 or above
[Info 01:29:06.117] [Helper] zeitgeist_docky.py has exited (Code 0).

affects: gnome-zeitgeist → docky
Revision history for this message
Siegfried Gevatter (rainct) wrote :

=== modified file 'scripts/zeitgeist_docky.py'
--- scripts/zeitgeist_docky.py 2010-01-05 09:03:44 +0000
+++ scripts/zeitgeist_docky.py 2010-01-15 18:10:16 +0000
@@ -40,12 +40,10 @@
 try:
        CLIENT = ZeitgeistClient()
        version = CLIENT.get_version()
- MIN_VERSION = [0, 2, 99]
- for i in xrange(3):
- if version[i] < MIN_VERSION[i]:
- print "PLEASE USE ZEITGEIST 0.3.0 or above"
- exit()
-
+ MIN_VERSION = [0, 2, 99,0]
+ if version < MIN_VERSION:
+ print "PLEASE USE ZEITGEIST 0.3.0 or above"
+ exit()

 except RuntimeError, e:
        print "Unable to connect to Zeitgeist, won't send events. Reason: '%s'" %e

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Sorry, there was a little mistake in there.

=== modified file 'scripts/zeitgeist_docky.py'
--- scripts/zeitgeist_docky.py 2010-01-05 09:03:44 +0000
+++ scripts/zeitgeist_docky.py 2010-01-15 18:30:07 +0000
@@ -40,12 +40,10 @@
 try:
        CLIENT = ZeitgeistClient()
        version = CLIENT.get_version()
- MIN_VERSION = [0, 2, 99]
- for i in xrange(3):
- if version[i] < MIN_VERSION[i]:
- print "PLEASE USE ZEITGEIST 0.3.0 or above"
- exit()
-
+ MIN_VERSION = [0, 2, 99,0]
+ if version < MIN_VERSION:
+ print "PLEASE USE ZEITGEIST 0.3.0 or above"
+ exit()

 except RuntimeError, e:
        print "Unable to connect to Zeitgeist, won't send events. Reason: '%s'" %e

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Oops, wrong diff:

=== modified file 'scripts/zeitgeist_docky.py'
--- scripts/zeitgeist_docky.py 2010-01-05 09:03:44 +0000
+++ scripts/zeitgeist_docky.py 2010-01-15 18:54:56 +0000
@@ -39,13 +39,12 @@

 try:
        CLIENT = ZeitgeistClient()
- version = CLIENT.get_version()
+ version = [int(x) for x in CLIENT.get_version()]
        MIN_VERSION = [0, 2, 99]
- for i in xrange(3):
- if version[i] < MIN_VERSION[i]:
- print "PLEASE USE ZEITGEIST 0.3.0 or above"
- exit()
-
+
+ if version < MIN_VERSION:
+ print "PLEASE USE ZEITGEIST 0.3.0 or above"
+ exit()

 except RuntimeError, e:
        print "Unable to connect to Zeitgeist, won't send events. Reason: '%s'" %e

Changed in docky:
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Andrea Calabrò (mastropino) wrote :

must be hight priority!!!!

Robert Dyer (psybers)
Changed in docky:
status: Fix Committed → Fix Released
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.