Oh well, we can't win them all!! Thanks for trying though - and am just glad that at least you solved the problem even if we can't get to the actual cause.
Glad to have helped in a small way. On Wednesday, 23 November 2016 04:49:00 UTC+2, Dan'l B wrote: > I have tried to re-create the setup that appeared to cause this problem > but am unable to do so > > However, here is part of the syslog from when the issue happened; I hope > this is useful: > > Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: Running report FTP >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: Found configuration >>> file /etc/weewx/skins/Ftp/skin.conf for report FTP >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: ftpupload: Attempting connection >>> to ftp.suiattle.net >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: Caught >>> unrecoverable exception in generator weewx.reportengine.FtpGenerator >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** cannot concatenate >>> 'str' and 'list' objects >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** Traceback (most >>> recent call last): >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** File >>> "/usr/share/weewx/weewx/reportengine.py", line 238, in run >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** obj.start() >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** File >>> "/usr/share/weewx/weewx/reportengine.py", line 271, in start >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** self.run() >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** File >>> "/usr/share/weewx/weewx/reportengine.py", line 322, in run >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** n = >>> ftp_data.run() >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** File >>> "/usr/share/weewx/weeutil/ftpupload.py", line 100, in run >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** >>> ftp_server.login(self.user, self.password) >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** File >>> "/usr/lib/python2.7/ftplib.py", line 393, in login >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** if resp[0] == >>> '3': resp = self.sendcmd('PASS ' + passwd) >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** TypeError: cannot >>> concatenate 'str' and 'list' objects >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: **** Generator terminated >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: Running report RSYNC >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: Found configuration >>> file /etc/weewx/skins/Rsync/skin.conf for report RSYNC >> >> Nov 12 06:20:19 WeatherPi weewx[11707]: reportengine: rsync upload not >>> requested. Skipped. >> >> >> > > On Sunday, November 13, 2016 at 10:12:57 AM UTC-5, Tom Keffer wrote: >> >> Kudos, Andrew. You called it. >> >> And, I share your curiosity on how this could cause a password problem. >> I'd also like to find an engineering solution so it doesn't happen again. >> >> So, again, please post the log. >> >> -tk >> >> On Sun, Nov 13, 2016 at 7:03 AM, Andrew Milner <andrew.s...@gmail.com> >> wrote: >> >>> Now that you have got it working - can you satisfy my curiosity - and >>> put the keyboard back to swiss French and possibly try and identify exactly >>> what the problem is/was? Is it the keyboard selection itself or is it a >>> specific character which you have to type? Just curious to know precisely >>> how keyboard selection can cause a password issue which is not resolved by >>> enclosing the password in quotes!! >>> >>> >>> >>> On Sunday, 13 November 2016 16:57:35 UTC+2, Dan'l B wrote: >>> >>>> Bingo! You spotted it. >>>> >>>> The language on both machines was set to English US, and the keyboard >>>> on both set to Swiss French, which is the keyboard I use. Once I set the >>>> keyboard to US Standard Dvorak, and re-typed the FTP entries, it worked >>>> immediately! >>>> >>>> Great call, Many thanks! >>>> >>>> On Sunday, November 13, 2016 at 9:06:47 AM UTC-5, Andrew Milner wrote: >>>>> >>>>> Are the locales on the two machines set the same? Looks like an >>>>> os/locale/encoding schema issue of some sort. Have you edited the .conf >>>>> on >>>>> another machine at any time? Run it through dos2unix just in case. >>>>> >>>>> On Sunday, 13 November 2016 15:54:39 UTC+2, Dan'l B wrote: >>>>>> >>>>>> Will do. But as a footnote, when I set up the FTP service in the >>>>>> WeeWx install on the Mac (which sits right next to the RPi3) the FTP >>>>>> works >>>>>> flawlessly, using the exact same settings as on the Rpi, which is the >>>>>> unit >>>>>> having this issue. >>>>>> >>>>>> On Sunday, November 13, 2016 at 7:54:32 AM UTC-5, Tom Keffer wrote: >>>>>>> >>>>>>> Very mysterious. >>>>>>> >>>>>>> Please set debug=1, restart weewx, then send the log through the >>>>>>> first FTP attempt. >>>>>>> >>>>>>> -tk >>>>>>> >>>>>>> On Sat, Nov 12, 2016 at 8:31 PM, Dan'l B <dan.hi...@gmail.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks for the wee_debug, which shows I am editing the correct >>>>>>>> file, in /etc/weewx >>>>>>>> >>>>>>>> I can email or pm you the actual login details if you wish to >>>>>>>> double-check. >>>>>>>> >>>>>>>> >>>>>>>> On Saturday, November 12, 2016 at 7:15:04 PM UTC-5, gjr80 wrote: >>>>>>>>> >>>>>>>>> As an aside, wee_debug >>>>>>>>> <http://weewx.com/docs/utilities.htm#wee_debug_utility> can be >>>>>>>>> handy in cases where there may be doubt over the config file being >>>>>>>>> used; >>>>>>>>> wee_debug when run without the --config command line option will >>>>>>>>> include in its output a copy of the config file that weewx would >>>>>>>>> pickup >>>>>>>>> when weewx is run. If you haven't done anything 'special' during your >>>>>>>>> install this can be helpful. Passwords and some other sensitive info >>>>>>>>> is >>>>>>>>> obfuscated in the wee_debug output, but you can work around that >>>>>>>>> to ensure you are editing, and weewx is using, the same file. >>>>>>>>> >>>>>>>>> Gary >>>>>>>>> >>>>>>>>> On Sunday, 13 November 2016 08:47:37 UTC+10, Tom Keffer wrote: >>>>>>>>>> >>>>>>>>>> Are you sure you're changing the password in the right >>>>>>>>>> weewx.conf? >>>>>>>>>> >>>>>>>>>> When you're done, it should look like >>>>>>>>>> >>>>>>>>>> [[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, uncomment and fill out the next >>>>>>>>>> four lines. >>>>>>>>>> user = my_user_name >>>>>>>>>> password = "password with spaces in it" >>>>>>>>>> server = ftp.myserver.com >>>>>>>>>> path = / >>>>>>>>>> >>>>>>>>>> -tk >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Nov 12, 2016 at 10:19 AM, Dan'l B <dan.hi...@gmail.com> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Saturday, November 12, 2016 at 9:07:12 AM UTC-5, mwall wrote: >>>>>>>>>>>> >>>>>>>>>>>> On Saturday, November 12, 2016 at 9:03:32 AM UTC-5, Dan'l B >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Here's the log output when it tries to connect to the remote >>>>>>>>>>>>> FTP host: >>>>>>>>>>>>> >>>>>>>>>>>>> Nov 12 09:00:20 WeatherPi weewx[671]: reportengine: Found >>>>>>>>>>>>> configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP >>>>>>>>>>>>> Nov 12 09:00:20 WeatherPi weewx[671]: ftpupload: Attempting >>>>>>>>>>>>> connection to ********** >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: reportengine: Caught >>>>>>>>>>>>> unrecoverable exception in generator >>>>>>>>>>>>> weewx.reportengine.FtpGenerator >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** cannot >>>>>>>>>>>>> concatenate 'str' and 'list' objects >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** Traceback >>>>>>>>>>>>> (most recent call last): >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/reportengine.py", line 238, in run >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** >>>>>>>>>>>>> obj.start() >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/reportengine.py", line 271, in start >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** >>>>>>>>>>>>> self.run() >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** File >>>>>>>>>>>>> "/usr/share/weewx/weewx/reportengine.py", line 322, in run >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** n = >>>>>>>>>>>>> ftp_data.run() >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** File >>>>>>>>>>>>> "/usr/share/weewx/weeutil/ftpupload.py", line 100, in run >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** >>>>>>>>>>>>> ftp_server.login(self.user, self.password) >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** File >>>>>>>>>>>>> "/usr/lib/python2.7/ftplib.py", line 393, in login >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** if >>>>>>>>>>>>> resp[0] == '3': resp = self.sendcmd('PASS ' + passwd) >>>>>>>>>>>>> Nov 12 09:00:21 WeatherPi weewx[671]: **** TypeError: >>>>>>>>>>>>> cannot concatenate 'str' and 'list' objects >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> in weewx.conf, put the ftp password in quotes. >>>>>>>>>>>> >>>>>>>>>>>> it looks like you have a comma in your password. >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> There was indeed a comma in the pwd. Tried enclosing it in >>>>>>>>>>> quotes, no go, so I changed the pwd to just UPPER/lower and nbrs. >>>>>>>>>>> Same >>>>>>>>>>> error still. >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> 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+...@googlegroups.com. >>>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>> 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+...@googlegroups.com. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> -- >>> 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+...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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. For more options, visit https://groups.google.com/d/optout.