← Back to team overview

zeitgeist team mailing list archive

[Bug 489127] Re: OverflowError in GetHighestTimestampForActor()

 

** Branch linked: lp:zeitgeist

-- 
OverflowError in GetHighestTimestampForActor()
https://bugs.launchpad.net/bugs/489127
You received this bug notification because you are a member of
Zeitgeist-Engine, which is the registrant for Zeitgeist Framework.

Status in Zeitgeist Framework: In Progress

Bug description:
This method is not adjusted for timestamps being in miliseconds

In [2]: i = ZeitgeistDBusInterface ()

In [3]: i.GetHighestTimestampForActor("application://firefox.desktop")
---------------------------------------------------------------------------
DBusException                             Traceback (most recent call last)

/media/devel/zeitgeist-dataprovider/trunk/firefox/<ipython console> in <module>()

/usr/lib/pymodules/python2.6/dbus/proxies.pyc in __call__(self, *args, **keywords)
    138                                                   introspect_sig,
    139                                                   args,
--> 140                                                   **keywords)
    141 
    142     def call_async(self, *args, **keywords):

/usr/lib/pymodules/python2.6/dbus/connection.pyc in call_blocking(self, bus_name, object_path, dbus_interface, method, signature, args, timeout, utf8_strings, byte_arrays)
    618         # make a blocking call

    619         reply_message = self.send_message_with_reply_and_block(
--> 620             message, timeout)
    621         args_list = reply_message.get_args_list(**get_args_opts)
    622         if len(args_list) == 0:

DBusException: org.freedesktop.DBus.Python.OverflowError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 745, in _message_cb
    _method_reply_return(connection, message, method_name, signature, *retval)
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 252, in _method_reply_return
    reply.append(signature=signature, *retval)
OverflowError: Value 889653821 out of range for UInt32



References