I just removed that line from the file and it's running without errors. I'm setting up the app now.
Dave-KB1PVH Sent from my Galaxy S7 On Feb 20, 2018 11:47 PM, "Greg from Oz" <[email protected]> wrote: > Remove the dateutil.parser from the realtime.html.tmpl file to get it to > work first up and see if the errors go away. > It seems to work without the dateutil.parser. Not sure why it is in > there. I am not a programmer. > but you can install it: > > sudo pip install python-dateutil > > > I must have it installed. > > Let me know how you go. > > > On Wednesday, 21 February 2018 15:32:29 UTC+11, Dave Webb wrote: >> >> Greg, >> >> I'm giving it a go but having an issue. >> >> Feb 20 23:30:17 odroid weewx[9132]: cheetahgenerator: **** Ignoring >> template /home/weewx/skins/Standard/realtime.xml.tmpl >> Feb 20 23:30:17 odroid weewx[9132]: cheetahgenerator: **** Reason: No >> module named dateutil.parser >> Feb 20 23:30:17 odroid weewx[9132]: **** Traceback (most recent call >> last): >> Feb 20 23:30:17 odroid weewx[9132]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 328, in generate >> Feb 20 23:30:17 odroid weewx[9132]: **** >> filtersLib=weewx.cheetahgenerator) >> Feb 20 23:30:17 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in >> __init__ >> Feb 20 23:30:17 odroid weewx[9132]: **** self._compile(source, file, >> compilerSettings=compilerSettings) >> Feb 20 23:30:17 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in >> _compile >> Feb 20 23:30:17 odroid weewx[9132]: **** keepRefToGeneratedCode=True) >> Feb 20 23:30:17 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 788, in >> compile >> Feb 20 23:30:17 odroid weewx[9132]: **** exec(co, mod.__dict__) >> Feb 20 23:30:17 odroid weewx[9132]: **** File >> "_home_weewx_skins_Standard_realtime_xml_tmpl.py", line 26, in <module> >> Feb 20 23:30:17 odroid weewx[9132]: **** ImportError: No module named >> dateutil.parser >> Feb 20 23:30:17 odroid weewx[9132]: cheetahgenerator: Generated 16 files >> for report StandardReport in 2.26 seconds >> Feb 20 23:30:18 odroid weewx[9132]: imagegenerator: Generated 11 images >> for StandardReport in 0.94 seconds >> Feb 20 23:30:18 odroid weewx[9132]: copygenerator: copied 0 files to >> /home/weewx/public_html >> Feb 20 23:30:20 odroid weewx[9132]: cheetahgenerator: Generate failed >> with exception '<type 'exceptions.ImportError'>' >> Feb 20 23:30:20 odroid weewx[9132]: cheetahgenerator: **** Ignoring >> template /home/weewx/skins/Standard/realtime.xml.tmpl >> Feb 20 23:30:20 odroid weewx[9132]: cheetahgenerator: **** Reason: No >> module named dateutil.parser >> Feb 20 23:30:20 odroid weewx[9132]: **** Traceback (most recent call >> last): >> Feb 20 23:30:20 odroid weewx[9132]: **** File >> "/home/weewx/bin/weewx/cheetahgenerator.py", line 328, in generate >> Feb 20 23:30:20 odroid weewx[9132]: **** >> filtersLib=weewx.cheetahgenerator) >> Feb 20 23:30:20 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in >> __init__ >> Feb 20 23:30:20 odroid weewx[9132]: **** self._compile(source, file, >> compilerSettings=compilerSettings) >> Feb 20 23:30:20 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1553, in >> _compile >> Feb 20 23:30:20 odroid weewx[9132]: **** keepRefToGeneratedCode=True) >> Feb 20 23:30:20 odroid weewx[9132]: **** File >> "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 788, in >> compile >> Feb 20 23:30:20 odroid weewx[9132]: **** exec(co, mod.__dict__) >> Feb 20 23:30:20 odroid weewx[9132]: **** File >> "_home_weewx_skins_Standard_realtime_xml_tmpl.py", line 26, in <module> >> Feb 20 23:30:20 odroid weewx[9132]: **** ImportError: No module named >> dateutil.parser >> Feb 20 23:30:21 odroid weewx[9132]: cheetahgenerator: Generated 16 files >> for report BigReport in 2.26 seconds >> Feb 20 23:30:22 odroid weewx[9132]: imagegenerator: Generated 11 images >> for BigReport in 1.57 seconds >> Feb 20 23:30:22 odroid weewx[9132]: copygenerator: copied 0 files to >> /home/weewx/public_html/big >> Feb 20 23:30:22 odroid weewx[9132]: copygenerator: copied 0 files to >> /home/weewx/public_html/ss >> Feb 20 23:30:22 odroid weewx[9132]: cheetahgenerator: Generated 2 files >> for report SteelSeries in 0.11 seconds >> Feb 20 23:30:23 odroid weewx[9132]: imagegenerator: Generated 11 images >> for SteelSeries in 1.00 seconds >> Feb 20 23:30:42 odroid weewx[9132]: ftpgenerator: ftp'd 67 files in 18.24 >> seconds >> >> >> >> Dave >> >> On Tue, Feb 20, 2018 at 4:33 PM, Greg from Oz <[email protected]> wrote: >> >>> I don't think it can handle more than one site. >>> I like this app because I can see the yesterday weather and I also put >>> the times of the high and lows on the data file as well. >>> >>> >>> On Wednesday, 21 February 2018 05:39:04 UTC+11, Doug Bo wrote: >>>> >>>> Looks really nice. I have not installed it so forgive my noob question >>>> please: does it handle 2 or 3 different weewx sites (different URL's)? >>>> >>>> Thanks, >>>> Doug B. >>>> >>>> >>>> >>>> On Monday, February 19, 2018 at 8:15:10 PM UTC-8, Greg from Oz wrote: >>>>> >>>>> I use this android app https://play.google.com/store/ >>>>> apps/details?id=ales.veluscek.weatherstation&hl=en >>>>> >>>>> It was designed for Cumulus weather program but I create the same file >>>>> format using weewx. >>>>> >>>>> To make it work with weewx do the following: >>>>> >>>>> >>>>> Under [CheetahGenerator] in your skin.conf add this line: >>>>> [[[Realtime]]] >>>>> template = realtime.xml.tmpl >>>>> >>>>> Place the attached file into the same directory(folder) as the >>>>> skin.conf you just edited. >>>>> >>>>> Run wee_reports and see if a realtime.xml file is produced in the root >>>>> of the website for the weewx weather. >>>>> >>>>> Download the app to your phone and put in your url for you weather >>>>> website e.g http://yourweathersite.com.au/realtime.xml >>>>> >>>>> That's about it. Hopefully it will help someone. I use this app >>>>> everyday and I used to use cumulus on a windows pc but since swapping >>>>> to weewx I couldn't find any app that was as good. >>>>> >>>>> -- >>> 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]. >>> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
