One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Vimwiki NERDTree Issue #431

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open NERDTree
2. Auto export to hmtl active (auto_export=1)
3. Write a vimwiki file

What is the expected output? What do you see instead?

Expected: 

Should write file and export html

Throws the error: 

"index.wiki" 113L, 4144C written
Error detected while processing function vimwiki#html#Wiki2HTML..VimwikiGet:
line    9:
E121: Undefined variable: b:vimwiki_list
E15: Invalid expression: b:vimwiki_list[a:option]
line   13:
E121: Undefined variable: val
E15: Invalid expression: val
Error detected while processing function vimwiki#html#Wiki2HTML:
line   18:
E484: Can't open file /Users/andreas.wallner/NERD_tree_1
Error detected while processing function vimwiki#html#Wiki2HTML..VimwikiGet:
line    9:
E121: Undefined variable: b:vimwiki_list
E15: Invalid expression: b:vimwiki_list[a:option]
line   13:
E121: Undefined variable: val
E15: Invalid expression: val

What version of the product are you using? On what operating system?

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 28 2015 15:57:37)
MacOS X (unix) version
Included patches: 1-488
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   +perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            +ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "$HOME/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   
-isystem${HOME}/include -DMACOS_X_UNIX  -Os -w -pipe -march=native 
-mmacosx-version-min=10.10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang   -L. -L/usr/local/lib -L${HOME}/lib  
-Wl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv 
-framework Cocoa   -fstack-protector  
-L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework 
Python   -lruby.2.0.0 -lobjc

Please provide any additional information below.

I temporarily disabled auto_export and included a manual autocommand instead: 

au BufWritePost *.wiki
  \ call vimwiki#html#Wiki2HTML(expand(VimwikiGet('path_html')),
  \                             expand('%'))

Original issue reported on code.google.com by wallner1...@googlemail.com on 20 Apr 2015 at 12:18

GoogleCodeExporter commented 8 years ago
Hm, I can't confirm the issue. Which version of Vimwiki do you use? Try the 
latest from here: https://github.com/vimwiki/vimwiki/tree/dev

Original comment by istjanic...@gmail.com on 30 Apr 2015 at 12:21