** Changed in: friends
     Assignee: Robert Bruce Park (robru) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to friends in Ubuntu.
https://bugs.launchpad.net/bugs/1248302

Title:
  facebook msgid parsing fails

Status in Friends:
  Confirmed
Status in friends package in Ubuntu:
  Fix Released

Bug description:
  ERROR  Thread-2    2013-10-30 00:33:35,425  friends.utils.base  list index 
out of range
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/friends/utils/base.py", line 159, in 
run
      super().run()
    File "/usr/lib/python3.3/threading.py", line 594, in run
      self._target(*self._args, **self._kwargs)
    File "/usr/lib/python3/dist-packages/friends/utils/base.py", line 153, in 
_retval_catcher
      self._success_callback(str(func(*args, **kwargs)))
    File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 
197, in receive
      self.home()
    File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 
185, in home
      self._get(ME_URL + '/home', 'messages')
    File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 
180, in _get
      self._publish_entry(entry, stream=stream)
    File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 
124, in _publish_entry
      entry=comment)
    File "/usr/lib/python3/dist-packages/friends/protocols/facebook.py", line 
92, in _publish_entry
      post_id = message_id.split('_')[1]
  IndexError: list index out of range

  This is clearly caused by the fix from
  https://bugs.launchpad.net/friends/+bug/1185684 so we need a more
  robust way of parsing that string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/friends/+bug/1248302/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to