kivy-garden / garden.datetimepicker

roulette based datetime selector like in iOS and android.
MIT License
14 stars 3 forks source link

Using pyinstaller caused date time picker to be replaced by white rectangles #5

Open stampyWA opened 8 years ago

stampyWA commented 8 years ago

I went and used Pyinstaller to package up the datetimepicker. I managed to include the garden libraries and the application does not report missing modules. Unfortunately, when I took a look at the datetimepicker it had white rectangles. I have no ideas on what to do to correct this issue. Can you shed light on why this is happening and share ideas to try?

Here is the PyInstaller command: python -m PyInstaller --name demosystem --hidden-import=kivy.graphics --hidden-import kivy.properties --hidden-import=kivy.garden.tickline --hidden-import=kivy.garden.roulette --hidden-import=kivy.garden.roulettescroll --hidden-import=kivy.garden.datetimepicker --icon icon-256.ico main.py

I then use Innosetup to package the binary into an msi file.

Here is what happens when we execute the program at the command line: working

Here is what happens when we execute the program after running through PyInstaller, InnoSetup, and installed it on Windows: notworking