Skip to content

Bug with musicxml Import #161

@manoskary

Description

@manoskary

Load .musicxml fails with Error:

Traceback (most recent call last):
    score = pt.load_musicxml(score)
  File "/partitura/partitura/utils/misc.py", line 49, in wrapper
    return f(*args, **kwargs)
  File "partitura/partitura/utils/misc.py", line 71, in wrapper
    return f(*args, **kwargs)
  File "partitura/partitura/io/importmusicxml.py", line 231, in load_musicxml
    _parse_parts(document, part_dict)
  File "partitura/partitura/io/importmusicxml.py", line 362, in _parse_parts
    start_times = [0] + [r.end.t for r in part.iter_all(score.Repeat)]
  File "partitura/partitura/io/importmusicxml.py", line 362, in <listcomp>
    start_times = [0] + [r.end.t for r in part.iter_all(score.Repeat)]
AttributeError: 'NoneType' object has no attribute 't'

AlbinoniT-O6N10-4.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions