[weewx-user] module 'serial' has no attribute 'Serial'

2024-04-28 Thread Adam Ellsworth
Hello, I've been running weewx smoothly for years, recently there was a power outage and when it came back up, weewx won't start. I assume something got updated and broke.. something? In an attempt to fix it I installed the latest weewx 5.0.1... It's using python 3.8.10 says the log. I re-ran s

Re: [weewx-user] module 'serial' has no attribute 'Serial'

2024-04-28 Thread Tom Keffer
I've seen this error before. Did you by any chance do a pip install of "serial", instead of "pyserial"? The former is for serializing JSON, the latter for communicating with serial ports. On Sun, Apr 28, 2024 at 12:28 PM Adam Ellsworth wrote: > Hello, I've been running weewx smoothly for years,

[weewx-user] Noob question about curly braces - only peripheral to weewx

2024-04-28 Thread n7uv...@gmail.com
I have no idea what I'm talking about here. However, while tweaking various .html.tmpl and .inc files, I saw this in celestial.html.tmpl [image: Screenshot 2024-04-28 154723.png] The leading curly brace is commented out, while the trailing mate is not. Obviously, it seems to work. Is this because

Re: [weewx-user] Noob question about curly braces - only peripheral to weewx

2024-04-28 Thread Tom Keffer
You are looking at a CSS file, not a Python file. In a CSS file, the hash mark (#) is an *ID Selector*, not a comment. So, a CSS entry of #my-heading h1 { font-weight: bold; } would use a bold font for the entity with id "my-heading": This is my heading The hash mark (#) is used because it

Re: [weewx-user] Noob question about curly braces - only peripheral to weewx

2024-04-28 Thread n7uv...@gmail.com
Yes, it does. Thanks! The nano editor highlights the #'d lines in the same color as comments. My bad. Cheers - Jon N7UV On Sunday, April 28, 2024 at 4:06:41 PM UTC-7 Tom Keffer wrote: > You are looking at a CSS file, not a Python file. In a CSS file, the hash > mark (#) is an *ID Selector*, not