We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MusicXML
music21 version
9.1.0
Problem summary
Calling converter.parse on this MusicXML file raises an error.
converter.parse
Steps to reproduce
environment.set('autoDownload', 'allow') c = converter.parse("https://www.shapenote.net/musicxml/24.mxl")
Expected vs. actual behavior
Raises the exception TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int' at music21/musicxml/xmlToM21.py:5587.
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'
More information
Suggested fix (solved the issue for this file): Change line 5585 into if mxOctaveChange is not None and diatonicStep is not None:
if mxOctaveChange is not None and diatonicStep is not None:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
music21 version
9.1.0
Problem summary
Calling
converter.parse
on thisMusicXML
file raises an error.Steps to reproduce
Expected vs. actual behavior
Raises the exception
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'
at music21/musicxml/xmlToM21.py:5587.More information
Suggested fix (solved the issue for this file):
Change line 5585 into
if mxOctaveChange is not None and diatonicStep is not None:
The text was updated successfully, but these errors were encountered: