Closed nilsht closed 10 months ago
I would suspect you either has some very odd dates in your database or the dates in the XML file are wrongly formatted? How have you generated the XML file?
It would be very helpful for debugging, if you could send me your database XML file (you can censor password hashes, etc.)
Attached (I hope), and thanks :-)
And I forgot: It was created with mysqldump as in the docs
I fixed this problem and some other flaws i found in the importer. It is available in the master branch. In a direct installation do a pull and checkout the master branch, on docker, change your configuration to use the jbtronics/part-db1:master
image and do a pull and restart. (It might take a while until the docker images with the changes are build).
However you will need to change something in your XML file, as two parts has the same internal part number 35
, which is not allowed in Part-DB. You have to either change that in PartKeepr before or open the xml file in a text editor and search for internalPartNumber">35
. You should find change two lines. Change one of them to a unique value, or just remove the value completly. Then import should work fine.
Worked perfectly! Thank you.
I setup a Part-DB docker instance, but have problems importing data from partkeepr. Here is the output from the attempt:
I hope you can help!