← Back to team overview

gnome-zeitgeist team mailing list archive

[Bug 381521] [NEW] Error with the twitter data provider

 

Public bug reported:

After giving the twitter data provider, my username and password

I get this in the zeitgeist-daemon command line log. No tweets seem to
added the database but the daemon, trayicon, GUI all seem to work as
expected

  File "/usr/local/bin/zeitgeist-datahub", line 86, in _update_db_async
    self._sources_queue[0].get_items()]
  File "/usr/lib/python2.6/dist-packages/zeitgeist/loggers/zeitgeist_base.py", line 64, in <genexpr>
    return (i for i in self.get_items_uncached() if i["timestamp"] >= min and i["timestamp"] < max)
  File "/usr/lib/python2.6/dist-packages/zeitgeist/loggers/datasources/zeitgeist_twitter.py", line 36, in get_items_uncached
    "timestamp": tweet.created_at_in_seconds,
NameError: global name 'tweet' is not defined
/usr/lib/python2.6/dist-packages/zeitgeist/gui/zeitgeist_util.py:199: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in pixbuf.get_pixels_array():
/usr/lib/python2.6/dist-packages/zeitgeist/gui/zeitgeist_util.py:192: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in pixbuf.get_pixels_array():
/usr/local/bin/zeitgeist-journal:52: DeprecationWarning: 
  self.notebook.set_homogeneous_tabs(True)

** Affects: gnome-zeitgeist
     Importance: Undecided
         Status: New

-- 
Error with the twitter data provider
https://bugs.launchpad.net/bugs/381521
You received this bug notification because you are a member of GNOME
Zeitgeist, which is subscribed to GNOME Zeitgeist.

Status in GNOME Zeitgeist: New

Bug description:
After giving the twitter data provider, my username and password

I get this in the zeitgeist-daemon command line log. No tweets seem to added the database but the daemon, trayicon, GUI all seem to work as expected

  File "/usr/local/bin/zeitgeist-datahub", line 86, in _update_db_async
    self._sources_queue[0].get_items()]
  File "/usr/lib/python2.6/dist-packages/zeitgeist/loggers/zeitgeist_base.py", line 64, in <genexpr>
    return (i for i in self.get_items_uncached() if i["timestamp"] >= min and i["timestamp"] < max)
  File "/usr/lib/python2.6/dist-packages/zeitgeist/loggers/datasources/zeitgeist_twitter.py", line 36, in get_items_uncached
    "timestamp": tweet.created_at_in_seconds,
NameError: global name 'tweet' is not defined
/usr/lib/python2.6/dist-packages/zeitgeist/gui/zeitgeist_util.py:199: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in pixbuf.get_pixels_array():
/usr/lib/python2.6/dist-packages/zeitgeist/gui/zeitgeist_util.py:192: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  for row in pixbuf.get_pixels_array():
/usr/local/bin/zeitgeist-journal:52: DeprecationWarning: 
  self.notebook.set_homogeneous_tabs(True)



Follow ups

References