synctex throws errors when opening PDFs on smb://
Trying to open
smb://server/path/to/pdf/file.pdf, synctex throws:
! SyncTeX Error : could not open /run/user/1000/gvfs/smb-share:server=server,share=/path/to/pdf/"file".synctex, error 22
The problem is in
__synctex_open_v2() which tries to remove the extension (through
_synctex_strip_last_path_extension()) and open a
.synctex one. Either that functionality needs to be removed, or the error needs to be made quiet.
Looks like the error was added in ed2d42b8, which updated synctex to the latest version.
Update: changed the example to mention smb