WeatherFlow PiConsole - Archive

Can you copy and paste the log information that is printed in the Anaconda prompt window?

If you have recently replaced your station, it is probably worth deleting the wfpiconsole.ini file. The code will prompt you to generate a new one containing the new station and devices IDs

Traceback (most recent call last):
File “kivy\properties.pyx”, line 961, in kivy.properties.ObservableDict.getattr
KeyError: ‘PanelSix’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 240, in create_handler
return eval(value, idmap), bound_list
File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy\properties.pyx”, line 964, in kivy.properties.ObservableDict.getattr
AttributeError: ‘super’ object has no attribute ‘getattr

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 694, in _apply_rule
value, bound = create_handler(
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 243, in create_handler
raise BuilderException(rule.ctx, rule.line,
kivy.lang.builder.BuilderException: Parser: File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091:

1089::
1090: size_hint: (None, 76/480)

1091: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
1092: width: app.CurrentConditions.ids.PanelSix.size[0]
1093: UpdateNotifBackground:

AttributeError: ‘super’ object has no attribute ‘getattr
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 240, in create_handler
return eval(value, idmap), bound_list
File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy\properties.pyx”, line 964, in kivy.properties.ObservableDict.getattr

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Users\w4krr\wfpiconsole\main.py”, line 521, in
wfpiconsole().run()
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\app.py”, line 955, in run
runTouchApp()
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\base.py”, line 574, in runTouchApp
EventLoop.mainloop()
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\base.py”, line 339, in mainloop
self.idle()
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\base.py”, line 379, in idle
Clock.tick()
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\clock.py”, line 733, in tick
self.post_idle(ts, self.idle())
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\clock.py”, line 776, in post_idle
self._process_events()
File “kivy_clock.pyx”, line 620, in kivy._clock.CyClockBase._process_events
File “kivy_clock.pyx”, line 653, in kivy._clock.CyClockBase._process_events
File “kivy_clock.pyx”, line 649, in kivy._clock.CyClockBase._process_events
File “kivy_clock.pyx”, line 218, in kivy._clock.ClockEvent.tick
File “C:\Users\w4krr\wfpiconsole\lib\system.py”, line 111, in check_version
updateNotification(latest_ver).open()
File “C:\Users\w4krr\wfpiconsole\panels\update.py”, line 31, in init
super().init(**kwargs)
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\uix\modalview.py”, line 195, in init
super(ModalView, self).init(**kwargs)
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\uix\anchorlayout.py”, line 68, in init
super(AnchorLayout, self).init(**kwargs)
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\uix\layout.py”, line 76, in init
super(Layout, self).init(**kwargs)
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\uix\widget.py”, line 366, in init
self.apply_class_lang_rules(
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\uix\widget.py”, line 470, in apply_class_lang_rules
Builder.apply(
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 540, in apply
self._apply_rule(
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 709, in _apply_rule
raise BuilderException(rule.ctx, rule.line,
kivy.lang.builder.BuilderException: Parser: File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091:

1089::
1090: size_hint: (None, 76/480)

1091: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
1092: width: app.CurrentConditions.ids.PanelSix.size[0]
1093: UpdateNotifBackground:

BuilderException: Parser: File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091:

1089::
1090: size_hint: (None, 76/480)
1091: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
1092: width: app.CurrentConditions.ids.PanelSix.size[0]
1093: UpdateNotifBackground:

AttributeError: ‘super’ object has no attribute ‘getattr
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 240, in create_handler
return eval(value, idmap), bound_list
File “C:\Users\w4krr\wfpiconsole\wfpiconsole.kv”, line 1091, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy\properties.pyx”, line 964, in kivy.properties.ObservableDict.getattr

File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 694, in _apply_rule
value, bound = create_handler(
File “C:\Users\w4krr\miniconda3\lib\site-packages\kivy\lang\builder.py”, line 243, in create_handler
raise BuilderException(rule.ctx, rule.line,

(base) C:\Users\w4krr\wfpiconsole>

Have you updated to the latest version?

No, how do I update under Windows 10?

Download the zip file containing the source code of the latest version from here: Release WeatherFlow PiConsole v22.12.1 · peted-davis/WeatherFlow_PiConsole · GitHub. Unzip the folder and replace all the files in the wfpiconsole directory with the files you have just downloaded. Any files that don’t exist in the folder you downloaded can be safely deleted. Make sure you back up any local changes you have made, along with your wfpiconsole.ini file (assuming you have generated a new one with you new station details).

2 Likes

I updated to the latest version, and it fixed whatever issue I was having. Thanks for your help!

1 Like

I am now having an issue where a red exclamation mark appears at the bottom of the screen, and the program stops updating data. The Weatherflow software continues to update normally.

Yes, this is an issue with the WF servers. For some reason they sporadically stop sending data. I am working on a workaround in the next version

1 Like

Will WFpi run on 64 bit or is 32 bit recommended? How much ram is recommended to run this script/program with no issues? Sorry for so many questions on this but just getting started.

Thanks,
tweatherman

32 bit is recommended and is the supported architect. Some users run on 64 bit, but I provide no direct support for this environment. Assuming you are getting a Pi4, any RAM size (2,4 or 8 GB) will run the console smoothly. Some users find they have to tweak the amount of RAM available to the graphics card once they’ve finished installing, but that’s an easy change to make

After the recent update the weatherflow was working great. Been doing good for about a week or so with no red circle. Tonight for the first time since the update its bsck and wont clear. I have restarted many times. Maybe sure the pi software was up to date and the weatherflow software was up to date. Any idea whats going on?

Hi,
I have the Console set up on my Windows 10 notebook by running a VMware Workstation Player with Debian Bullseye. It has been working fine but the other day I exited the console and have not been unable to get it to run again. So I just started over with a new VMWare client, etc. Used Debian Bullseye with Raspberry Pi Desktop, release 07/01.2022 as before. Attempt to install the console but get an error. The log is below:
“some code example from php”
[✓] Root user check passed
[✓] Hardware check passed (x86_64)
[✓] OS check passed (Debian GNU/Linux 11 (bullseye))

================================
Installing WeatherFlow PiConsole

[✓] Checking for updated packages
[i] 19 updated packages available. Use ‘sudo apt upgrade’ to install

[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
[i] Checking for libssl-dev (will be installed)
[i] Checking for libffi-dev (will be installed)
[i] Checking for libatlas-base-dev (will be installed)
[i] Checking for jq (will be installed)

[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
Error: Unable to install Python module: cryptography

Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
Collecting cryptography==37.0.4
Downloading cryptography-37.0.4.tar.gz (585 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 kB 5.3 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status ‘done’
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status ‘done’
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘done’
Collecting cffi>=1.12
Using cached cffi-1.15.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (420 kB)
Collecting pycparser
Using cached https//www.piwheels.org/simple/pycparser/pycparser-2.21-py2.py3-none-any.whl (119 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml): started
Building wheel for cryptography (pyproject.toml): finished with status ‘error’
error: subprocess-exited-with-error

× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [192 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/cryptography
copying src/cryptography/utils.py → build/lib.linux-x86_64-cpython-39/cryptography
copying src/cryptography/init.py → build/lib.linux-x86_64-cpython-39/cryptography
copying src/cryptography/exceptions.py → build/lib.linux-x86_64-cpython-39/cryptography
copying src/cryptography/about.py → build/lib.linux-x86_64-cpython-39/cryptography
copying src/cryptography/fernet.py → build/lib.linux-x86_64-cpython-39/cryptography
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat
creating build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/init.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py → build/lib.linux-x86_64-cpython-39/cryptography/x509
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/kdf
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/openssl
creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/utils.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed448.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ec.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x448.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/init.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dh.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/rsa.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x25519.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/x509.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hmac.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ed25519.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/poly1305.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/cmac.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/encode_asn1.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/hashes.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/dsa.py → build/lib.linux-x86_64-cpython-39/cryptography/hazmat/backends/openssl
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file ‘src/cryptography.egg-info/SOURCES.txt’
reading manifest template ‘MANIFEST.in’
no previously-included directories found matching ‘docs/_build’
warning: no previously-included files found matching ‘vectors’
warning: no previously-included files matching ‘’ found under directory ‘vectors’
warning: no previously-included files matching '
’ found under directory ‘.github’
warning: no previously-included files found matching ‘release.py’
warning: no previously-included files found matching ‘.coveragerc’
warning: no previously-included files found matching ‘codecov.yml’
warning: no previously-included files found matching ‘.readthedocs.yml’
warning: no previously-included files found matching ‘dev-requirements.txt’
warning: no previously-included files found matching ‘tox.ini’
warning: no previously-included files found matching ‘mypy.ini’
warning: no previously-included files matching ‘*’ found under directory ‘.circleci’
adding license file ‘LICENSE’
adding license file ‘LICENSE.APACHE’
adding license file ‘LICENSE.BSD’
adding license file ‘LICENSE.PSF’
writing manifest file ‘src/cryptography.egg-info/SOURCES.txt’
/tmp/pip-build-env-3v26qnjh/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing ‘cryptography.hazmat.bindings._rust’ as data is deprecated, please list it in packages.
!!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.
  
      'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).
  
      Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).
  
      You can read more about "package discovery" and "data files" on setuptools
      documentation page.
  
  
  !!
  
    check.warn(importable)
  copying src/cryptography/py.typed -> build/lib.linux-x86_64-cpython-39/cryptography
  creating build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-cpython-39/cryptography/hazmat/bindings/_rust
  running build_ext
  running build_rust
  
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https//pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https//cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https//cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https//cryptography.io/en/latest/installation/#rust
  
      Python: 3.9.2
      platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31
      pip: n/a
      setuptools: 65.6.3
      setuptools_rust: 1.5.2
      =============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler
  
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
  To update pip, run:
  
      pip install --upgrade pip
  
  and then retry package installation.
  
  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  
  This package requires Rust >=1.41.0.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

stevefin@raspberry:~ $ pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https//pypi.org/simple, https//www.piwheels.org/simple
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (20.3.4)
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
WARNING: The scripts pip, pip3 and pip3.9 are installed in ‘/home/stevefin/.local/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-22.3.1
stevefin@raspberry:~ $ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 11 (bullseye)”
NAME=“Debian GNU/Linux”
VERSION_ID=“11”
VERSION="11 (bullse
Any suggestions would be appreciated.
Thanks,
Steve
(Had to edit links so I could post.

Sorry you’re running into issues. I have made a tweak to the install script. Can you try running it again and see if it works this time?

That worked!
Thanks for the quick response and fix.

Steve

Peter did you see my last post? Any ideas?

Yes, sorry, your message slipped through! Unfortunately you are suffering from a known bug in the WF servers and API. For some users (very random selection) it randomly stops sending data via the websocket. The WF team are aware but as yet have not found the root cause of the problem. I am working on a workaround that will be released in the next version

1 Like

Good Morning, I did the update and now when I run start it crashes the last line says

UnboundLocalError: local variable ‘device_status’ referenced before assignment

Thank you for everything you do.

MIke

Can you share the contents of your wfpiconsole.ini file with me in a private message please? I will investigate further

I updated and everything seems to be working. Thanks for the update and I like seeing the battery mode status.

I updated to v22.12.2 and got the same crash
UnboundLocalError: local variable ‘device_status’ referenced before assignment

The error is occurring in lib/status.py
the code is getting a ‘wind_interval’ value of 20, so ‘device_status’ is not being set in the conditional statements (Lines 175-182)

My “hack-around” to the problem was to change the condition in line 179 from
elif wind_interval == 60:
to
elif wind_interval <= 60:

I really don’t know if this makes any sense to change this line, but it fixed the crash, until the developers can look into this issue.
Hoping this will help any developer with more experience to implement a more appropriate fix