Here is the log from start
i@raspberrypi:~ $ sudo tail -f /var/log/syslog Jan 28 16:35:20 raspberrypi
weewx[11404] INFO weewx.restx: Wunderground: Posting not enabled.
Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: PWSweather: Posting
not enabled.
Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: CWOP: Posting not
enabled.
Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: WOW: Posting not
enabled.
Jan 28 16:35:20 raspberrypi weewx[11404] INFO weewx.restx: AWEKAS: Posting not
enabled.
Jan 28 16:35:20 raspberrypi weewx[11404] INFO __main__: Starting up weewx
version 4.3.0 Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.engine: Clock
error is 3.34 seconds (positive is fast) Jan 28 16:35:21 raspberrypi
weewx[11404] INFO weewx.engine: Using binding 'wx_binding' to database
'weewx.sdb'
Jan 28 16:35:21 raspberrypi weewx[11404] INFO weewx.manager: Starting backfill
of daily summaries Jan 28 16:35:23 raspberrypi weewx[11404] INFO weewx.engine:
Starting main packet loop.
Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record
2021-01-28 16:40:00 MST (1611877200) to database 'weewx.sdb'
Jan 28 16:40:14 raspberrypi weewx[11404] INFO weewx.manager: Added record
2021-01-28 16:40:00 MST (1611877200) to daily summary in 'weewx.sdb'
Jan 28 16:40:16 raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated
8 files for report SeasonsReport in 1.81 seconds Jan 28 16:40:17 raspberrypi
weewx[11404] INFO weewx.imagegenerator: Generated 15 images for report
SeasonsReport in 0.66 seconds Jan 28 16:40:17 raspberrypi weewx[11404] INFO
weewx.reportengine: Copied 5 files to /var/www/html/weewx Jan 28 16:40:17
raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated 6 files for
report SmartphoneReport in 0.16 seconds Jan 28 16:40:17 raspberrypi
weewx[11404] INFO weewx.imagegenerator: Generated 6 images for report
SmartphoneReport in 0.24 seconds Jan 28 16:40:17 raspberrypi weewx[11404] INFO
weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone Jan 28
16:40:18 raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated 1
files for report MobileReport in 0.05 seconds Jan 28 16:40:18 raspberrypi
weewx[11404] INFO weewx.imagegenerator: Generated 4 images for report
MobileReport in 0.16 seconds Jan 28 16:40:18 raspberrypi weewx[11404] INFO
weewx.reportengine: Copied 2 files to /var/www/html/weewx/mobile Jan 28
16:40:18 raspberrypi weewx[11404] INFO user.belchertown: version 1.2 Jan 28
16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting AQI
from Aeris weather. The error was:#012list index out of range#012The response
from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:18 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:19 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:20 raspberrypi weewx[11404] ERROR user.belchertown: Error getting
AQI from Aeris weather. The error was:#012list index out of range#012The
response from the Aeris AQI server was:#012[{'success': True, 'error': {'code':
'warn_no_data', 'description': 'Valid request. No results available based on
your query parameters.'}, 'response': []}]#012The URL being used
is:#012https://api.aerisapi.com/airquality/closest?p=42.8375,-103.0094&format=json&radius=50mi&limit=1&client_id=dgmFzs4Y5jdGxm1G8Nf1p&client_secret=yCSHitr5LudLyWDSzTBKYBNBclSZk844wym6LHeT
Jan 28 16:40:22 raspberrypi weewx[11404] INFO weewx.cheetahgenerator: Generated
11 files for report Belchertown in 3.83 seconds Jan 28 16:40:22 raspberrypi
weewx[11404] INFO weewx.reportengine: Copied 37 files to
/var/www/html/weewx/belchertown Jan 28 16:40:24 raspberrypi weewx[11404] ERROR
weeutil.ftpupload: Failed uploading /var/www/html/weewx/weekbarometer.png to
server <http://www.billandcorena.com> www.billandcorena.com. Reason: '[Errno
0] Error'
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine:
ftpgenerator: (0): caught exception '<class 'OSError'>': [Errno 0] Error
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
Traceback (most recent call last):
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
n = ftp_data.run()
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/share/weewx/weeutil/ftpupload.py", line 163, in run
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
ftp_server.storbinary(stor_cmd, fd)
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/lib/python3.7/ftplib.py", line 514, in storbinary
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
conn.unwrap()
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/lib/python3.7/ssl.py", line 1094, in unwrap
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
s = self._sslobj.shutdown()
Jan 28 16:40:24 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
OSError: [Errno 0] Error
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weeutil.ftpupload: Failed
uploading /var/www/html/weewx/weekbarometer.png to server
<http://www.billandcorena.com> www.billandcorena.com. Reason: '[Errno 0] Error'
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine:
ftpgenerator: (1): caught exception '<class 'OSError'>': [Errno 0] Error
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
Traceback (most recent call last):
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
n = ftp_data.run()
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/share/weewx/weeutil/ftpupload.py", line 163, in run
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
ftp_server.storbinary(stor_cmd, fd)
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/lib/python3.7/ftplib.py", line 514, in storbinary
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
conn.unwrap()
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
File "/usr/lib/python3.7/ssl.py", line 1094, in unwrap
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
s = self._sslobj.shutdown()
Jan 28 16:40:25 raspberrypi weewx[11404] ERROR weewx.reportengine: ****
OSError: [Errno 0] Error
Jan 28 16:40:26 raspberrypi weewx[11404] ERROR weeutil.ftpupload: Failed
uploading /var/www/html/weewx/weekbarometer.png to server
<http://www.billandcorena.com> www.billandcorena.com. Reason: '[Errno 0] Error'
From: [email protected] <[email protected]> On Behalf Of
Tom Keffer
Sent: Thursday, January 28, 2021 3:44 PM
To: weewx-user <[email protected]>
Subject: Re: [weewx-user] FTP
It is very difficult to read your log trace because of the formatting, and you
did not supply much of the log.
One possible problem: are you sure you want
path = /public_html/weather/weewx
This will be the destination directory on www.billandcorena.com
<http://www.billandcorena.com> . Is that your intention?
If that's not the problem, then we will need to see more of the log. See the
wiki article Help! Posting to weewx-user
<https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user> for how to
get a good log.
On Thu, Jan 28, 2021 at 1:53 PM billandcorena ahrens <[email protected]
<mailto:[email protected]> > wrote:
enable = true
user = xxxxxxxxxxxxxxxx
password = "xxxxxxxxxxxx"
server = www.billandcorena.com <http://www.billandcorena.com> # The
ftp server name, e.g, www.myserver.org <http://www.myserver.org>
path = /public_html/weather/weewx # The destination directory, e.g.,
/weather
# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = true
# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
# HTML_ROOT = /var/www/html/weewx
# Most FTP servers use port 21
port = 21
# Set to 1 to use passive mode, zero for active mode
passive = 1
Jan 28 14:30:22 raspberrypi weewx[10448] INFO weewx.reportengine:
Copied 37 files to /var/www/html/weewx/belchertown Jan 28 14:30:24 raspberrypi
weewx[10448] ERROR weeutil.ftpupload: Failed uploading
/var/www/html/weewx/weekbarometer.png to server www.billandcorena.com
<http://www.billandcorena.com> . Reason: '[Errno 0] Error' Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weewx.reportengine: ftpgenerator: (0):
caught exception '<class 'OSError'>': [Errno 0] Error Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weewx.reportengine: ****
Traceback (most recent call last): Jan 28 14:30:24 raspberrypi
weewx[10448] ERROR weewx.reportengine: **** File
"/usr/share/weewx/weewx/reportengine.py", line 331, in run Jan 28
14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
**** n = ftp_data.run() Jan 28 14:30:24 raspberrypi weewx[10448]
ERROR weewx.reportengine: **** File
"/usr/share/weewx/weeutil/ftpupload.py", line 163, in run Jan 28
14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
**** ftp_server.storbinary(stor_cmd, fd) Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weewx.reportengine: **** File
"/usr/lib/python3.7/ftplib.py", line 514, in storbinary Jan 28 14:30:24
raspberrypi weewx[10448] ERROR weewx.reportengine: ****
conn.unwrap() Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
weewx.reportengine: **** File "/usr/lib/python3.7/ssl.py",
line 1094, in unwrap Jan 28 14:30:24 raspberrypi weewx[10448] ERROR
weewx.reportengine: **** s = self._sslobj.shutdown() Jan
28 14:30:24 raspberrypi weewx[10448] ERROR weewx.reportengine:
**** OSError: [Errno 0] Error Jan 28 14:30:25 raspberrypi weewx[10448] ERROR
weeutil.ftpupload: Failed uploading /var/www/html/weewx/weekbarometer.png to
server www.billandcorena.com <http://www.billandcorena.com> . Reason: '[Errno
0] Error'
--
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]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/1b5288f3-accd-466f-856a-16d3bf6739dfn%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/1b5288f3-accd-466f-856a-16d3bf6739dfn%40googlegroups.com?utm_medium=email&utm_source=footer>
.
--
You received this message because you are subscribed to a topic in the Google
Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/NufBr8qeEhc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBkb%2BQfJNjcO4m%2BU7KfmiuBKfKYbAukYcrcZFHNTVQGwA%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAPq0zEBkb%2BQfJNjcO4m%2BU7KfmiuBKfKYbAukYcrcZFHNTVQGwA%40mail.gmail.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/00b501d6f5cf%24c5f520e0%2451df62a0%24%40billandcorena.com.