Anber
Anber
Sorry for the late reply. You could try this: client = pyorient.OrientDB('localhost', 2424) client.connect('root', 'xxxxxx') # The storage type is important db = client.db_create('yourDB', pyorient.DB_TYPE_GRAPH, pyorient.STORAGE_TYPE_PLOCAL) client.db_open( 'yourDB', 'root', 'xxxxxx',...
I had the same issue. I think our issues are related: [https://github.com/mogui/pyorient/issues/215](https://github.com/mogui/pyorient/issues/215) I found a solution that works in distributed mode: [http://stackoverflow.com/questions/39121685/running-orientdb-in-distributed-mode-on-aws-does-not-work/39441873#39441873](http://stackoverflow.com/questions/39121685/running-orientdb-in-distributed-mode-on-aws-does-not-work/39441873#39441873) It uses the binary serializer that is currently...
Coolio I must say, the current way that pyorient parse CSV serialization is not very robust. I was thinking of introducing pyyaml parser which seem to work with the OrientDB...
It's been a few weeks but I think the csv serializer gets stuck on the "message" node in the packet. I've been using the binary serializer for about 2 weeks...
What if you try the following? client.command("INSERT INTO Books set name='Candide3', published_date=DATE('1700-01-01 02:00:00')") Notice the "DATE" parameter encapsulating the date string. Your error should disappear. As far as returning a...
"_parse_collection" has a similar issue. Any while loop that makes use of "_parse_value" run the risk of infinite looping if the format is unexpected. "_parse_value" is not a friend to...
Rather than hacking away at the current parser, I want to use another deserializer instead but that would introduce a dependency into pyorient. I'm ok with that for my project...
I tried using the development branch with the new Binary serialization. It works perfectly with the servers running in distributed mode.
There is a bad memory leak in the development branch. Use with caution.
The memory leak is caused by "pyorient_native". It's a shame because the binary serialize implementation is much faster than the CSV one and it's the only option that works in...