Results 1 to 10 of 30

Thread: HOWTO: Evince + SyncTeX + vim/emacs/scite/lyx/kile/$EDITOR + forward/backward search

Threaded View

  1. #20
    Join Date
    Nov 2005

    Re: HOWTO: Evince + SyncTeX + vim/emacs/scite/lyx/kile/$EDITOR + forward/backward sea

    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:

    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/", line 70, in __call__
        return self._proxy_method(*args, **keywords)
      File "/usr/lib/python2.7/dist-packages/dbus/", line 145, in __call__
      File "/usr/lib/python2.7/dist-packages/dbus/", line 651, in call_blocking
        message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
    - What fails is the call to FindDocument.
    - Quoting the file name in the call to FindDocument does not work.

    If anyone has any advice, it's very welcome!
    Last edited by marciano; September 24th, 2012 at 08:09 PM. Reason: Additional info and correction - problem is with spaces in file names.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts