Hi Andreas,
Maybe that is a better way but I am using the client from within a IPython Notebook which means I can integrate a bit more closely with the notebook interface and do queries and graphing with the data using IPythons great analytics and graphing features..
I had this working with 7.9.
--Marc
On Mon, Dec 29, 2014 at 2:45 PM, Andreas Jung lists@zopyx.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
<offtopic>
I am working with Python and Base-X for a while but not through the standard Python bindings. Instead I am using the "pyfilesystem" module for Python for accessing Base-X content through the WebDAV port using standard file operation methods as you know it from Python.
</offtopic>
Andreas
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
Regards Andreas Jung andreas@andreas-jung.com about.me/andreasjung -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJUoVsUAAoJEADcfz7u4AZjWoILwMUkypGYOB8N9NPenIXNCZaD iQLCLDpVMr7RuTTj9M8E5yfOx22fgVdU9kcfPI5s13RHlH7UVYabkIypxQXsjUmJ Shb4TPdYO44cP1fqC43vcNu9yODBCq/hnugPK4VnsN0V/UBRIA2ghEQEYWB4Gygc b5XJt7kFOgZDLLV3JYfaSv8y3SH5HsHPSYqy7thKncOhK9K7tzuDqhyPmWAXt3a+ 8emragz+PnVLrY2/mirC5sk8a0FnpW1nJ9/eqvnhqxtmBpD6IQurG3v8xXZ5YRaf BBcHaSqxspntjUSLqtXp4bdHcJT/+YNZMyD+lEetYzTuBIGnyHXpGTtD1Fkru2Bf yGj0Yp/kTng0QrFZpwU28TUboEKyy+Xkav69julzTIIKk8ocZCkQsWAlFD/QWSws WJj/+ScEDWNk5d5KugkwfFbDv8LIM78Sz2odzGAvoh7t9/66hP0kiPtuGXcLqsXY wAE7hoIAdIPut52m+0R2N2AyBgZ/9Fc= =xR76 -----END PGP SIGNATURE-----