Gwibber fails on processing specific tweet

Bug #709865 reported by Jon Lowag
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Expired
Low
Unassigned

Bug Description

I recently discovered that Gwibber stopped showing new twitter updates. It didn’t give me any error messages. Neither manual refreshing nor restarting helped. It still showed me older updates.
The ~/.cache/gwibber/gwibber.log indicated a problem with a tweet from @urbanrivals so I tried to unfollow from that user and refreshed gwibber and I got all the missing twitter updates (without @urbanrivals of course). There seems some kind of error with either this account or a specific tweet from that account.

Gwibber version 2.32.2 (2.32.2-0ubuntu2)

Excerpt from ~/.cache/gwibber/gwibber.log:
2011-01-29 19:41:16,900 - Gwibber Dispatcher - ERROR - Twitter failure - {u'favorited': False, u'contributors': None, u'truncated': False, u'text': u'[News] Changes to the ELO mode and new banned characters.: As of January 31st&nbsp;2011, Copper, Bridget, Rolph, Rowdy, Lou, Shann, E...', u'created_at': u'Fri Jan 28 13:51:15 +0000 2011', u'retweeted': False, u'in_reply_to_status_id_str': None, u'coordinates': None, u'id': 30986263850913792, u'source': u'<a href="http://twitterfeed.com" rel="nofollow">twitterfeed</a>', u'in_reply_to_status_id': None, u'id_str': u'30986263850913792', u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'place': None, u'retweet_count': 0, u'geo': None, u'in_reply_to_user_id_str': None, u'user': {u'follow_request_sent': False, u'profile_use_background_image': True, u'id': 16298864, u'verified': False, u'profile_sidebar_fill_color': u'C0DFEC', u'profile_text_color': u'333333', u'followers_count': 1113, u'profile_sidebar_border_color': u'a8c7f7', u'location': u'World, Internet, Wifi waves.', u'profile_background_color': u'022330', u'listed_count': 25, u'utc_offset': 3600, u'statuses_count': 1103, u'description': u'Urban Rivals is an highly addictive game available on the Web, Facebook and the iPhone.', u'friends_count': 19, u'profile_link_color': u'0084B4', u'profile_image_url': u'http://a3.twimg.com/profile_images/1081791499/UrbanRivalsBlack_normal.jpg', u'following': True, u'show_all_inline_media': False, u'geo_enabled': False, u'id_str': u'16298864', u'profile_background_image_url': u'http://a1.twimg.com/profile_background_images/124675374/BANGERS.jpg', u'name': u'Urban Rivals Team', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 2, u'screen_name': u'urbanrivals', u'notifications': False, u'url': u'http://www.urban-rivals.com', u'created_at': u'Mon Sep 15 17:50:56 +0000 2008', u'contributors_enabled': False, u'time_zone': u'Paris', u'protected': False, u'is_translator': False}}
2011-01-29 19:41:16,939 - Gwibber Dispatcher - ERROR - <twitter:receive> Operation failed

The tweet this error message corresponds to is from Jan 28th 2011. This may limit the reproducibility.

Steps to reproduce:
- Follow http://twitter.com/#!/urbanrivals
- Add your twitter account to Gwibber
- Try to refresh. There should be no messages.

Revision history for this message
Michael Gratton (mjog) wrote :

It's not limited to that account, it seems to be a parsing problem in general. Here's mine:

2011-02-02 14:46:18,186 - Gwibber Dispatcher - ERROR - Twitter failure - {u'favorited': False, u'contributors': None, u'truncated': False, u'text': u'Dear Lazy Twitter: How do I compare "&aacute;" and "\xe1" in Javascript to get True?', u'user': {u'follow_request_sent': False, u'profile_use_background_image': True, u'id': 5881942, u'verified': False, u'profile_sidebar_fill_color': u'efefef', u'profile_text_color': u'333333', u'followers_count': 286, u'protected': False, u'location': u'Porto Alegre, RS, Brazil', u'profile_background_color': u'131516', u'id_str': u'5881942', u'utc_offset': -10800, u'statuses_count': 11695, u'description': u'Old school coder living in a 2.0 development world.', u'friends_count': 232, u'profile_link_color': u'095d99', u'profile_image_url': u'http://a2.twimg.com/profile_images/1033692480/Screen_shot_2010-04-06_at_8.07.07_PM_normal.png', u'is_translator': False, u'show_all_inline_media': False, u'geo_enabled': False, u'profile_background_image_url': u'http://a2.twimg.com/a/1296156503/images/themes/theme15/bg.png', u'name': u'Julio Biason', u'lang': u'en', u'profile_background_tile': True, u'favourites_count': 8, u'screen_name': u'juliobiason', u'notifications': False, u'url': u'http://juliobiason.net', u'created_at': u'Wed May 09 01:15:26 +0000 2007', u'contributors_enabled': False, u'time_zone': u'Brasilia', u'profile_sidebar_border_color': u'eeeeee', u'following': True, u'listed_count': 11}, u'retweeted': False, u'in_reply_to_status_id_str': None, u'coordinates': None, u'id': 32416720706609154, u'source': u'<a href="http://itunes.apple.com/us/app/twitter/id409789998?mt=12" rel="nofollow">Twitter for Mac</a>', u'in_reply_to_status_id': None, u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'place': None, u'created_at': u'Tue Feb 01 12:35:23 +0000 2011', u'retweet_count': 0, u'geo': None, u'in_reply_to_user_id_str': None, u'id_str': u'32416720706609154'}

