Bug 635082

Summary: Gwibber chokes on certain characters in tweets.
Product: [Fedora] Fedora Reporter: Peter Oliver <mavit>
Component: gwibberAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gwibber-2.33.0-7.867bzr.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:22:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Oliver 2010-09-17 18:07:11 UTC
Description of problem:
Gwibber stops fetching messages from Twitter when it encounters the tweet at "http://twitter.com/mavittest/status/24774597597".  It emits the following log message:

2010-09-17 17:52:29,888 - Gwibber Dispatcher - ERROR - Twitter failure - {u'favorited': False, u'contributors': None, u'truncated': False, u'text': u'This tweet is an attempt to break &lt;em&gt;Gwibber&lt;/em&gt;.', u'created_at': u'Fri Sep 17 16:49:24 +0000 2010', u'retweeted': False, u'coordinates': None, u'source': u'web', 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'retweet_count': None, u'geo': None, u'id': 24774597597L, u'user': {u'follow_request_sent': False, u'profile_use_background_image': True, u'id': 191893264, u'verified': False, u'profile_sidebar_fill_color': u'DDEEF6', u'profile_text_color': u'333333', u'followers_count': 2, u'protected': False, u'location': None, u'profile_background_color': u'C0DEED', u'listed_count': 0, u'utc_offset': -28800, u'statuses_count': 1, u'description': None, u'friends_count': 0, u'profile_link_color': u'0084B4', u'profile_image_url': u'http://s.twimg.com/a/1284676327/images/default_profile_3_normal.png', u'notifications': False, u'show_all_inline_media': False, u'geo_enabled': False, u'profile_background_image_url': u'http://s.twimg.com/a/1284676327/images/themes/theme1/bg.png', u'screen_name': u'mavittest', u'lang': u'en', u'profile_background_tile': False, u'favourites_count': 0, u'name': u'Peter Oliver', u'url': None, u'created_at': u'Fri Sep 17 16:47:53 +0000 2010', u'contributors_enabled': False, u'time_zone': u'Pacific Time (US & Canada)', u'profile_sidebar_border_color': u'C0DEED', u'following': True}}
2010-09-17 17:52:29,891 - Gwibber Dispatcher - ERROR - <twitter:receive> Operation failed

Version-Release number of selected component (if applicable):
gwibber-2.31.93-1.847bzr.fc13

How reproducible:
Always

Steps to Reproduce:
1. Follow "mavittest" on Twitter.
  
Actual results:
Tweets seen.

Expected results:
No tweets seen.

Additional info:
This bug is not found in the upstream version of Gwibber.  Removing the patch "gwibber-838bzr-twitter-unicode-hack.patch" from the RPM eliminates the bug.  The note in the .spec says to see "https://bugs.launchpad.net/gwibber/+bug/532952", but this page asserts that this bug is fixed.  Is this patch still needed?

Comment 1 Tom "spot" Callaway 2010-09-23 18:42:21 UTC
So, even when i take out that patch, I can still make it choke on certain non-utf8 characters. I think this fix will do the trick though:

https://bugs.launchpad.net/gwibber/+bug/646232

Comment 2 Fedora Update System 2010-09-26 17:55:56 UTC
gwibber-2.33.0-7.867bzr.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gwibber-2.33.0-7.867bzr.fc13

Comment 3 Fedora Update System 2010-09-26 17:56:44 UTC
gwibber-2.33.0-7.867bzr.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gwibber-2.33.0-7.867bzr.fc14

Comment 4 Fedora Update System 2010-09-26 17:57:33 UTC
gwibber-2.33.0-7.867bzr.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/gwibber-2.33.0-7.867bzr.fc12

Comment 5 Fedora Update System 2010-09-27 03:38:33 UTC
gwibber-2.33.0-7.867bzr.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gwibber'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gwibber-2.33.0-7.867bzr.fc14

Comment 6 Fedora Update System 2010-10-05 13:21:39 UTC
gwibber-2.33.0-7.867bzr.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2010-10-08 20:47:00 UTC
gwibber-2.33.0-7.867bzr.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-10-08 20:52:48 UTC
gwibber-2.33.0-7.867bzr.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.