Open naokij opened 12 years ago
Have you check XML-RPC is enabled in your DokuWiki config? By default it is not.
Also you need to call :DokuVimKi
once to connect to the wiki before you can run any of the other commands in vim.
I check the auxillary xmlrpc connection from ipython by importing dokuwikixmlrpc and then set dw_url, dw_user and dw_pass to my values and execute xmlrpc = dokuwikixmlrpc.DokuWikiClient(dw_url, dw_user, dw_pass). When I now run xmlrpc.all_pages, I get the list of all the pages available in my dokuwiki, so the back-end connection should be correct. I, too, get 'Not an editor command: DWhelp' even after running :DokuVimKi in a fresh vim 7.3. There are no messages on stderr. I have once commented out my dw_pass to enforce an error message, and that one was indeed issued.
I fixed a couple of bugs in my fork, feel free to try that. Note that @chimeric no longer maintains this project.
@naokij @svenn71 have you installed the most recent versions of dokuwikixmlrpc and dokuvimki?
Here is my mac setup:
OS: MacOS X 10.7.2 Lion MacVim Snapshot 62
Here is how I installed dokuvimki:
then I updated my .vimrc file and added all necessary lines, the detect part and user & pass part.
When I launch MacVim I got this error below:
Then I tried to install the module from here:
But after that things get worser. I didn't get any error message and DWhelp command didn't work. "Not an editor command" when I try to use DWhelp.
Please advise. Thanks.