Bug#365152: vim-latexsuite: <F9> doesn't work
Matthias Rosenkranz
rose at m-rosenkranz.de
Fri Apr 28 10:08:46 UTC 2006
Package: vim-latexsuite
Version: 20060325-1
Severity: normal
Hello!
When pressing <F9> inside a \ref, vim-latexsuite should offer the
matches for the typed key. Instead, it durrently pours some Python
errors on me:
File "<string>", line 1, in ?
File "/usr/share/vim/addons/ftplugin/latex-suite/outline.py", line 170, in main
contents = getFileContents(root, ext)
File "/usr/share/vim/addons/ftplugin/latex-suite/outline.py", line 27, in getFileContents
contents = re.sub(pat, lambda input: getFileContents(input, ext), contents)
File "/usr/lib/python2.3/sre.py", line 143, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/share/vim/addons/ftplugin/latex-suite/outline.py", line 27, in <lambda>
contents = re.sub(pat, lambda input: getFileContents(input, ext), contents)
File "/usr/share/vim/addons/ftplugin/latex-suite/outline.py", line 23, in getFileContents
contents = '\n'.join(open(fname).read().splitlines())
IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'kap1.tex.tex'
Zeile 29:
Traceback (most recent call last):
File "<string>", line 1, in ?
NameError: name 'retval' is not defined
Zeile 31:
E121: Variable nicht definiert: retval
The file I was editing is called kap1.tex and the Python script seems to
append .tex to the filename, but kap1.tex.tex doesn't exist. Is there
any other info I can provide? I can't remember seeing this error before
a recent upgrade to version 20060325-1.
Regards,
Matthias
-- Package-specific info:
Vim related packages installed on this system:
- vim-latexsuite
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Versions of packages vim-latexsuite depends on:
ii python 2.3.5-5 An interactive high-level object-o
ii vim 1:6.4-007+1 Vi IMproved - enhanced vi editor
ii vim-common 1:6.4-007+1 Vi IMproved - Common files
ii vim-full [gvim] 1:6.4-007+1 Vi IMproved - enhanced vi editor -
ii vim-gnome [gvim] 1:6.4-007+1 Vi IMproved - enhanced vi editor -
Versions of packages vim-latexsuite recommends:
ii tetex-bin 3.0-16 The teTeX binary files
-- no debconf information
More information about the pkg-vim-maintainers
mailing list