Benjamin
unread,Jun 17, 2010, 6:49:43 PM6/17/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to makerbotmusic
Hi, I'm getting some errors when running mid2cnc.py in the terminal.
I've supplied the correct links to the midi and gcode output, as well
as ppi.
Here's what I see:
Traceback (most recent call last):
File "<directory>/mid2cnc.py", line 219, in <module>
main(sys.argv)
File "<directory>/mid2cnc.py", line 63, in main
midi = midiparser.File(midifile)
File "<directory>/midiparser.py", line 134, in __init__
self.read(str)
File "<directory>/midiparser.py", line 150, in read
str = track.read(str)
File "<directory>/midiparser.py", line 169, in read
track_str = event.read(prev_absolute, prev_status, track_str)
File "<directory>/midiparser.py", line 211, in read
self.detail.velocity = ord(str[1])
IndexError: string index out of range
Is this a dumb user error? (It's gotta be, if others have it working)