Hello
This is an extension of the following thread but brings up problems of its own.
558922
I wrote a Python script to upload all my XML files to a container. Earlier I was adding the document without transaction and it went OK. But on querying the container, I got all kinds of error as mentioned in the previous thread.
As suggested, I changed the code to use transaction while inserting the document. Now it fails while inserting the first document itself with error:
Logic index added
Status index added
Difficulty index added
*** glibc detected *** double free or corruption (!prev): 0x087cf158 ***
Aborted
The code I am using is:
http://dpaste.com/20134/
If I change line 35 with line 36 then everything is ok.
Each of my XML document is around 3-10MB and there are around 10000 of them.
So is it a bug with Python library? I have been trying for last 3 weeks to get all the documents up in the container and query it but I always end up having some error or the other.
Is there anyway I can upload all my 10000 docs without any problem and query it?
I looked into dbxml_dump and dbxml_load and it seems that dbxml_load only understands dbxml_dump format which I dont know how it works.
Any help?