How can this crash be reproduced? pygobject was bumped from 3.10.0 to
3.10.1 in trusty, with these changes:
http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/pygobject-3.10.1.news
. None of them particularly stands out as being able to break this, but
to confirm, could you downgrade to
https://launchpad.net/ubuntu/+source/pygobject/3.10.0-1ubuntu1/+build/5094584/+files/python3-gi_3.10.0-1ubuntu1_amd64.deb
and verify that it works again? (The regression might also have come
through something else, although libsoup, gobject-introspection, and
glib didn't change)
** Changed in: pygobject (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1248310
Title:
libsoup has some issues recognizing its own objects
Status in “pygobject” package in Ubuntu:
Incomplete
Bug description:
ERROR Thread-1 2013-11-05 10:32:09,284 friends.utils.base argument msg:
Expected Soup.Message, but got gi.repository.Soup.Message
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/twitter.py", line
233, in receive
self.home()
File "/usr/lib/python3/dist-packages/friends/protocols/twitter.py", line
162, in home
for tweet in self._get_url(url):
File "/usr/lib/python3/dist-packages/friends/protocols/twitter.py", line
92, in _get_url
rate_limiter=self._rate_limiter).get_json()
File "/usr/lib/python3/dist-packages/friends/utils/http.py", line 100, in
get_json
with self._transfer() as message:
File "/usr/lib/python3.3/contextlib.py", line 48, in __enter__
return next(self.gen)
File "/usr/lib/python3/dist-packages/friends/utils/http.py", line 90, in
_transfer
_soup.send_message(message)
TypeError: argument msg: Expected Soup.Message, but got
gi.repository.Soup.Message
This code used to work just fine on raring and saucy, but it has regressed in
trusty. I'm not sure why it would not recognize gi.repository.Soup.Message as a
valid Soup.Message.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1248310/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp