[weewx-user] Success! How-to: Moving from one machine to another with v5 pip and rsync

2023-08-25 Thread Chris Alemany
Hi all. I take up plenty of bandwidth with questions and things so I thought I’d share a success in case it helps others. Last night I upgraded an old iMac and installed Debian 11 on it. Today I moved my newly installed v5b10 pip venv over using rsync from a RPi (Debian) onto the iMac with just

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread vince
Doh - delete that last < in the line above before the body of course... On Friday, August 25, 2023 at 8:04:46 PM UTC-7 vince wrote: > Did not help. Is it possible there is something in the nginx > configuration 'or' the combination of python3/cheetah in the venv that > might be at fault ?

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread vince
Did not help. Is it possible there is something in the nginx configuration 'or' the combination of python3/cheetah in the venv that might be at fault ? I'm running a v5 beta pip install FWIW. Here's the simplest example I can cook up. Simply try to show the units for something in

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread Tom Keffer
Your little test page is still being interpreted by Chrome as being encoded in "windows-1252". Try including a meta tag for the encoding: test page On Fri, Aug 25, 2023 at 6:08 PM vince wrote: > No joy. > > Try "test.html" now for a far simpler variant. > It'll take a few

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread vince
No joy. Try "test.html" now for a far simpler variant. It'll take a few minutes for the rsync to update the public version. Here's the page source. test page AQI (current) 80.5

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread Tom Keffer
The problem is the 'xmlns' declaration in your tag. It is causing metadata to be pulled in, which says that the character set is "windows-1252". Change this *http://www.w3.org/1999/xhtml "> http://www.w3.org/2005/10/profile ">*

Re: [weewx-user] Specific Report Generation Periods

2023-08-25 Thread Tom Keffer
Is this what you're thinking? https://github.com/weewx/weewx/issues/91 On Fri, Aug 25, 2023 at 9:58 AM carter.hu...@gmail.com < carter.humphrey...@gmail.com> wrote: > Hi, > > I'm wondering if there is a way to have a report have a specific end time. > For example, I'd like to create a 24 hour

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread Greg from Oz
I am in Australia and https://www.skahan.net/weewx/purpleair.html works. So the Australian geo block is working OK. [image: Screenshot from 2023-08-26 09-25-36.png] On Saturday, 26 August 2023 at 09:10:00 UTC+10 Tom Keffer wrote: > Both the template and the skin configuration look fine. > >

Re: [weewx-user] FTP-TLS File transfer fails

2023-08-25 Thread Tom Keffer
Good to know. I've added your experience to the list of symptoms. On Fri, Aug 25, 2023 at 7:34 AM Karl Napp wrote: > Thank's a lot, > with > > *reuse_ssl = True * > it works ! > > Tom Keffer schrieb am Donnerstag, 24. August 2023 um 23:56:58 UTC+2: > >> I'm not sure what is going on. It's

Re: [weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
Backed off to 9.5.0 and the errors went away, however the png files are still not being generated. The only errors in the log are: Aug 25 16:20:12 Magrathea2 weewx[2226] ERROR weewx.rest]: PWSWeather: Failed to publish record 2023-08-25 16:18:00 PDT (1693005480): Failed upload after 3 tries

Re: [weewx-user] WeeWX v5 pip Install into venv

2023-08-25 Thread Greg from Oz
I am running V5 and I put all my venv files into /opt so I have to remember to run the full path: EG sudo /opt/weewx/weewx-venv/bin/wee_reports --config=/opt/weewx/weewx-data/weewx.conf To use the venv I run :source /opt/weewx/weewx-venv/bin/activate also if you want to exit the venv type the

Re: [weewx-user] WeeWX v5 pip Install into venv

2023-08-25 Thread Tom Keffer
Running the venv's binaries (versus activation) is completely acceptable. Indeed, that's what the systemctl unit file does. On Fri, Aug 25, 2023 at 3:27 AM Greg Troxel wrote: > Graham Eddy writes: > > > use ‘python3 -m venv ~/venv’ to create the environment in ~/venv. > > then in your shell

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-25 Thread Tom Keffer
Both the template and the skin configuration look fine. Despite being just down the road from you, I am unable to connect to your webserver. On Thu, Aug 24, 2023 at 5:15 PM vince wrote: > URL that rsync uploads to is https://www.skahan.net/weewx/purpleair.html > - this will not be available

Re: [weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
Thanks, My searching the archives didn’t find it. David > On Aug 25, 2023, at 3:53 PM, vince wrote: > > If you google for your error message "AttributeError: type object 'ImageDraw' > has no attribute 'textsize' " you'll find an old thread about this >

[weewx-user] Re: Just upgraded to 4.10.2 and Python3

2023-08-25 Thread vince
If you google for your error message "*AttributeError: type object 'ImageDraw' has no attribute 'textsize' *" you'll find an old thread about this https://groups.google.com/g/weewx-user/c/4qz0bwgna7g On Friday, August 25, 2023 at 2:42:21 PM UTC-7 David Barto wrote: > On a new Mac, and

[weewx-user] Station repaired

2023-08-25 Thread Neville Davis
Hi I have finally repaired most of my install and new info included in my weewx Wiki page for a station with i2C sensors. Still more work to be done but here is a link to my station. https://bit.ly/44v9302 Nev -- You received this message because you are subscribed to the Google Groups

[weewx-user] Just upgraded to 4.10.2 and Python3

2023-08-25 Thread David Barto
On a new Mac, and I’m getting the following: AttributeError: type object 'ImageDraw' has no attribute 'textsize' Traceback (most recent call last): File "/Users/Shared/weewx-4.10.2/bin/weewx/reportengine.py", line 197, in run obj.start() File

[weewx-user] Wrapping Custom Content on the Belchertown front page

2023-08-25 Thread MikeQ
I am using index_hook_after_forecast.inc on the Belchertown front page to add two rows with two columns of METARs (four total METARs). Here is my .inc file: METARs https://www.aviationweather.gov/taf/data?ids=KEUL,KBOI,KWMC,KMEV,KSCK=raw=off=on;>TAFs $KONO_metar $KEUL_metar

[weewx-user] Specific Report Generation Periods

2023-08-25 Thread carter.hu...@gmail.com
Hi, I'm wondering if there is a way to have a report have a specific end time. For example, I'd like to create a 24 hour data summary ending at 7 am LT each day, rather than each day from midnight to midnight. I figured using a span and setting a specific report generation time would work,

[weewx-user] weewx multi undo

2023-08-25 Thread Joachim Puttkammer
I can't convert weewx multi back to a simple weewx. I have replaced /etc/default/weewx-multi with weewx WEEWX_PYTHON=python3 WEEWX_PYTHON_ARGS= WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf also copied the multi-weewx.conf to weewx.conf What is still

Re: [weewx-user] FTP-TLS File transfer fails

2023-08-25 Thread Karl Napp
Thank's a lot, with *reuse_ssl = True * it works ! Tom Keffer schrieb am Donnerstag, 24. August 2023 um 23:56:58 UTC+2: > I'm not sure what is going on. It's likely to be a server > configuration issue. One thing you can try is the "reuse_ssl" option. > > *[[FTP]]* > > * ... (as before)*

Re: [weewx-user] WeeWX v5 pip Install into venv

2023-08-25 Thread Greg Troxel
Graham Eddy writes: > use ‘python3 -m venv ~/venv’ to create the environment in ~/venv. > then in your shell run ’source ~/venv/bin/activate’ to set up the shell > environment (initialised python bindary, PYTHONPATH etc). i put this in my > ~/.bashrc > > a key trick is that running the