FTP uploads from $HTML_ROOT according to the user guide.
On Saturday, 12 November 2016 12:12:55 UTC+2, Jacek Skowroński wrote: > it work's more or less. > pi@raspberrypi:/usr/share/weewx $ tail -f /var/log/syslog > Nov 12 11:01:48 raspberrypi weewx[18627]: engine: Daily summaries up to > date. > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: StationRegistry: > Registration not requested. > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: Wunderground-RF: Data for > station IWOJEWDZ56 will be posted > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: PWSWeather: Data for > station YACENTY2 will be posted > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: CWOP: Posting not enabled. > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: WOW: Data for station > 976406001 will be posted > Nov 12 11:01:48 raspberrypi weewx[18627]: restx: AWEKAS: Data will be > uploaded for user yacenty > Nov 12 11:01:48 raspberrypi weewx[18627]: engine: Starting up weewx > version 3.6.2 > Nov 12 11:01:48 raspberrypi weewx[18627]: engine: Clock error is 1.74 > seconds (positive is fast) > Nov 12 11:01:48 raspberrypi weewx[18627]: engine: Starting main packet > loop. > Nov 12 11:05:15 raspberrypi weewx[18627]: manager: added record 2016-11-12 > 11:05:00 CET (1478945100) to database 'weewx.sdb' > Nov 12 11:05:15 raspberrypi rsyslogd-2007: action 'action 17' suspended, > next retry is Sat Nov 12 11:05:45 2016 [try http://www.rsyslog.com/e/2007 > ] > Nov 12 11:05:15 raspberrypi weewx[18627]: manager: added record 2016-11-12 > 11:05:00 CET (1478945100) to daily summary in 'weewx.sdb' > Nov 12 11:05:15 raspberrypi weewx[18627]: manager: added record 2016-11-12 > 11:05:00 CET (1478945100) to database 'weewxwd.sdb' > Nov 12 11:05:15 raspberrypi weewx[18627]: manager: added record 2016-11-12 > 11:05:00 CET (1478945100) to daily summary in 'weewxwd.sdb' > Nov 12 11:05:15 raspberrypi weewx[18627]: restx: AWEKAS: Published record > 2016-11-12 11:05:00 CET (1478945100) > Nov 12 11:05:16 raspberrypi weewx[18627]: restx: PWSWeather: Published > record 2016-11-12 11:05:00 CET (1478945100) > Nov 12 11:05:16 raspberrypi weewx[18627]: restx: WOW: Published record > 2016-11-12 11:05:00 CET (1478945100) > Nov 12 11:05:19 raspberrypi weewx[18627]: cheetahgenerator: Generated 14 > files for report StandardReport in 4.29 seconds > Nov 12 11:05:20 raspberrypi weewx[18627]: genimages: Generated 12 images > for StandardReport in 0.62 seconds > Nov 12 11:05:20 raspberrypi weewx[18627]: reportengine: copied 9 files to > /var/www/html/weewx > Nov 12 11:05:28 raspberrypi weewx[18627]: cheetahgenerator: Generated 1 > files for report wdTesttags in 7.44 seconds > Nov 12 11:05:28 raspberrypi weewx[18627]: cheetahgenerator: Generated 1 > files for report wdPWS in 0.15 seconds > Nov 12 11:05:32 raspberrypi weewx[18627]: cheetahgenerator: Generate > failed with exception '<class 'NameMapper.NotFound'>' > Nov 12 11:05:32 raspberrypi weewx[18627]: cheetahgenerator: **** Ignoring > template /etc/weewx/skins/Clientraw/clientrawextra.txt.tmpl > Nov 12 11:05:32 raspberrypi weewx[18627]: cheetahgenerator: **** Reason: > cannot find 'split' while searching for 'split' > Nov 12 11:05:32 raspberrypi weewx[18627]: **** Traceback (most recent > call last): > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/share/weewx/weewx/cheetahgenerator.py", line 315, in generate > Nov 12 11:05:32 raspberrypi weewx[18627]: **** print >> _file, text > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in > __str__ > Nov 12 11:05:32 raspberrypi weewx[18627]: **** rc = getattr(self, > mainMethName)() > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "_etc_weewx_skins_Clientraw_clientrawextra_txt_tmpl.py", line 164, in > respond > Nov 12 11:05:32 raspberrypi weewx[18627]: **** NotFound: cannot find > 'split' while searching for 'split' > Nov 12 11:05:32 raspberrypi weewx[18627]: cheetahgenerator: Generated 3 > files for report wdClientraw in 4.28 seconds > Nov 12 11:05:32 raspberrypi weewx[18627]: reportengine: Caught > unrecoverable exception in generator > user.imageStackedWindRose3.ImageStackedWindRoseGenerator > Nov 12 11:05:32 raspberrypi weewx[18627]: **** cannot open > resource > Nov 12 11:05:32 raspberrypi weewx[18627]: **** Traceback (most > recent call last): > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 238, in run > Nov 12 11:05:32 raspberrypi weewx[18627]: **** obj.start() > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 271, in start > Nov 12 11:05:32 raspberrypi weewx[18627]: **** self.run() > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/share/weewx/user/imageStackedWindRose3.py", line 55, in run > Nov 12 11:05:32 raspberrypi weewx[18627]: **** > self.genImages(self.gen_ts) > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/share/weewx/user/imageStackedWindRose3.py", line 303, in genImages > Nov 12 11:05:32 raspberrypi weewx[18627]: **** self.plotFont > = ImageFont.truetype(self.windrose_font_path, self.windrose_plot_font_size) > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 240, in truetype > Nov 12 11:05:32 raspberrypi weewx[18627]: **** return > FreeTypeFont(font, size, index, encoding) > Nov 12 11:05:32 raspberrypi weewx[18627]: **** File > "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 137, in __init__ > Nov 12 11:05:32 raspberrypi weewx[18627]: **** self.font = > core.getfont(font, size, index, encoding) > Nov 12 11:05:32 raspberrypi weewx[18627]: **** IOError: cannot > open resource > Nov 12 11:05:32 raspberrypi weewx[18627]: **** Generator > terminated > Nov 12 11:05:33 raspberrypi weewx[18627]: cheetahgenerator: Generated 1 > files for report wdSteelGauges in 0.40 seconds > Nov 12 11:05:45 raspberrypi weewx[18627]: reportengine: ftp'd 41 files in > 12.53 seconds > > Now I have few questions. > If FTP service is on and all files from pi are sent to www serwer, does it > mean that all files located in weewx/WD folder should go to the ftp server? > Or do I have to prepare other service called FTPWD to send WD files? > Any hint how to fix the mentioned errors? > > On Saturday, November 12, 2016 at 8:35:49 AM UTC+1, gjr80 wrote: >> >> Did you try explicitly setting the --config option as per my last? I >> also note you ran wee_extension from the / directory. You might want to >> try changing into the /usr/share/weewx folder and then running it again, >> it could be a path issue. >> >> Gary >> >> On Saturday, 12 November 2016 17:17:30 UTC+10, Jacek Skowroński wrote: >>> >>> Yes file is in the standard location. Weewx is working without any warn >>> on start so It's crazy to have problems with config. >>> Could i send You a file to chceck? Maybe there is something with program >>> wee_extension >>> Regards >>> Jacek >>> >>> W dniu pt., 11.11.2016 o 23:00 gjr80 <gjrod...@gmail.com> napisał(a): >>> >>>> That error indicates that wee_extension found an error in your >>>> weewx.conf and could not parse it. I trust that your weewx.conf is >>>> located in /etc/weewx (you said you did a deb install) and that it in >>>> fact is not malformed? If everything is fine you might want to tell >>>> wee_extension exactly where weewx.conf is rather than have it >>>> guessing. You could try: >>>> >>>> wee_extension --config=/etc/weewx/weewx.conf --install=/home/pi/weewxwd >>>> -1.0.0.tar.gz >>>> >>>> Gary >>>> >>>> >>>> On Saturday, 12 November 2016 07:43:27 UTC+10, Jacek Skowroński wrote: >>>>> >>>>> by the way, the solution you gave me producess errors >>>>> >>>>> pi@raspberrypi:/ $ sudo wee_extension --install= >>>>> /home/pi/weewxwd-1.0.0.tar.gz >>>>> Traceback (most recent call last): >>>>> File "/usr/bin/wee_extension", line 83, in <module> >>>>> main() >>>>> File "/usr/bin/wee_extension", line 62, in main >>>>> config_path, config_dict = weecfg.read_config(options.config, >>>>> _args) >>>>> File "/usr/share/weewx/weecfg/__init__.py", line 223, in read_config >>>>> config_dict = configobj.ConfigObj(config_path, file_error=True) >>>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229, in >>>>> __init__ >>>>> self._load(infile, configspec) >>>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1318, in >>>>> _load >>>>> raise error >>>>> configobj.ConfigObjError: Parsing failed with several errors. >>>>> First error at line 1. >>>>> >>>>> >>>>> On Friday, November 11, 2016 at 10:15:18 PM UTC+1, gjr80 wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> The Weewx-WD install instructions have not yet been updated to >>>>>> reflect the removal of the weewx extension management capabilities from >>>>>> setup.py and the creation of the wee_extension utilitiy at weewx >>>>>> v3.2.0. You can safely install Weewx-WD with wee_extension using >>>>>> something >>>>>> like: >>>>>> >>>>>> ./wee_extension --install=/path/to/weewxwd-1.0.0.tar.gz >>>>>> >>>>>> Weewx-WD v1.0.0 has a few bugs in it that may or may not affect you. >>>>>> I am just putting the finishing touches to a v1.0.1 package that >>>>>> adresses >>>>>> these issues. If you could hang off installing for a week that might be >>>>>> advantageous. >>>>>> >>>>>> Gary >>>>>> >>>>>> On Saturday, 12 November 2016 06:39:22 UTC+10, Jacek Skowroński wrote: >>>>>>> >>>>>>> Hi, >>>>>>> I have some confusion. >>>>>>> I'd like to install weewxwd. Previously I had installed weewx from >>>>>>> deb. >>>>>>> Where should I find setup.py file in general? This is the first step >>>>>>> in installation of the weewxwd >>>>>>> >>>>>>> sudo find / -name 'setup.py' >>>>>>> >>>>>>> gives nothing >>>>>>> >>>>>>> Thanks for help >>>>>>> >>>>>> -- >>>> 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/EJxwFGpcu60/unsubscribe. >>>> To unsubscribe from this group and all its topics, 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.