Error: Cannot get string property of MIDI device with midimittr for USB

4 posts / 0 new
Last post
mlostek
mlostek's picture
Error: Cannot get string property of MIDI device with midimittr for USB

When using "midimittr for USB" (http://www.s-r-n.de/midile/) MIDI Tools shows the following error on M1 Macbooks in the "Midi devices dialog box"

Error: Cannot get string property of MIDI device

MIDI LE USB is working fine in other tools like Ableton live. Is this a known issue? Any workarounds known?

Mark van den Berg
Mark van den Berg's picture

The "MIDI devices" dialog box of the macOS edition of MIDI Tools tries to display four info strings associated with each device: name, manufacturer, model and "unique ID".
When the device refuses to provide one of these info strings, MIDI Tools throws the "Cannot get string property" exception.
So clearly this is the case for one of your MIDI I/O devices.

I'm not going to bother looking up macOS's MIDI device specs to see whether MIDI devices are actually required to return these strings.
Instead, I've simply created a version of MIDI Tools that is more permissive: instead of throwing an exception, it displays "UNDEFINED" for each info string that a device refuses to return:

https://mountainutilities.eu/dl/miditls-2.2.2a2.dmg

Please let me know whether this works for you. If so, I'll update my other three macOS applications too.
And just out of curiosity: which info string was the culprit?

mlostek
mlostek's picture

Wow, that as A) super fast and B) it works like a charm. Here is the result / issue

Huge thanks!

Mark van den Berg
Mark van den Berg's picture

Thanks for reporting back!

So your screenshot shows that the "midiLE USB Source" device defines neither a Manufacturer nor a Model.
I think my old code (generating the "Cannot get string property" exception) has been part of all my macOS applications from the start in 2015.
So considering that nobody has encountered (or at least reported) this problem before, the lack of these strings in the midiLE device must be very unusual.

Anyway, I'll probably publish the Release version of MIDI Tools 2.2.2 (and of my other three macOS applications) as soon as I've also fixed a bug in the Windows editions of MIDI Tools and BC Manager reported earlier today, so that I can at least maintain some semblance of order.
After months of quiet, this week has quickly turned into Issue Reporting Week... sad