Hi, first, Thanks for your help

I did reinstall raspbian buster lite, I reinstall weewx using .deb package, 
I made the change you suggested then,

Now, my Syslog give me that :

 

Sep 21 18:10:21 weatherstation weewx[902]: engine: Initializing weewx 
> version 3.9.2

Sep 21 18:10:21 weatherstation weewx[902]: engine: Using Python 2.7.16 
> (default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]

Sep 21 18:10:21 weatherstation weewx[902]: engine: Platform 
> Linux-4.19.66-v7+-armv7l-with-debian-10.1

Sep 21 18:10:21 weatherstation weewx[902]: engine: Locale is 'en_GB.UTF-8'

Sep 21 18:10:21 weatherstation weewx[902]: engine: Using configuration file 
> /etc/weewx/weewx.conf

Sep 21 18:10:21 weatherstation weewx[902]: engine: Loading station type 
> BYOWS (user.byows_rpi)

Sep 21 18:10:21 weatherstation weewx[902]: BYOWS RPi: using driver BYOWS

Sep 21 18:10:21 weatherstation weewx[902]: BYOWS RPi: driver version is 0.51

Sep 21 18:10:21 weatherstation weewx[902]: engine: Import of driver failed: 
> [Errno 121] Remote I/O error (<type 'exceptions.IOError'>)

Sep 21 18:10:21 weatherstation weewx[902]: engine: Unable to load driver: 
> [Errno 121] Remote I/O error

Sep 21 18:10:21 weatherstation weewx[902]:     ****  Exiting...



 

On Saturday, 21 September 2019 14:33:23 UTC+1, Thomas Keffer wrote:
>
> I think your problem is a typo in the driver, byows_rpi.py. Change this 
> line
>
> params['bme280_address'] = int(stn_dict.get('bme280_address', 0x77), 16)
>
> to this
>
> params['bme280_address'] = int(stn_dict.get('bme280_address', *'0x77'*), 
> 16)
>
> On Sat, Sep 21, 2019 at 5:31 AM Laurent Lasne <[email protected] 
> <javascript:>> wrote:
>
>> Hi Everybody, just to keep you posted:
>>
>> My first installation of weewx was made via Debian package
>> This morning I reinstall weewx via the script
>>
>> RESULT:
>>              Same /var/log/Syslog when debug = 1 in  the weewx.conf
>>                   look bad
>> I decided to make a fresh installation and see .
>>
>> On Friday, 20 September 2019 18:05:56 UTC+1, Laurent Lasne wrote:
>>>
>>> Hi Everyone,
>>>>
>>>> Weather station : Raspberry pi3, running Raspbian buster
>>>>                             Adafruit PCF8523 Real Time Clock Assembled 
>>>> Breakout Board [ADA3295] 
>>>> <https://www.google.com/url?q=https%3A%2F%2Fthepihut.com%2Fproducts%2Fadafruit-pcf8523-real-time-clock-assembled-breakout-board&sa=D&sntz=1&usg=AFQjCNG21TexEgN3IESVlYUJrT4USNr4bg>
>>>> Driver for weewx: jardiamj/BYOWS_RPi 
>>>> <https://github.com/jardiamj/BYOWS_RPi>
>>>>                            
>>>> Tutorial             : Build your own weather station_Raspberry pi 
>>>> project 
>>>> <https://projects.raspberrypi.org/en/projects/build-your-own-weather-station>
>>>>   
>>>>  (Uploading data to weather underground)
>>>>
>>>>
>>>>      After getting my station up and running perfectly using the 
>>>> python3 code from the tutorial: SQLite, all sensors reading and upload to 
>>>> weather underground, I decided to give a go to weewx, but I have an issue. 
>>>> When I start weewx manually 
>>>> sudo weewxd /etc/weewx/weewx.conf
>>>>
>>>> I got that in my /var/log/Syslog when debug = 1 in  : weewx.conf
>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Initializing weewx 
>>>>>> version 3.9.2
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Using Python 2.7.16 
>>>>>> (default, Apr  6 2019, 01:42:57) #012[GCC 8.2.0]
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Platform 
>>>>>> Linux-4.19.66-v7+-armv7l-with-debian-10.1
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Locale is 
>>>>>> 'en_GB.UTF-8'
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Using configuration 
>>>>>> file /etc/weewx/weewx.conf
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Debug is 1
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Initializing engine
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Loading station type 
>>>>>> BYOWS (user.byows_rpi)
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Import of driver 
>>>>>> failed: int() can't convert non-string with explicit base (<type 
>>>>>> 'exceptions.TypeError'>)
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]: engine: Unable to load 
>>>>>> driver: int() can't convert non-string with explicit base
>>>>>
>>>>> Sep 20 11:17:52 raspberrypi weewx[4040]:     ****  Exiting...
>>>>>
>>>>>
>>>> I know that wiring is ok because working with python3
>>>> I did reinstall libraries for python 2.7 
>>>> I made some research but come empty-handed
>>>> I am not a programmer, just in learning phase python3 (first language 
>>>> for me).
>>>> Not bad knowledge of Linux, Debian ubuntu Knoppix, etc...
>>>> I don't know what to do next, I hope I will get help.
>>>>  
>>>>
>>>
>>> In addition to the /var/log/syslog I attach weewx.conf and 
>>> /usr/share/weewx/user
>>>
>>> Thank you for your time
>>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/f36c7a2d-e120-43b4-b77d-d61728197659%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/f36c7a2d-e120-43b4-b77d-d61728197659%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ab0cd018-9a72-4246-9822-7ece2d55aaca%40googlegroups.com.

Reply via email to