You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
It looks like it is not working with Python3. I get this backtrace:
File "parabens.py", line 34, in <module>
iomidi.write('simple.mid', midi)
File "/opt/python/lib/python3.8/site-packages/iomidi.py", line 402, in write
writer.write(fileName, midi)
File "/opt/python/lib/python3.8/site-packages/iomidi.py", line 292, in write
self._writeHeader(f, midi.header)
File "/opt/python/lib/python3.8/site-packages/iomidi.py", line 297, in _writeHeader
self._writeBlock(f, _CHUNK_TYPE_HEADER)
File "/opt/python/lib/python3.8/site-packages/iomidi.py", line 391, in _writeBlock
f.write(data)
TypeError: a bytes-like object is required, not 'str'
The text was updated successfully, but these errors were encountered:
Hi,
It looks like it is not working with Python3. I get this backtrace:
The text was updated successfully, but these errors were encountered: