Giter Site home page Giter Site logo

Comments (5)

weatherstorm avatar weatherstorm commented on September 25, 2024

Skin is stable with the weewx and python. I also found a few bugs. Will post the updates soon

from sofaskin-cw9009.

harmlessdrudge avatar harmlessdrudge commented on September 25, 2024

Just tried out this skin (with WeeWX 4.3 on Ubuntu 20.04 with Python3, on a Pi3). At a glance it seems mostly ok apart from: not generating a week.html file, or NOAA reports; favicon also not in an images folder (which should be copied on start). My current modified Sofaskin (original) version has templates directory with a header.html.tmpl file but lacks an error directory.

Looking forward to seeing updated version.

from sofaskin-cw9009.

harmlessdrudge avatar harmlessdrudge commented on September 25, 2024

Seems the problem with week.html.tmpl is in the Yesterday section; page works if it's removed. If included:

Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: **** Reason: '<' not supported between instances of 'AggTypeBinder' and 'int'
Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 323, in generate
Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_Sofaskin_CW9009_week_html_tmpl.py", line 643, in respond
Jan 27 23:00:33 ubuntu python3[2566]: weewx[2566] ERROR weewx.cheetahgenerator: ****  TypeError: '<' not supported between instances of 'AggTypeBinder' and 'int'

from sofaskin-cw9009.

weatherstorm avatar weatherstorm commented on September 25, 2024

Yes. I have been working on that bug as well as a few other. Python changed how they handle < or > symbols. I have a fix for it that I will upload soon. I have it working on my site.

from sofaskin-cw9009.

weatherstorm avatar weatherstorm commented on September 25, 2024

Issues have been fixed.

from sofaskin-cw9009.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.