You are not logged in.

#1 2024-05-02 21:15:46

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 129

Error using vim-latexsuite

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

#2 2024-05-03 10:24:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: Error using vim-latexsuite

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

#3 2024-05-14 20:45:02

tombenko
Member
From: Balassagyarmat
Registered: 2013-08-24
Posts: 129

Re: Error using vim-latexsuite

Okay, but to register is stopped by now, so I can't do report

Offline

#4 2024-05-15 01:23:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: Error using vim-latexsuite

You report that upstream on the vimlatex github, not the Archlinux packaging gitlab

Offline

#5 2024-05-19 11:34:24

David_1
Member
Registered: 2019-10-19
Posts: 3

Re: Error using vim-latexsuite

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

#6 2024-06-01 13:01:29

Quickmarble
Member
Registered: 2024-06-01
Posts: 1

Re: Error using vim-latexsuite

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

Board footer

Powered by FluxBB