You are not logged in.
Hay!
Today I started to work on some LaTeX document, using vim-latexsuite. In the beginning I have this error message:
Error detected while processing BufNewFile Autocommands for "*.tex"..function dist#ft
#FTtex[49]..FileType Autocommands for "*"..function <SNR>15_LoadFTPlugin[18]..script
/usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim[12]../usr/share/vim/vimfiles/ftpl
ugin/latex-suite/main.vim[969]../usr/share/vim/vimfiles/ftplugin/latex-suite/texviewe
r.vim:
line 895:
/usr/share/vim/vimfiles/ftplugin/latex-suite/bibtools.py:34: SyntaxWarning: invalid e
scape sequence '\s'
"""
After pressing ENTER all seemed working well, but I'm worrying about this. DuckDuckGo didn't gave any relevant addresses nor the ArchLinux forums. Do I have anything to worry about, or is it just a temporary failure?
Offline
It's an incompatibility with newer python versions and the way the latex-suite uses regexes. Afaik it's generally currently just a warning, but you should report this upstream so they fix this, the logical implications might cause this to actually stop working in newer python versions
Offline
Okay, but to register is stopped by now, so I can't do report
Offline
You report that upstream on the vimlatex github, not the Archlinux packaging gitlab
Offline
I'm having the same exact error message on my end.
I've opened a GitHub Issue on the vim-latex repo:
https://github.com/vim-latex/vim-latex/issues/224
All the best,
David
Offline
Fixed in https://github.com/vim-latex/vim-latex/pull/223. It's about an invalid docstring making python print a warning, not regexes. Now you only need to wait until Arch's vim-latexsuite picks up the changes (will it? Looks like it uses the sourceforge version). Meanwhile, you can edit
/usr/share/vim/vimfiles/ftplugin/latex-suite/bibtools.py
locally, adding `r` before that opening `"""`.
No idea why it wasn't an issue earlier.
Offline