hm.....
i have a strange problem, using PYWWS for more than a year now and quite impressed about its stability, only updating brings from time to time issues with it...
I recently updated to the latestversion from 2015....to see if sync still works I did start the manual procedure....on my cubietruck (debian).
sudo python -m pywws.Hourly -vvv /home/cubie/weather/data
did work well, now after a few days I have the following error message....and I couldn't find a way via google to see what is going wrong all of a sudden....
pywws usb.core.USBError: [Errno 110] Operation timed out
Below the complete message that can be seen...I use the pyUSB drivers....thanks a lot for help because I would really love to see my system run smooth again. NORBERT
cubie@Cubian:~$ sudo python -m pywws.Hourly -vvv /home/cubie/weather/data
19:51:28:pywws.Logger:pywws version 15.01.0
19:51:28:pywws.Logger:Python version 2.7.3 (default, Mar 14 2014, 17:55:54)
[GCC 4.6.3]
19:51:28:pywws.WeatherStation.CUSBDrive:using pywws.device_pyusb1
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 111, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 108, in main
return Hourly(args[0])
File "/usr/local/lib/python2.7/dist-packages/pywws/Hourly.py", line 73, in Hourly
DataLogger(params, status, raw_data).log_data()
File "/usr/local/lib/python2.7/dist-packages/pywws/LogData.py", line 98, in __init__
fixed_block = self.check_fixed_block()
File "/usr/local/lib/python2.7/dist-packages/pywws/LogData.py", line 113, in check_fixed_block
fixed_block = self.ws.get_fixed_block(unbuffered=True)
File "/usr/local/lib/python2.7/dist-packages/pywws/WeatherStation.py", line 605, in get_fixed_block
self._fixed_block = self._read_fixed_block()
File "/usr/local/lib/python2.7/dist-packages/pywws/WeatherStation.py", line 641, in _read_fixed_block
result += self._read_block(mempos)
File "/usr/local/lib/python2.7/dist-packages/pywws/WeatherStation.py", line 629, in _read_block
new_block = self.cusb.read_block(ptr)
File "/usr/local/lib/python2.7/dist-packages/pywws/WeatherStation.py", line 267, in read_block
return self.dev.read_data(32)
File "/usr/local/lib/python2.7/dist-packages/pywws/device_pyusb1.py", line 102, in read_data
result = self.dev.read(0x81, size, timeout=1200)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 670, in read
self.__get_timeout(timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 798, in intr_read
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 889, in __read
_check(retval)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 571, in _check
raise USBError(_str_error[ret], ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out