Hi David,

my guess is that it is a missing qt5 plugin that is linked with the OSX audio 
capabilities.

Could you try create a hook-PyQt5.QtMultimedia.py and try to find out what 
directory with qt5 plugins is missing?

Something like this:


from PyInstaller.utils.hooks import qt5_plugins_binaries


binaries = qt5_plugins_binaries('DIR_WITH_MEDIA_PLUGIN')

I remember that with phonon it was similar issue.


On Thursday 22 of October 2015 17:17:39 David Cortesi wrote:
> > $ dist/adevtest/adevtest
> > name:
> > isNull: True
> 
> Same code, same everything except one is bundled. Also the list of devices
> returned by QAudioDeviceInfo.availableDevices() has 2 items under Python,
> zero items when bundled. Somehow, the Qt Audio is not getting initialized
> in the bundled program ... ?
> 
> Bundling is with the latest dev branch code. build/adevtest/warnadevtest
> does contain this line:
> 
> missing module named PyQt5.QtMultimedia.QAudioDeviceInfo - imported by
> 
> > PyQt5.QtMultimedia, /Users/dcortesi/Dropbox/David/Sidetone/adevtest.py
> 
> However that cannot be correct or there would be a run-time error, no?
> Anyway it also says "missing module named PyQt5.QtWidgets.QApplication" and
> that is clearly not true as nothing would happen if the app couldn't be
> started.
> 
> Running with --debug produces only normal-looking messages, no problems
> shown.
> 
> Any thoughts or suggestions welcome!
> 
> Dave Cortesi

-- 
Martin Zibricky

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to