Sunday, August 12, 2012

autotag script load error : ImportError: cannot import name defaultdict

When i use autocmd to update ctags file(http://vim.wikia.com/wiki/Autocmd_to_update_ctags_file), I found some limitation as mentioned in this tip. So I turn to use autotag( http://www.vim.org/scripts/script.php?script_id=1343 ) to auto update tags, but when vim load this script, an error occured to me like this :
>Error detected while processing /home/absa/.vim/plugin/autotag.vim:
>line  229:
>Traceback (most recent call last):
> File "<string>", line 9, in ?
>ImportError: cannot import name defaultdict
>Press ENTER or type command to continue
I don't understand python,So I don't known what can i do for debug this error.


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: