Hello, Eric

Two things:

1. Can you post your section [FTP], after obfuscating anything personal.

2. Set the debug flag *in the [FTP] section*, then run weewxd from the
command line. This will print out (to the console) lots of extra
information about what's going on inside FTP.

[FTP]
  ...
  debug = 1

-tk


On Thu, May 28, 2020 at 1:04 PM Eric Gammeter <[email protected]> wrote:

> Hello-  I was running WEEWX 4.0 on my RaspberryPi until yesterday- when I
> did an upgrade and accepted V4.1.  I have no success getting my web pages
> posted to my web server (FTP toWWW.N8AAY.NET).  Below is text from my
> syslog with DEBUG set.
>
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> Getting archive packets since 2020-05-28 15:30:00 EDT (1590694200)
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> Retrieving 1 page(s); starting index= 0
> May 28 16:00:16 raspberrypi weewx[1933] INFO weewx.manager: Added record
> 2020-05-28 16:00:00 EDT (1590696000) to database 'weewx'
> May 28 16:00:16 raspberrypi weewx[1933] INFO weewx.manager: Added record
> 2020-05-28 16:00:00 EDT (1590696000) to daily summary in 'weewx'
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> DMPAFT complete: page timestamp 2020-04-05 08:30:00 EDT (1586089800) less
> than final timestamp 2020-05-28 16:00:00 EDT (1590696000)
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage: Catch
> up complete.
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.reportengine: Running
> reports for latest time in the database.
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> Requesting 200 LOOP packets.
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.reportengine: Running
> report 'SeasonsReport'
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.drivers.vantage:
> Gentle wake up of console successful
> May 28 16:00:16 raspberrypi weewx[1933] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Seasons/skin.conf for report
> 'SeasonsReport'
> May 28 16:00:17 raspberrypi weewx[1933] DEBUG weewx.cheetahgenerator:
> Using search list ['weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
> 'weewx.cheetahgenerator.Extras']
> May 28 16:00:17 raspberrypi weewx[1933] DEBUG weewx.manager: Daily summary
> version is 2.0
> May 28 16:00:17 raspberrypi weewx[1933] INFO weewx.restx: StationRegistry:
> Published record 2020-05-28 16:00:00 EDT (1590696000)
> May 28 16:00:17 raspberrypi weewx[1933] INFO weewx.restx:
> Wunderground-PWS: Published record 2020-05-28 16:00:00 EDT (1590696000)
> May 28 16:00:23 raspberrypi weewx[1933] INFO weewx.cheetahgenerator:
> Generated 8 files for report SeasonsReport in 6.19 seconds
> May 28 16:00:23 raspberrypi weewx[1933] DEBUG weewx.manager: Daily summary
> version is 2.0
> May 28 16:00:33 raspberrypi weewx[1933] INFO weewx.imagegenerator:
> Generated 30 images for report SeasonsReport in 10.69 seconds
> May 28 16:00:33 raspberrypi weewx[1933] INFO weewx.reportengine: Copied 5
> files to /var/www/html/weewx
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weewx.reportengine: Report
> 'SmartphoneReport' not enabled. Skipping.
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weewx.reportengine: Report
> 'MobileReport' not enabled. Skipping.
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weewx.reportengine: Report
> 'StandardReport' not enabled. Skipping.
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weewx.reportengine: Running
> report 'FTP'
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weewx.reportengine: Found
> configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
> May 28 16:00:33 raspberrypi weewx[1933] DEBUG weeutil.ftpupload:
> Attempting connection to www.N8AAY.NET
> May 28 16:00:34 raspberrypi weewx[1933] DEBUG weeutil.ftpupload: quit()
> exception <type 'exceptions.AttributeError'>: ''NoneType' object has no
> attribute 'sendall''
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
> ftpgenerator: (0): caught exception '<class 'socket.error'>': [Errno 111]
> Connection refused
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****  Traceback (most recent call last):
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weewx/reportengine.py", line 330, in run
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****      n = ftp_data.run()
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****    File "/usr/share/weewx/weeutil/ftpupload.py", line 127, in run
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****      ftp_server.connect(self.server, self.port)
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****    File "/usr/lib/python2.7/ftplib.py", line 135, in connect
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****      self.sock = socket.create_connection((self.host, self.port),
> self.timeout)
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****    File "/usr/lib/python2.7/socket.py", line 575, in create_connection
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****      raise err
> May 28 16:00:34 raspberrypi weewx[1933] ERROR weewx.reportengine:
>  ****  error: [Errno 111] Connection refused
> May 28 16:00:34 raspberrypi weewx[1933] DEBUG weewx.reportengine: Report
> 'RSYNC' not enabled. Skipping.
>
>
> Additionally I am curious just how my python is (should be) set (ie:  V
> 2.7.16 or 3.7.3) since the new WEEWX v4.
>
> pi@raspberrypi:/etc/weewx $ python
> Python 2.7.16 (default, Oct 10 2019, 22:02:15)
> [GCC 8.3.0] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
> pi@raspberrypi:/etc/weewx $ python3.7 --version
> Python 3.7.3
>
> --
> 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/838d2f8b-f02b-4f3d-bf02-371a404281d5%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/838d2f8b-f02b-4f3d-bf02-371a404281d5%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/CAPq0zECtzXJ9g7kUBXqer25HpjWfF9kZ3N1zuFWAQec9hpN9fA%40mail.gmail.com.

Reply via email to