Skip to content

Error detected while processing function <SNR>13_StartPreview:  #112

@i8890321

Description

@i8890321

Expected behavior

a PDF preview with SumatraPDF should pops out

Actual behavior

I encounter the following error

Error detected while processing function 13_StartPreview: line 66: E739: Cannot create directory: C:\Users\USERNAME\AppData\Local\Temp\vim-latex-live-preview-cersh_wsC:\Users

E739: Cannot create directory: C:\Users\USERNAME\AppData\Local\Temp\vim-latex-live-preview-cersh_wsC:\Users\USERNAME

line 95: "~\AppData\Local\Temp\vim-latex-live-preview-cersh_wsC:\Users\USERNAME\test2"
E212: Can't open file for writing

Failed to compile

Steps to reproduce

:LLPStartPreview
Tell us how it occurs

  1. Type :LLPStartPreview
  2. Error occures
  3. I think there are some problems on the path

System configuration

Window 10 with vim compiled with python/dyn, python3/dyn (Echo has('python') and Echo has('python3') give "1"

  • Vim version:
    Vim 8.2
# output of `vim --version`

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 10 2021 15:51:49) MS-Windows 64-bit GUI/console version with OLE support Included patches: 1-2491 Compiled by stop_@LAPTOP-E7OHISR4 Huge version with GUI. Features included (+) or not (-): +acl +cscope -hangul_input +multi_byte_ime/dyn +scrollbind +title +arabic +cursorbind +iconv/dyn +multi_lang +signs +toolbar +autocmd +cursorshape +insert_expand +mzscheme/dyn +smartindent +user_commands +autochdir +dialog_con_gui +ipv6 +netbeans_intg +sound +vartabs +autoservername +diff +job +num64 +spell +vertsplit +balloon_eval +digraphs +jumplist +ole +startuptime +virtualedit +balloon_eval_term +directx +keymap +packages +statusline +visual +browse -dnd +lambda +path_extra -sun_workshop +visualextra ++builtin_terms -ebcdic +langmap +perl/dyn +syntax +viminfo +byte_offset +emacs_tags +libcall +persistent_undo +tag_binary +vreplace +channel +eval +linebreak +popupwin -tag_old_static +vtp +cindent +ex_extra +lispindent -postscript -tag_any_white +wildignore +clientserver +extra_search +listcmds +printer +tcl/dyn +wildmenu +clipboard -farsi +localmap +profile +termguicolors +windows +cmdline_compl +file_in_path +lua/dyn +python/dyn +terminal +writebackup +cmdline_hist +find_in_path +menu +python3/dyn -termresponse -xfontset +cmdline_info +float +mksession +quickfix +textobjects -xim +comments +folding +modify_fname +reltime +textprop +xpm_w32 +conceal -footer +mouse +rightleft -tgetent -xterm_save +cryptv +gettext/dyn +mouseshape +ruby/dyn +timers system vimrc file: "$VIM\vimrc" user vimrc file: "$HOME_vimrc" 2nd user vimrc file: "$HOME\vimfiles\vimrc" 3rd user vimrc file: "$VIM_vimrc" user exrc file: "$HOME_exrc" 2nd user exrc file: "$VIM_exrc" system gvimrc file: "$VIM\gvimrc" user gvimrc file: "$HOME_gvimrc" 2nd user gvimrc file: "$HOME\vimfiles\gvimrc" 3rd user gvimrc file: "$VIM_gvimrc" defaults file: "$VIMRUNTIME\defaults.vim" system menu file: "$VIMRUNTIME\menu.vim"

  • Platform:
    Window 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions