Gio breakage?



Hi guys,

So a while back you might remember I was asking for help with
threading and instead decided to settle on Gio asynchronous URL
loading... well, it's broken. I'm really stumped by this one. Even
synchronous loading is broken. The following error occurs both as you
see it here, and if I try to call gfile.load_contents_finish(result)
from within the load_contents_async callback method.

$ jhbuild run python
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gio
>>> gfile = Gio.file_new_for_uri('http://www.google.ca')
>>> gfile.load_contents(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/gnome/lib64/python2.7/site-packages/gi/types.py", line
40, in function
    return info.invoke(*args)
RuntimeError: Operation not supported
>>> import gi
>>> gi.__file__
'/opt/gnome/lib64/python2.7/site-packages/gi/__init__.pyc'

So at first I'm thinking "ok, Gio broke somewhere in the latest git.
I'll try it with the old default Fedora packages."

$ python
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import Gio
>>> gfile = Gio.file_new_for_uri('http://www.google.ca')
>>> gfile.load_contents(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gi/types.py", line
40, in function
    return info.invoke(*args)
RuntimeError: Operation not supported
>>> import gi
>>> gi.__file__
'/usr/lib64/python2.7/site-packages/gtk-2.0/gi/__init__.pyc'


Wuh? This was working sometime last week. I don't know exactly when it
broke but it just does not work. What the hell went wrong that my
system Gio broke along with the jhbuild one? What the hell is going on
here?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]