Rostislav Laifr
unread,Sep 12, 2024, 7:49:35 AM9/12/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pywws
Hello, I am new on this forum and not a very experienced user of Python.
Recently, I have bought WH-1080 weather station.
Communication with applications like Easyweather and Cumulus 1 by USB is OK.
I tried to use Python software PYWWS (with Python 3.10 64bit on Windows 10).
Running Testweatherstation.py was repeatedly interrupted with this message:
-------------------------------------------------------------------------------
Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
= RESTART: D:\Internet_C\Python\Pywws\pywws-master\src\pywws\testweatherstation.py
11:49:56:pywws.logger:pywws version 24.8.0, build 1711 (7883e71)
Traceback (most recent call last):
File "D:\Internet_C\Python\Pywws\pywws-master\src\pywws\testweatherstation.py", line 190, in <module>
sys.exit(main())
File "D:\Internet_C\Python\Pywws\pywws-master\src\pywws\testweatherstation.py", line 118, in main
raw_fixed = ws.get_raw_fixed_block()
File "C:\Users\Rostislav\AppData\Local\Programs\Python\Python310\lib\site-packages\pywws\weatherstation.py", line 728, in get_raw_fixed_block
self._fixed_block = self._read_fixed_block()
File "C:\Users\Rostislav\AppData\Local\Programs\Python\Python310\lib\site-packages\pywws\weatherstation.py", line 772, in _read_fixed_block
result += self._read_block(mempos)
File "C:\Users\Rostislav\AppData\Local\Programs\Python\Python310\lib\site-packages\pywws\weatherstation.py", line 760, in _read_block
new_block = self.cusb.read_block(ptr)
File "C:\Users\Rostislav\AppData\Local\Programs\Python\Python310\lib\site-packages\pywws\weatherstation.py", line 346, in read_block
return self.dev.read_data(32)
File "C:\Users\Rostislav\AppData\Local\Programs\Python\Python310\lib\site-packages\pywws\device_libusb1.py", line 103, in read_data
raise IOError('pywws.device_libusb1.USBDevice.read_data failed')
OSError: pywws.device_libusb1.USBDevice.read_data failed
-------------------------------------------------------------------------------
What can be the problem and how it could be solved?