traktor-nml-utils
traktor-nml-utils copied to clipboard
xsdata.exceptions.ParserError: Unknown property NML:INDEXING
I am getting this issue exactly the same as issue #4 only using the history schema. So I am assuming the same fix needs to be added to the history code as the collection code.
Traceback (most recent call last):
File "x.py", line 91, in
I'm using traktor 3.4.1 and python 3.8
It may take some days until I'll manage to fix this, until then you could have a look at the commit https://github.com/wolkenarchitekt/traktor-nml-utils/commit/febe58a47eaedbef1c1d20d327f1c4d9247c0ae3 (and create a PR) that could be adapted in the same way for history-files
Sorry for the delay, I finally found the time to have a look at this library again.
Looking at all the errors that might occur due to the complex process approach of XML->XSD->Python conversion, I feel like this library is quite brittle and can break often, like with smartlists, and whatever else NML-XML-property that it doesn't consider.
Nowadays I'd probably just stick to use plain lxml to process NML-files, though that means lots of manual work and code-duplication (and harder to get type hints in a nice way).
Maybe I'll put this library into (non)-maintenance work somewhen soon.
Feel free to take over maintenance (at least within your fork) if you want and if you are brave enough ;-)