chimeric / dokuvimki

http://chimeric.de/projects/dokuwiki/dokuvimki
GNU General Public License v2.0
8 stars 7 forks source link

can't get dokuvimki work on MacVim #3

Open naokij opened 12 years ago

naokij commented 12 years ago

Here is my mac setup:

OS: MacOS X 10.7.2 Lion MacVim Snapshot 62

Here is how I installed dokuvimki:

git clone git://github.com/chimeric/dokuvimki.git dokuwimki
cp -R dokuvimki/* ~/.vim

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:

DokuVimKi Error: The dokuwikixmlrpc python module is missing!

Then I tried to install the module from here:

git clone git://github.com/chimeric/dokuwikixmlrpc dokuwikixmprpc
cd dokuwikixmprpc
sudo python setup.py install

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.

kynan commented 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.

svenn71 commented 12 years ago

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.

kynan commented 12 years ago

I fixed a couple of bugs in my fork, feel free to try that. Note that @chimeric no longer maintains this project.

kynan commented 4 years ago

@naokij @svenn71 have you installed the most recent versions of dokuwikixmlrpc and dokuvimki?