Grrr! I got this to work beautifully on 12.04 with Sublime Text 2... but things have stopped working on 12.10 beta1 with today's updates ##@$@#)($*!!!
evince_forward_search now errors out upon calling "print_exc()", which means that the dbus interface or somehting like it must have changed yet again! Any wisdom to be offered?
Edit: scratch the above. The problem is that the scripts do not seem to support file names with spaces. I'll see if I can fix this. More info:
- The exception thrown is as follows:
- What fails is the call to FindDocument.
Traceback (most recent call last):
File "/home/<OMITTED>/.config/sublime-text-2/Packages/LaTeXTools/evince/evince_forward_search", line 44, in <module>
dbus_name = daemon.FindDocument('file://' + pdf_file, True, dbus_interface = "org.gnome.evince.Daemon")
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
- Quoting the file name in the call to FindDocument does not work.
If anyone has any advice, it's very welcome!