You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ./run.sh 1 to setup the venv - close the app
Then running source .venv/bin/activate; pyinstaller --log-level=DEBUG --noconfirm --clean linux.spec; ./dist/TauonMusicBox/Tauon\ Music\ Box which throws the above error
The pychromecast module is loaded like such:
try:
fromtauon.t_modules.t_chromeimportChromeexceptModuleNotFoundError:
logging.exception("Test exception DELETE THIS LINE.")
logging.warning("Unable to import Chrome(pychromecast), chromecast support will be disabled.")
exceptException:
logging.exception("Unknown error trying to import Chrome(pychromecast), chromecast support will be disabled.")
finally:
chrome=Chrome(tauon)
logging.debug("Found import Chrome(pychromecast) for chromecast support")
Looks like zeroconf is aggressively cythonized (at least PyPI wheels), and those cythonized extensions cannot be analyzed for imports (I see that they have accompanying .py files that could be used for import analysis, but we have no support for that in modulegraph).
The app uses pychromecast, which has a dependency on zeroconf.
I have tried adding both as a hiddenimport, but it still fails.
It turns out the module is there, but only partially:
One can repro this by
./run.sh 1
to setup the venv - close the appsource .venv/bin/activate; pyinstaller --log-level=DEBUG --noconfirm --clean linux.spec; ./dist/TauonMusicBox/Tauon\ Music\ Box
which throws the above errorThe pychromecast module is loaded like such:
Which imports from this file - https://github.com/C0rn3j/Tauon/blob/macos-dmg/src/tauon/t_modules/t_chrome.py
The text was updated successfully, but these errors were encountered: