Skip to content

have to reinstall to make it work #428

@hajonnes

Description

@hajonnes

Hi,
It seems that every time I add a plugin to my init.vim I have to reinstall taskwiki.

The error I get if I do not reinstall is:

Error detected while processing function vimwiki#base#goto_index[33]..vimwiki#ba
se#edit_file[35]..function vimwiki#base#goto_index[33]..vimwiki#base#edit_file[2
3]..BufNewFile Autocommands for ".md"..function 15_setup_new_wiki_buffer[1
9]..vimwiki#u#ft_set[9]..FileType Autocommands for "
"..function 1_LoadFTPl
ugin[17]..script /home/johannes/.vim/plugged/taskwiki/ftplugin/vimwiki/taskwiki.
vim[29]..function provider#python3#Call:
line 18:
Error invoking 'python_execute_file' on channel 3 (python3-script-host):^@traceb
ack (most recent call last):^@ File "/home/johannes/.vim/plugged/taskwiki/taskw
iki/main.py", line 6, in ^@ import six^@ModuleNotFoundError: No modul
e named 'six'

my system:

task-2.6.2-1
tasklib-2.5.1
pynvim-0.4.3
Python 3.10.10

NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

System:
Kernel: 6.1.23-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1-x86_64
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux

reinstall procedure:

pacman -Rsn task
rm rf /home/johannes/.vim/plugged/taskwiki
pip uninstall tasklib
pip uninstall pynvim

then I install:

pacman -S task
pip install tasklib
pip install pynvim
in neovim :PlugInstall

after that all is well.

to reproduce:

going form my _old_init.vim.txt to my init.vim.txt creates this error.
The plugins in the new init.vim needs packages form the distributions repositories to reproduce.
_old_init.vim.txt
init.vim.txt

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