now you have deleted the original post with the log etc!!!

can you confirm that byows_rpi.py is in the user directory - perhaps a 
listing of the user directory would be beneficial to check permissions etc 
of the file



On Friday, 20 September 2019 15:28:22 UTC+3, Laurent Lasne wrote:
>
>
>
> On Friday, 20 September 2019 12:04:33 UTC+1, Andrew Milner wrote:
>>
>> perhaps it would help us if you attached a copy of your weewx.conf
>>
>>
>>
>> On Friday, 20 September 2019 13:34:25 UTC+3, Laurent Lasne wrote:
>>>
>>> Hi Everyone,
>>>
>>> Weather station : Raspberry pi3, running Raspbian buster
>>>                             Adafruit PCF8523 Real Time Clock Assembled 
>>> Breakout Board [ADA3295] 
>>> <https://thepihut.com/products/adafruit-pcf8523-real-time-clock-assembled-breakout-board>
>>> 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.
>>> 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/86851b66-2020-4d48-9f10-a82c4b68a5e4%40googlegroups.com.

Reply via email to