GNOME Bugzilla – Bug 661836
Quick open not working in Gedit 3.2.0
Last modified: 2019-03-23 20:50:09 UTC
Quick open fails with the following message: Traceback (most recent call last):
+ Trace 228811
self._create_popup()
msg = bus.send_sync('/plugins/filebrowser', 'get_root')
Operating System: Ubuntu 11.10 Gedit Version: 3.2.0
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
The bug still exists in 3.2.1 and I couldn't find the fix in the changelog for 3.2.2 Can you point out the commit it was fixed in? Thanks!
This only happens when the File Browser Plugin is also loaded. See this bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gedit-plugins/+bug/879632
which pygobject version do you have?
Latest ubuntu (11.10) uses: python-gobject (3.0.0-0ubuntu2) Is the bug in pygobject?
I also see that in this file: http://git.gnome.org/browse/gedit/tree/gedit/Gedit.py?h=gnome-3-2 You provide the send_sync function, but it seems like it's not coming through. Doing a 'dir(self.message_bus)' in python returns methods, send_message and send_message_sync, but none of the shorter convenience methods.
Hello. I tried the gedit-latex-plugin for gedit3 and I'm having the same issue as the fellows above, only that the nonexistent method is MessageBus.send. Either way, if I try a dir(Gedit.MessageBus) there is no send(...) or send_sync(...) functions available. Although in the source code I've also seen the Gedit.py that implements these functions. I don't know exactly where this file should go, but if I 'locate Gedit.py' it doesn't find anything. (In reply to comment #6) > I also see that in this file: > > http://git.gnome.org/browse/gedit/tree/gedit/Gedit.py?h=gnome-3-2 > > You provide the send_sync function, but it seems like it's not coming through. > Doing a 'dir(self.message_bus)' in python returns methods, send_message and > send_message_sync, but none of the shorter convenience methods.
I've actually managed to find out where Gedit.py should go in order to make it work: /usr/share/pyshared/gi/overrides/Gedit.py with symbolic links in /usr/lib/python{ver}/dist-packages/gi/overrides/Gedit.py But now, I get another error on the return of the gobject (return GObject.new(tp, **kwargs)): TypeError: gobject `snippets+windowactivatable+Activate' doesn't support property `snippet' The Gedit.py version I have used is both from "apt-get source gedit" and from the master branch in git.gnome.org/browse/gedit/ Now I'm really stuck, as I'm not an expert in building GTK+ applications with python.
Sorry, my bad, I've now seen that the error is due to the latex plugin itself. (In reply to comment #8) > I've actually managed to find out where Gedit.py should go in order to make it > work: > > /usr/share/pyshared/gi/overrides/Gedit.py > with symbolic links in > /usr/lib/python{ver}/dist-packages/gi/overrides/Gedit.py > > But now, I get another error on the return of the gobject (return > GObject.new(tp, **kwargs)): > TypeError: gobject `snippets+windowactivatable+Activate' doesn't support > property `snippet' > > The Gedit.py version I have used is both from "apt-get source gedit" and from > the master branch in git.gnome.org/browse/gedit/ > > Now I'm really stuck, as I'm not an expert in building GTK+ applications with > python.