Closed GoogleCodeExporter closed 9 years ago
You're right, fluidsynth shouldn't load. Thanks for letting me know. I fixed
the bug
in mingus.midi.__init__. You can update your local copy or download version
0.3.7.9.
Original comment by Rhijnauwen@gmail.com
on 7 Jan 2009 at 10:51
I have a similar problem :
Traceback (most recent call last):
File "C:\Python25\mingus_examples\pygame-piano\pygame-piano.py", line 45, in <module>
from mingus.midi import fluidsynth
File "C:\Python25\Lib\site-packages\mingus\midi\fluidsynth.py", line 43, in <module>
import pyFluidSynth as fs
File "C:\Python25\Lib\site-packages\mingus\midi\pyFluidSynth.py", line 27, in <module>
_fl = CDLL(find_library('fluidsynth'))
File "C:\Python25\lib\ctypes\__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
TypeError: expected string or Unicode object, NoneType found
Original comment by lecerfl...@gmail.com
on 15 Feb 2009 at 8:00
That means the FluidSynth library can't be found. If you haven't installed it,
then
do so. If you are on windows then be sure to check the installation
instructions that
you can find in the wiki (because then you need to download qsynth and rename
the dll).
Original comment by Rhijnauwen@gmail.com
on 15 Feb 2009 at 8:05
Original issue reported on code.google.com by
austinlu...@gmail.com
on 7 Jan 2009 at 10:10