y It looks quite normal usually like below, but I catched another error
shown i the paragraph after this which gives maybe a better hint what could
be going on.
Aug 28 15:40:24 fenixwx weewx[5432]: te923: read: address 0x020001
Aug 28 15:40:24 fenixwx weewx[5432]: te923: read: 5a 33 a2 51 51 c1 71 0a
00 0a 87 c1 64 86 c1 61 32 c2 52 ff ff b1 3f 05 53 c1 11 00 07 00 04 17 00
c1
Aug 28 15:40:24 fenixwx weewx[5432]: te923: read: address 0x00004c
Aug 28 15:40:24 fenixwx weewx[5432]: te923: read: 5a ff ff ff ff ff ff ff
ff ff ff ff ff ff d8 67 00 06 93 ff ff 78 28 15 09 bc 3f c1 3f c9 3f db 3f
ac
Aug 28 15:40:25 fenixwx weewx[5432]: manager: added record 2016-08-28
15:40:00 CEST (1472391600) to database 'weewx.sdb'
Aug 28 15:40:25 fenixwx weewx[5432]: manager: added record 2016-08-28
15:40:00 CEST (1472391600) to daily summary in 'weewx.sdb'
Aug 28 15:40:25 fenixwx weewx[5432]: reportengine: Running reports for
latest time in the database.
Aug 28 15:40:25 fenixwx weewx[5432]: reportengine: Running report
StandardReport
Aug 28 15:40:25 fenixwx weewx[5432]: te923: read: address 0x020001
Aug 28 15:40:25 fenixwx weewx[5432]: reportengine: Found configuration file
/home/weewx/skins/Standard/skin.conf for report StandardReport
Aug 28 15:40:26 fenixwx weewx[5432]: engine: Main loop exiting. Shutting
engine down.
Aug 28 15:40:26 fenixwx weewx[5432]: engine: Shutting down StdReport thread
Aug 28 15:40:28 fenixwx weewx[5432]: cheetahgenerator: Generated 14 files
for report StandardReport in 3.23 seconds
Aug 28 15:40:30 fenixwx weewx[5432]: genimages: Generated 15 images for
StandardReport in 1.42 seconds
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: copied 0 files to
/home/weewx/public_html
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Running report
BootstrapReport
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Cannot read skin
configuration file /home/weewx/skins/Bootstrap/skin.conf for report
BootstrapReport: Config file not found:
"/home/weewx/skins/Bootstrap/skin.conf".
Aug 28 15:40:30 fenixwx weewx[5432]: **** Report ignored...
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Running report FTP
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Found configuration file
/home/weewx/skins/Ftp/skin.conf for report FTP
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: FTP upload not
requested. Skipped.
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Running report RSYNC
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: Found configuration file
/home/weewx/skins/Rsync/skin.conf for report RSYNC
Aug 28 15:40:30 fenixwx weewx[5432]: reportengine: rsync upload not
requested. Skipped.
Aug 28 15:40:30 fenixwx weewx[5432]: engine: StdReport thread has been
terminated
Aug 28 15:40:30 fenixwx weewx[5432]: engine: Caught WeeWxIOError: [Errno
None] could not detach kernel driver from interface 0: Inga data
tillgängliga
Aug 28 15:40:30 fenixwx weewx[5432]: **** Waiting 60 seconds then
retrying...
*The next lines shows another error message which point on the libusb*Aug
27 23:45:26 fenixwx weewx[3933]: reportengine: Found configuration file
/home/weewx/skins/Rsync/skin.conf for report RSYNC
Aug 27 23:45:26 fenixwx weewx[3933]: reportengine: rsync upload not
requested. Skipped.
Aug 27 23:45:26 fenixwx weewx[3933]: engine: StdReport thread has been
terminated
Aug 27 23:45:26 fenixwx weewx[3933]: engine: Caught unrecoverable exception
in engine:
Aug 27 23:45:26 fenixwx weewx[3933]: ****
/lib/arm-linux-gnueabihf/libusb-1.0.so.0: undefined symbol: libusb_strerror
Aug 27 23:45:26 fenixwx weewx[3933]: **** Traceback (most recent call
last):
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/engine.py", line 859, in main
Aug 27 23:45:26 fenixwx weewx[3933]: **** engine.run()
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/engine.py", line 182, in run
Aug 27 23:45:26 fenixwx weewx[3933]: **** for packet in
self.console.genLoopPackets():
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/drivers/te923.py", line 1163, in genLoopPackets
Aug 27 23:45:26 fenixwx weewx[3933]: **** data =
self.station.get_readings()
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/drivers/te923.py", line 1867, in get_readings
Aug 27 23:45:26 fenixwx weewx[3933]: **** buf =
self._read(0x020001)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/drivers/te923.py", line 1722, in _read
Aug 27 23:45:26 fenixwx weewx[3933]: **** buf =
self._raw_read(addr)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/home/weewx/bin/weewx/drivers/te923.py", line 1600, in _raw_read
Aug 27 23:45:26 fenixwx weewx[3933]: **** self.ENDPOINT_IN,
self.READ_LENGTH, self.TIMEOUT)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/legacy.py", line 182, in
interruptRead
Aug 27 23:45:26 fenixwx weewx[3933]: **** return
self.dev.read(endpoint, size, timeout)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/core.py", line 918, in read
Aug 27 23:45:26 fenixwx weewx[3933]: ****
self.__get_timeout(timeout))
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 787,
in intr_read
Aug 27 23:45:26 fenixwx weewx[3933]: **** timeout)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 872,
in __read
Aug 27 23:45:26 fenixwx weewx[3933]: **** _check(retval)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 552,
in _check
Aug 27 23:45:26 fenixwx weewx[3933]: **** raise
USBError(_strerror(ret), ret, _libusb_errno[ret])
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 541,
in _strerror
Aug 27 23:45:26 fenixwx weewx[3933]: **** return
_lib.libusb_strerror(errcode).decode('utf8')
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
Aug 27 23:45:26 fenixwx weewx[3933]: **** func =
self.__getitem__(name)
Aug 27 23:45:26 fenixwx weewx[3933]: **** File
"/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
Aug 27 23:45:26 fenixwx weewx[3933]: **** func =
self._FuncPtr((name_or_ordinal, self))
Aug 27 23:45:26 fenixwx weewx[3933]: **** AttributeError:
/lib/arm-linux-gnueabihf/libusb-1.0.so.0: undefined symbol: libusb_strerror
Aug 27 23:45:26 fenixwx weewx[3933]: **** Exiting
I am running pi2
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy
and the versio of the libusb is
ii libusb-1.0-0:armhf
2:1.0.11-1 armhf userspace USB
programming library
ii libusb-1.0-0-dev
2:1.0.11-1 armhf userspace USB
programming library development files
Thank you
Ulrik
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.