[fofix-gcode-issuetracker] Issue 1260 in fofix: Available versions of pyrtmidi library have broken compatability with FoFiX 3.121

fofix at googlecode.com fofix at googlecode.com
Thu Jul 21 01:53:42 UTC 2011


Status: New
Owner: ----
Labels: Priority-Low

New issue 1260 by mlof... at gmail.com: Available versions of pyrtmidi library  
have broken compatability with FoFiX 3.121
http://code.google.com/p/fofix/issues/detail?id=1260

After grabbing pyrtmidi from SVN  
(http://svn2.assembla.com/svn/pkaudio/pyrtmidi/) followed by a  
build/install FoFiX 3.121 crashed with interface errors to pyrtmidi:
   -openPort Parameters have changed
   -getMessage() returns an incompatible object than it used to so  
midimsg[i] would cause a runtime error.
   -midimsg is NoneType--len() not supported

The pyrtmidi project has apparently evolved and doesn't require so much low  
level MIDI processing anymore.  See attached file for examples.

List the steps to recreate the problem.
1. Download, build, install pyrtmidi from SVN
$ svn co http://svn2.assembla.com/svn/pkaudio/pyrtmidi/
$ cd pyrtmidi
$ python setup.py build
# python setup.py install
2. Connect a MIDI interface to computer (mine is  M-Audio Audiophile 2496)
3. Run FoFix and it will crash
4. Check fofix.log or run from terminal and watch stderr msgs.
  (sorry I didn't save my old logs to post here)

Version Info:
FoFix v3.121 (cloned from http://github.com/stump/fofix->master branch)
pyrtmidi Rev 36
Python 2.6.6
Debian Squeeze 2.6.39.1

I have rewritten the calls in Input.py->pyrtmidi to work with the current  
release of pyrtmidi which has changed its interface since the FoFix release  
apparently.  I see that another MIDI library is being considered for FoFix  
4 and would be glad to port the code.  Attached is the patch I am  
submitting for consideration.

Attachments:
	Input.diff  2.9 KB



More information about the fofix-gcode-issuetracker mailing list