Hello Marc,
indeed, there has been changes regarding the authentication in our client/server protocol as outlined by Christian in this mail: https://mailman.uni-konstanz.de/pipermail/basex-talk/2014-December/007832.ht.... There is also some short documentation to be found here: http://docs.basex.org/wiki/Server_Protocol
Hence, the client bindings have to be changed accordingly. It should be a fairly trivial change. If anyone wants to submit a short patch for the python clients (or others clients we support), I am sure it would be appreciated.
Cheers, Dirk
On 12/29/2014 02:40 PM, Marc van Grootel wrote:
Hi,
Anyone using the python client. I used it before, I think it was with 7.9, where it was still working. But now on a recent snapshot I cannot get my example to work anymore. I will report to maintainer but I would like to know if anyone could confirm having difficulties too.
Anything changed in the protocol?
I'm running on Python 2.7.8 :: Anaconda 2.0.1 (x86_64), on Mac that is.
The error message occurs when trying to set up a session:
/Users/marcvangrootel/Dropbox/notebooks/BaseXClient.py in __init__(self, host, port, user, password, receive_bytes_encoding, send_bytes_encoding) 129 # evaluate success flag 130 if not self.server_response_success(): --> 131 raise IOError('Access Denied.') 132 133 def execute(self, com): IOError: Access Denied.
Thanks, --Marc