Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Export XML

18 views
Skip to first unread message

Silvain Dupertuis

unread,
Jan 17, 2024, 6:08:16 AM1/17/24
to Frescobaldi
I am trying to use the xml export feature, which would be a real plus, but I get a Python error. I am opn Ubuntu 22.04, Frescobaldi 3.3.0,, Lilypond \version "2.24.3"
Any help would be appreciated!

Details of version

===================

Frescobaldi: 3.3.0

Extension API: 0.9.0

Python: 3.11.7

python-ly: 0.9.8

Qt: 5.15.10

PyQt: 5.15.10

sip: 6.7.12

qpageview: 0.6.2

poppler: 21.8.0

python-poppler-qt: 21.3.0

OS: Linux-6.5.0-14-generic-x86_64-with-glibc2.38



Traceback (most recent call last):

=====================

File "/app/lib/python3.11/site-packages/frescobaldi_app/file_export/__init__.py", line 64, in exportMusicXML

writer = ly.musicxml.writer()

^^^^^^^^^^^^^^^^^^^^

File "/app/lib/python3.11/site-packages/ly/musicxml/__init__.py", line 45, in writer

return lymus2musxml.ParseSource()

^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/lib/python3.11/site-packages/ly/musicxml/lymus2musxml.py", line 68, in __init__

self.musxml = create_musicxml.CreateMusicXML()

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/app/lib/python3.11/site-packages/ly/musicxml/create_musicxml.py", line 58, in __init__

software.text = ly.pkginfo.name + " " + ly.pkginfo.version

^^^^^^^^^^^^^^^

AttributeError: module 'ly.pkginfo' has no attribute 'name'

Federico Bruni

unread,
Jan 27, 2024, 4:57:59 PM1/27/24
to fresc...@googlegroups.com
Il giorno mer 17 gen 2024 alle 03:08:15 -08:00:00, Silvain Dupertuis
<silvain....@gmail.com> ha scritto:
> File
> "/app/lib/python3.11/site-packages/ly/musicxml/create_musicxml.py",
> line 58, in __init__
>
> software.text = ly.pkginfo.name + " " + ly.pkginfo.version
>
> ^^^^^^^^^^^^^^^
>
> AttributeError: module 'ly.pkginfo' has no attribute 'name'
>


Thanks, I've reported the bug here:
https://github.com/frescobaldi/python-ly/issues/167



Reply all
Reply to author
Forward
0 new messages