peted-davis / WeatherFlow_PiConsole

Raspberry Pi Python console for WeatherFlow Tempest and Smart Home Weather Stations
GNU General Public License v3.0
155 stars 20 forks source link

Unable to find any valuable Window provider #65

Closed MABeatty1978 closed 2 years ago

MABeatty1978 commented 2 years ago

I had been running wfpiconsole just fine for a while on my pi3. I had a software problem lost my SD card. I reinstalled everything on a new SD card and got the wfpiconsole installed but when trying to start it, I'm getting

[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
egl_rpi - ImportError: cannot import name 'bcm' from 'kivy.lib.vidcore_lite' (/home/mab/.local/lib/python3.9/site-packages/kivy/lib/vidcore_lite/__init__.py)
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/__init__.py", line 58, in core_select_lib
    mod = __import__(name='{2}.{0}.{1}'.format(
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in <module>
    from kivy.lib.vidcore_lite import bcm, egl

sdl2 - RuntimeError: b'No available video device'
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/__init__.py", line 70, in core_select_lib
    cls = cls()
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/window/window_sdl2.py", line 152, in __init__
    super(WindowSDL, self).__init__()
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/window/__init__.py", line 982, in __init__
    self.create_window()
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/window/window_sdl2.py", line 286, in create_window
    self.system_size = _size = self._win.setup_window(
  File "kivy/core/window/_window_sdl2.pyx", line 112, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window
  File "kivy/core/window/_window_sdl2.pyx", line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die

x11 - ModuleNotFoundError: No module named 'kivy.core.window.window_x11'
  File "/home/mab/.local/lib/python3.9/site-packages/kivy/core/__init__.py", line 58, in core_select_lib
    mod = __import__(name='{2}.{0}.{1}'.format(

Hardware/OS/Version (please complete the following information):

Additional context My display is a 5" LCD touch display, brand name Elecrow Another thing to note, the install hung for quite a long time trying to install kivy. It didn't show any errors that lead me to belive it didn't install, but it took a lot longer than I remember the first time I installed.

peted-davis commented 2 years ago

You need to use the Legacy version of Raspberry Pi OS (buster) on a Pi3. https://github.com/peted-davis/WeatherFlow_PiConsole#compatibility