A whole bunch of stuff happened. You said try upgrade or update again?
So I did that and then ran wfpiconsole start
Again and I still have the window in the original photo.
I did a wfpiconsole update on the terminal and then wipiconsole start.
I still have the image I posted.
As the message on the screen says, run wfpiconsole update.
BTW, you might want to wait a day or two, some bugs were found. Best to check the status in the thread @wx3i09 linked.
Hi there
I have just run the upgrade, but the console is now unable to open and tries to auto start a couple of times unsuccessfully.
The screen changes as it tries to load, but then crashes before anything shows up. I’m using a Pi4 with the latest updates.
I have tried shutting down and disconnecting all power.
Here’s what I get when trying to manually run:
Traceback (most recent call last):
File “main.py”, line 518, in
wfpiconsole().run()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/app.py”, line 950, in run
runTouchApp()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 582, in runTouchApp
EventLoop.mainloop()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 347, in mainloop
self.idle()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 387, in idle
Clock.tick()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/clock.py”, line 733, in tick
self.post_idle(ts, self.idle())
File “/home/pi/.local/lib/python3.7/site-packages/kivy/clock.py”, line 776, in post_idle
self._process_events()
File “kivy/_clock.pyx”, line 616, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 649, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 645, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 218, in kivy._clock.ClockEvent.tick
File “/home/pi/wfpiconsole/lib/sager.py”, line 75, in fetch_forecast
threading.Thread(target=self.generate_forecast(), daemon=True).start()
File “/home/pi/wfpiconsole/lib/sager.py”, line 255, in generate_forecast
self.data[‘Pres6’] = derive.SLP([np.nanmean(Pres6).tolist(), ‘mb’], pres_device, self.app.config)[0]
File “/home/pi/wfpiconsole/lib/derivedVariables.py”, line 176, in SLP
elevation = float(elevation) + float(height)
ValueError: could not convert string to float:
Sorry you’re having issues. Can you share the contents of your wfpiconsole.ini
file with me in a private message? Thanks!
Sorry, how do I send a private message? I can’t find the option.
Just click on/tap his name and select Message.
This is odd. Can you delete/rename your existing wfpiconsole.ini
file and then start the console again with wfpiconsole start
? You will taken through the steps to generate a new one. Once that has finished, do you still see the same behaviour?
I had the same problem updating. Before reading any forums, I decided to go for a fresh install on my Pi3.
However installing stops at kivy python install. Tried it several times, both with sd card and usb, and left it for hours, but it stops at kivy install.
???
Welcome to the forums!
Can you let me know which problem you were facing?
Can you copy and paste the error message you see so I can investigate further. Can you also run these two commands and let me know the output:
lsb_release -a
cat /proc/device-tree/model
Hi @Peter,
thanks a lot for the beta
And yes, already now the shutdown
is working properly
Thanks Peter.
pi@Weatherflow-PiConsole:~ $ cat /proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2pi@Weatherflow-PiConsole:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
pi@Weatherflow-PiConsole:~ $ cat /proc/device-tree/model
pi@Weatherflow-PiConsole:~ $ curl -sSL https://peted-davis.github.io/wfpiconsole | bashs.github.io/wfpiconsole | bash
[✓] Root user check passed
[✓] Hardware check passed (aarch64)
[✓] OS check passed (Debian GNU/Linux 11 (bullseye))
================================
Installing WeatherFlow PiConsole
[✓] Checking for updated packages
[i] No updated packages found
[i] WeatherFlow PiConsole dependency checks…
[✓] Checking for git
[✓] Checking for curl
[✓] Checking for rng-tools
[✓] Checking for build-essential
[✓] Checking for python3-dev
[✓] Checking for python3-pip
[✓] Checking for python3-setuptools
[✓] Checking for libssl-dev
[✓] Checking for libffi-dev
[✓] Checking for libatlas-base-dev
[✓] Checking for jq
[i] Installing WeatherFlow PiConsole Python modules…
[✓] Updating Python package manager
[✓] Installing Python module cython
[✓] Installing Python module websockets
[✓] Installing Python module numpy
[✓] Installing Python module pytz
[✓] Installing Python module ephem
[✓] Installing Python module packaging
[✓] Installing Python module pyOpenSSL
[i] Kivy Python library dependency checks…
[✓] Checking for ffmpeg
[✓] Checking for libsdl2-dev
[✓] Checking for libsdl2-image-dev
[✓] Checking for libsdl2-mixer-dev
[✓] Checking for libsdl2-ttf-dev
[✓] Checking for libportmidi-dev
[✓] Checking for libswscale-dev
[✓] Checking for libavformat-dev
[✓] Checking for libavcodec-dev
[✓] Checking for zlib1g-dev
[✓] Checking for libgstreamer1.0-dev
[✓] Checking for gstreamer1.0-plugins-base
[✓] Checking for gstreamer1.0-plugins-good
[i] Kivy Python library installation check (will be installed)
[i] Installing Kivy Python library…
Then it stops.
I ran the update and it didn’t change my .ini file and gave me the update needed message. I ran the update again and then it did update .ini file and everything seems to be working.
Thanks for sharing everything. Installing Kivy does take quite some time (20-30 minutes at least on a Pi3), but it should complete ok. Instead of using the installer, can you run the following command to install Kivy. It should print a lot more information to the terminal:
python3 -m pip install https://github.com/kivy/kivy/archive/2.0.0.zip
Let me know how this gets on
Hi Peter,
I am having a similar issue, the build of Kivy is taking a very long time. Probably due to my rpi being a 3A+. Anyways, is it possible to use the pip wheel instead? Is there anything that would break if installing direct from pip rather than pulling in the archive and compiling? The pip wheel version is https://www.piwheels.org/simple/kivy/Kivy-2.1.0-cp37-cp37m-linux_armv7l.whl
or even running this
python3 -m pip install --user “kivy[full]”==2.0.0
To get the specific version you are looking for?
Thanks,
Sean
Kivy takes seemingly for.ev.er. so just launch it and walk away for an hour.
Yah,
I let it run over night (14 hours or so) and it was stuck building for some reason. I did the install via pip as above and the update more or less worked. The display doesn’t seem to fit any longer on my 7" touch screen display. It’s stretched too high. I’ve rebuilt my wfpiconsole.ini and it has proper resolution (800x480) but for some reason it thinks it’s much taller than that. So I don’t know if it’s because I installed via pip or something else.
I don’t have much time to work on this tonight, but I’ll take another look tomorrow. The problem you’re seeing with the display is exactly the reason why Kivy has to be compiled from source on a Pi3. It really does take time, but I’ve never seen it not finish within an hour. You’re not the only one reporting that it never finishes though, so something has clearly changed!
If you want to experiment, there are some instructions here: Installation on Raspberry Pi — Kivy 2.2.1 documentation. They’ve changed since I last updated the installer, so it’s possible I have missed something
Hi Peter,
So I was able to get the Kivy to compile. Turns out my swap space was only 100M and the compile process sucks up a massive amount of memory. The 3A+ only has 256MB ram available(with the other 256MB being assigned to the GPU) so the compile process was pegging the physical memory and swap space at 100% the whole time. Increasing swap space to 1GB gave it loads of room to make it through the compile. I also shut down all non essential apps including the desktop. Everything is working fine again.