Closed
Description
Hi,
I'm having some problems logging in. To be as specific as I can be at the moment:
- I've created a user, with the same password, for test purposes;
- I've created the group
api
, and added the user to it; - I've activated
XPC
; - I've added both the user and the group in the
remoteuser
param; I've also tried to leave it empty to give acess to everyone; - I'm accessing through the https url.
Example code (WIKI_URL, username and password are hardcoded a few lines before and have been double checked):
import dokuwiki
v = dokuwiki.DokuWiki(WIKI_URL, username, password).xmlrpc_version()
print(v)
The output is:
Traceback (most recent call last):
File "/Users/manuellevi/PycharmProjects/deleteme/get_wiki_stats.py", line 5, in <module>
wiki = dokuwiki.DokuWiki(WIKI_URL, username, password).xmlrpc_version()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/dokuwiki.py", line 169, in __init__
raise DokuWikiError('invalid login or password!')
dokuwiki.DokuWikiError: invalid login or password!
Having checked the URL, username and password, could I be missing something?
I'm wondering if I misread something in the docs.
EDIT: running this with python3 get_wiki_version.py
.
Thanks,
ML
Metadata
Metadata
Assignees
Labels
No labels