Here is my wee_debug info: [[FTP]] # FTP'ing the results to a webserver is treated as just another report, # albeit one with an unusual report generator! skin = Ftp
# If you wish to use FTP, set "enable" to "true", then # fill out the next four lines. # Use quotes around passwords to guard against parsing errors. enable = true debug = 1 user = XXX obfuscated by wee_debug XXX password = XXX obfuscated by wee_debug XXX server = http://WWW.N8AAY.NET path = /weather/4.1 # Set to True for an FTP over TLS (FTPS) connection. Not all servers # support this. secure_ftp = False As for running weewxd from cmd line- all I got at 8:00 am was copious amounts of loop data. There was not any info about FTP. below is an example: LOOP: 2020-05-29 08:07:50 EDT (1590754070) altimeter: 30.0327339235, appTemp: 80.0207937815, barometer: 30.005, beaufort: 2, cloudbase: 1405.05043868, consBatteryVoltage: 4.71, dateTime: 1590754070, dayET: 0.0, dayRain: 0.0, dewpoint: 71.2937780698, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 44, heatindex: 75.1, humidex: 91.5954288614, inDewpoint: 62.4062044499, inHumidity: 56.0, insideAlarm: 0, inTemp: 79.5, leafWet4: 0.0, maxSolarRad: 340.585268415, monthET: 0.0, monthRain: 2.13, outHumidity: 88.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 75.1, pressure: 29.4490369347, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.05, stormStart: 1590638400, sunrise: 1590747120.0, sunset: 1590799488.0, txBatteryStatus: 0, usUnits: 1, windchill: 75.1, windDir: 200.0, windGust: 6.0, windGustDir: 207.0, windSpeed: 6.0, windSpeed10: 5.0, yearET: 0.0, yearRain: 13.96 LOOP: 2020-05-29 08:07:52 EDT (1590754072) altimeter: 30.0327339235, appTemp: 80.5840627815, barometer: 30.005, beaufort: 2, cloudbase: 1405.05043868, consBatteryVoltage: 4.71, dateTime: 1590754072, dayET: 0.0, dayRain: 0.0, dewpoint: 71.2937780698, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, extraAlarm8: 0, forecastIcon: 6, forecastRule: 44, heatindex: 75.1, humidex: 91.5954288614, inDewpoint: 62.4062044499, inHumidity: 56.0, insideAlarm: 0, inTemp: 79.5, leafWet4: 0.0, maxSolarRad: 340.70586259, monthET: 0.0, monthRain: 2.13, outHumidity: 88.0, outsideAlarm1: 0, outsideAlarm2: 0, outTemp: 75.1, pressure: 29.4490369347, rain: 0.0, rainAlarm: 0, rainRate: 0.0, soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, stormRain: 0.05, stormStart: 1590638400, sunrise: 1590747120.0, sunset: 1590799488.0, txBatteryStatus: 0, usUnits: 1, windchill: 75.1, windDir: 212.0, windGust: 6.0, windGustDir: 207.0, windSpeed: 5.0, windSpeed10: 5.0, yearET: 0.0, yearRain: 13.96 ^CTraceback (most recent call last): File "/usr/share/weewx/weewxd", line 261, in <module> main() File "/usr/share/weewx/weewxd", line 154, in main engine.run() File "/usr/share/weewx/weewx/engine.py", line 188, in run for packet in self.console.genLoopPackets(): File "/usr/share/weewx/weewx/drivers/vantage.py", line 532, in genLoopPackets for _loop_packet in self.genDavisLoopPackets(200): File "/usr/share/weewx/weewx/drivers/vantage.py", line 559, in genDavisLoopPackets loop_packet = self._get_packet() File "/usr/share/weewx/weewx/drivers/vantage.py", line 572, in _get_packet _buffer = self.port.read(99) File "/usr/share/weewx/weewx/drivers/vantage.py", line 279, in read _buffer = self.serial_port.read(chars) File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 483, in read ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left()) KeyboardInterrupt On Thursday, May 28, 2020 at 4:03:57 PM UTC-4, Eric Gammeter 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/42365df2-d0ac-4d98-b347-6ef38f97743d%40googlegroups.com.