2011-02-02 14:46:18,267 - Gwibber Dispatcher - ERROR - <twitter:receive> Operation failed

Revision history for this message
Michael Gratton (mjog) wrote :

This might be a recent change in Twitter's feed, I've never had it happen before.

I'm on maverick:
gwibber 2.32.2-0ubuntu2
gwibber-service 2.32.2-0ubuntu2
libgwibber0 0.0.6-0ubuntu1

Revision history for this message
Andrew Hamblin (lextori) wrote :

I'm getting errors that look like this

2011-02-14 12:49:27,774 - Gwibber Dispatcher - ERROR - Failed to parse the response, error was: No JSON object could be decoded
2011-02-14 12:49:27,779 - Gwibber Dispatcher - ERROR - Twitter unexpected result - No JSON object could be decoded

Revision history for this message
Jon Lowag (jolo) wrote :

Hi Andrew,

do you experience the same symptoms as described in the description (Gwibber stopped fetching entries from twitter)? I am not sure if the error messages you posted are related to the same bug.

Revision history for this message
Victor Vargas (kamus) wrote :

I have seen this issue before, but I can't remember for now the report number. any way, have you tried to unfollow 'urbanrivals' user and then check if this behaviour is still occurring?

Changed in gwibber (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jon Lowag (jolo) wrote :

Thanks for your reply. As I tried to explain in the description, unfollowing 'urbanrivals' did restore gwibbers normal behaviour. When I then tried to follow 'urbanrivals' again the same error occured and gwibber stopped fetching any tweets, but still showing all tweets fetched until then. So the issue was reproducible for me at that time.

In fact, now that gwibber does not try to fetch that tweet in question any more (because it is too old) I am able follow 'urbanrivals' with gwibber without a problem.

Jon Lowag (jolo)
Changed in gwibber (Ubuntu):
status: Incomplete → New
Revision history for this message
Jon Lowag (jolo) wrote :

There are no open questions so I set the status back to new.

Revision history for this message
Victor Vargas (kamus) wrote :

Jon, is there any possibility to check if this behaviour is still affecting you with gwibber 3.0.0.1? Thanks

Revision history for this message
Jon Lowag (jolo) wrote :

Sorry, I have not noticed your answer until now.

I don’t know a way to reproduce this with any version of gwibber, due to the fact that gwibber fetches only the messages of the last few days/hours. If you can tell me how to configure gwibber to fetch tweets from a specific period of time instead of the most recent ones I will try it out. Otherwise this bug is hard to reproduce as I stated in the description because it’s connected to something in one specific tweet.

Perhaps there is a way to reproduce this tweet (http://twitter.com/#!/urbanrivals/status/30986263850913792) so that it recreates the error. But unfortunately I don’t have the time to look into the twitter API and test this out.

Revision history for this message
Victor Vargas (kamus) wrote :

Folks, any news about this issue? are you still being affected by this behaviour?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Bilal Shahid (s9iper1) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better,
* can you reproduce it ?
* if so than which version are you on ?

Changed in gwibber (Ubuntu):
status: New → Incomplete
Revision history for this message
Jon Lowag (jolo) wrote :

The short answer: No. I cannot reproduce this bug.

The long answer: It is very hard to reproduce this bug. I do not know the exact criteria gwibber uses to fetch messages, but it does not fetch messages older than a certain number of days. Once the tweet, that probably caused this malfunction, was older than this threshold gwibber started working normally for me and I could not reproduce this bug with the same version of gwibber. There is no way for me to tell if any later version of gwibber would behave the same way when encountering the tweet in question. I have never encounterd the same malfunction again with another tweet.

The only way I can think of to reproduce this bug is to use a mock-up of the twitter api and recreate the tweet mentioned in the log file I posted. I do not have the knowledge to do this. I do not know if the twitter api has changed since then so this would be impossible. I do not know if the parts of the gwibber code that could be responsible have been rewritten by now so this would be irrelevant.

Conclusion: This bug seems to affect only very few people and occurs very rarely. When it occurs gwibber stops working completely for a number of days. It may be gone in a current version of gwibber and it is propably not worth the effort to investigate any further. If you want to close this ticket I have no objection.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gwibber (Ubuntu) because there has been no activity for 60 days.]

Changed in gwibber (Ubuntu):
status: Incomplete → Expired
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.