On Frescobaldi 3.2 and Lilypond 2.24 I am able to export single instruments as XML files with great success.
However, if I try to export two or more of them at the same time, I get the error below.
I have 4 staffs, they are all in the same document, I only hide the instruments by using % in the \score section.
I was wondering whether you can see an obvious error in the output below.
The document is linked to several other external docs, but if needed, I will try to compile a simple version.
Here's the error output in Frescobaldi:
-------------
Traceback (most recent call last):
File "/usr/share/frescobaldi/frescobaldi_app/file_export/__init__.py", line 65, in exportMusicXML
writer.parse_text(doc.toPlainText(), orgname)
File "/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py", line 104, in parse_text
self.parse_document(doc)
File "/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py", line 121, in parse_document
self.parse_tree(mustree)
File "/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py", line 135, in parse_tree
self.parse_nodes(mus_nodes)
File "/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py", line 147, in parse_nodes
func_call(m)
File "/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py", line 657, in End
self.mediator.check_simultan()
File "/usr/lib/python3/dist-packages/ly/musicxml/ly2xml_mediator.py", line 301, in check_simultan
self.sections.pop()
IndexError: pop from empty list