Re: [weewx-development] V5.0 release candidate available

2023-12-27 Thread Tom Keffer
I can confirm that V5 does have a performance problem with image
generation. Here's how the various versions compare (using the file and
image generation benchmark ).

| Hardware| WeeWX| Python | Files (21) | Images (68)
|-|--||---:|
| MacBook Air, M1 2020| 4.10.2   | 3.7.16 |  0.69s |   0.78s
| MacBook Air, M1 2020| 5.0.0b13 | 3.7.16 |  0.71s |   0.97s
| MacBook Air, M1 2020| 5.0.0rc1 | 3.7.16 |  0.74s |   1.28s


On Tue, Dec 26, 2023 at 8:31 PM 'Cameron D' via weewx-development <
weewx-development@googlegroups.com> wrote:

> I copied the benchmark DB and the conf file onto my main weewx
> installation, edited the conf file accordingly, and got the same benchmark
> results, about 1.5 seconds each.
>
> So I can only assume there is something in my customisations that V5 is
> having trouble  with.
>
> On Wednesday 27 December 2023 at 12:25:22 pm UTC+10 Cameron D wrote:
>
>> Benchmark results: 1.4s for files and 1.5s for images
>>
>> Added to Wiki.
>>
>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>
>>> Can you please run the benchmark that Vince linked to earlier:
>>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>>
>>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us
>>> an idea whether you're in the right ballpark for runtimes.
>>>
>>> -tk
>>>
>>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>>> weewx-de...@googlegroups.com> wrote:
>>>
 74 seconds clock time to run a seasons report looks like the same
 problem I am seeing.


 On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com
 wrote:

 Hey All,

 ...

 Here’s 4.10

 Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
 weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
 seconds



 *...*

 Here’s 5.0rc1

 Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO
 weewx.imagegenerator: Generated 12 images for report SeasonsReport in 74.31
 seconds

 --

>>> You received this message because you are subscribed to the Google
 Groups "weewx-development" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to weewx-developm...@googlegroups.com.

>>> To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
 
 .

>>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/122b7ed6-0a04-4947-8f51-9a603abcb688n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDchmGYwrfBa%2B7BEQR3Vfe6zN%2BcR1m9uGuPUn9yhJU5NA%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-27 Thread 'Cameron D' via weewx-development
I think the missing weewx.conf is because I did *apt remove*, then renamed 
all the folders, thinking that would clean things out.  
However it looks like dpkg keeps a bit of config information elsewhere, and 
makes some incorrect assumptions.

An *apt purge* seems to be required, otherwise it is not really a fresh 
install.

On Wednesday 27 December 2023 at 5:34:16 pm UTC+10 Cameron D wrote:

> I just wiped weewx from my test system and did *a fresh install* - I got 
> 5.0.0-rc2.
> There was no weewx.conf created, so I ran dpkg-reconfigure and there is 
> still no weewx.conf.
>
> I added back the benchmark conf and DB.  On trying the manual report gen 
> it exited immediately, and syslog showed that is was complaining that 
> *user.extensions* was missing. Correct - bin/user is empty.
>
> On Wednesday 27 December 2023 at 2:30:58 pm UTC+10 Cameron D wrote:
>
>> I copied the benchmark DB and the conf file onto my main weewx 
>> installation, edited the conf file accordingly, and got the same benchmark 
>> results, about 1.5 seconds each.
>>
>> So I can only assume there is something in my customisations that V5 is 
>> having trouble  with.
>>
>> On Wednesday 27 December 2023 at 12:25:22 pm UTC+10 Cameron D wrote:
>>
>>> Benchmark results: 1.4s for files and 1.5s for images
>>>
>>> Added to Wiki.
>>>
>>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>>
 Can you please run the benchmark that Vince linked to earlier: 
 https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation

 Unfortunately, it runs only under V5 (not v4.10). Still, it will give 
 us an idea whether you're in the right ballpark for runtimes.

 -tk

 On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
 weewx-de...@googlegroups.com> wrote:

> 74 seconds clock time to run a seasons report looks like the same 
> problem I am seeing.
>
>
> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com 
> wrote:
>
> Hey All,
>
> ...
>
> Here’s 4.10
>
> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO 
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 
> 1.79 
> seconds
>
>  
>
> *...*
>
> Here’s 5.0rc1
>
> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO 
> weewx.imagegenerator: Generated 12 images for report SeasonsReport in 
> 74.31 
> seconds
>
> -- 
>
 You received this message because you are subscribed to the Google 
> Groups "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to weewx-developm...@googlegroups.com.
>
 To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
>  
> 
> .
>


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/a51054a0-ac73-4a2f-adfe-e0dd68ead6e6n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread 'Cameron D' via weewx-development
I just wiped weewx from my test system and did *a fresh install* - I got 
5.0.0-rc2.
There was no weewx.conf created, so I ran dpkg-reconfigure and there is 
still no weewx.conf.

I added back the benchmark conf and DB.  On trying the manual report gen it 
exited immediately, and syslog showed that is was complaining that 
*user.extensions* was missing. Correct - bin/user is empty.

On Wednesday 27 December 2023 at 2:30:58 pm UTC+10 Cameron D wrote:

> I copied the benchmark DB and the conf file onto my main weewx 
> installation, edited the conf file accordingly, and got the same benchmark 
> results, about 1.5 seconds each.
>
> So I can only assume there is something in my customisations that V5 is 
> having trouble  with.
>
> On Wednesday 27 December 2023 at 12:25:22 pm UTC+10 Cameron D wrote:
>
>> Benchmark results: 1.4s for files and 1.5s for images
>>
>> Added to Wiki.
>>
>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>
>>> Can you please run the benchmark that Vince linked to earlier: 
>>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>>
>>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us 
>>> an idea whether you're in the right ballpark for runtimes.
>>>
>>> -tk
>>>
>>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>>> weewx-de...@googlegroups.com> wrote:
>>>
 74 seconds clock time to run a seasons report looks like the same 
 problem I am seeing.


 On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com 
 wrote:

 Hey All,

 ...

 Here’s 4.10

 Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO 
 weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79 
 seconds

  

 *...*

 Here’s 5.0rc1

 Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO 
 weewx.imagegenerator: Generated 12 images for report SeasonsReport in 
 74.31 
 seconds

 -- 

>>> You received this message because you are subscribed to the Google 
 Groups "weewx-development" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to weewx-developm...@googlegroups.com.

>>> To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
  
 
 .

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/31ef95a8-88d0-40b7-b10a-03349789901bn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread 'Cameron D' via weewx-development
I copied the benchmark DB and the conf file onto my main weewx 
installation, edited the conf file accordingly, and got the same benchmark 
results, about 1.5 seconds each.

So I can only assume there is something in my customisations that V5 is 
having trouble  with.

On Wednesday 27 December 2023 at 12:25:22 pm UTC+10 Cameron D wrote:

> Benchmark results: 1.4s for files and 1.5s for images
>
> Added to Wiki.
>
> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>
>> Can you please run the benchmark that Vince linked to earlier: 
>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>
>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us 
>> an idea whether you're in the right ballpark for runtimes.
>>
>> -tk
>>
>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>> weewx-de...@googlegroups.com> wrote:
>>
>>> 74 seconds clock time to run a seasons report looks like the same 
>>> problem I am seeing.
>>>
>>>
>>> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com 
>>> wrote:
>>>
>>> Hey All,
>>>
>>> ...
>>>
>>> Here’s 4.10
>>>
>>> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO 
>>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79 
>>> seconds
>>>
>>>  
>>>
>>> *...*
>>>
>>> Here’s 5.0rc1
>>>
>>> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO 
>>> weewx.imagegenerator: Generated 12 images for report SeasonsReport in 74.31 
>>> seconds
>>>
>>> -- 
>>>
>> You received this message because you are subscribed to the Google Groups 
>>> "weewx-development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx-developm...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/122b7ed6-0a04-4947-8f51-9a603abcb688n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread Ryan Stasel
Ran this again, realizing I hadn't removed public_html between first and
second run (thinking it was production weewx causing the issue).

root@raspi-server-misc:/var/tmp/weewx-benchmark# weectl report run
--config=./weewx.conf

Using configuration file *./weewx.conf*

All enabled reports will be run.

Generating as of last timestamp in the database.

2023-12-26 20:23:48 weectl[2979]: INFO weewx.cheetahgenerator: Generated 21
files for report SeasonsReport in 6.09 seconds

2023-12-26 20:23:55 weectl[2979]: INFO weewx.imagegenerator: Generated 68
images for report SeasonsReport in 6.59 seconds

Done.


So Vince, you said something about a previous bug looking for extensions
somewhere else?

On Tue, Dec 26, 2023 at 6:49 PM Ryan Stasel  wrote:

> That time may be skewed by my prod weewx being in it's current state.
> Stopped the production instance and re-ran:
>
> weectl report run --config=./weewx.conf
>
> Using configuration file *./weewx.conf*
>
> All enabled reports will be run.
>
> Generating as of last timestamp in the database.
>
> 2023-12-26 18:47:13 weectl[1845]: INFO weewx.cheetahgenerator: Generated 8
> files for report SeasonsReport in 2.45 seconds
>
> 2023-12-26 18:47:14 weectl[1845]: INFO weewx.imagegenerator: Generated 17
> images for report SeasonsReport in 0.82 seconds
>
> Done.
>
>
> That seems much more inline with 4.10.2. And like Cameron, I've been
> updating from 4.x along the way, I think I started my DB with 4.x (I don't
> believe I upgraded from 3). My DB is over 10y of data, and is about 700MB.
>
>
> Hopefully this helps find a fix...
>
> On Tue, Dec 26, 2023 at 6:45 PM Ryan Stasel  wrote:
>
>> In my case, benchmark:
>>
>> weectl report run --config=./weewx.conf
>>
>> Using configuration file *./weewx.conf*
>>
>> All enabled reports will be run.
>>
>> Generating as of last timestamp in the database.
>>
>> 2023-12-26 18:42:45 weectl[1787]: INFO weewx.cheetahgenerator: Generated
>> 21 files for report SeasonsReport in 6.12 seconds
>>
>> 2023-12-26 18:42:53 weectl[1787]: INFO weewx.imagegenerator: Generated 68
>> images for report SeasonsReport in 7.56 seconds
>>
>> Done.
>>
>> On Tue, Dec 26, 2023 at 6:25 PM 'Cameron D' via weewx-development <
>> weewx-development@googlegroups.com> wrote:
>>
>>> Benchmark results: 1.4s for files and 1.5s for images
>>>
>>> Added to Wiki.
>>>
>>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>>
 Can you please run the benchmark that Vince linked to earlier:
 https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation

 Unfortunately, it runs only under V5 (not v4.10). Still, it will give
 us an idea whether you're in the right ballpark for runtimes.

 -tk

 On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
 weewx-de...@googlegroups.com> wrote:

> 74 seconds clock time to run a seasons report looks like the same
> problem I am seeing.
>
>
> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com
> wrote:
>
> Hey All,
>
> ...
>
> Here’s 4.10
>
> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
> seconds
>
>
>
> *...*
>
> Here’s 5.0rc1
>
> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO
> weewx.imagegenerator: Generated 12 images for report SeasonsReport in 
> 74.31
> seconds
>
> --
>
 You received this message because you are subscribed to the Google
> Groups "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to weewx-developm...@googlegroups.com.
>
 To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
> 
> .
>
 --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to weewx-development+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> -Ryan Stasel
>>
>
>
> --
> -Ryan Stasel
>


-- 
-Ryan Stasel

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on 

Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread Ryan Stasel
That time may be skewed by my prod weewx being in it's current state.
Stopped the production instance and re-ran:

weectl report run --config=./weewx.conf

Using configuration file *./weewx.conf*

All enabled reports will be run.

Generating as of last timestamp in the database.

2023-12-26 18:47:13 weectl[1845]: INFO weewx.cheetahgenerator: Generated 8
files for report SeasonsReport in 2.45 seconds

2023-12-26 18:47:14 weectl[1845]: INFO weewx.imagegenerator: Generated 17
images for report SeasonsReport in 0.82 seconds

Done.


That seems much more inline with 4.10.2. And like Cameron, I've been
updating from 4.x along the way, I think I started my DB with 4.x (I don't
believe I upgraded from 3). My DB is over 10y of data, and is about 700MB.


Hopefully this helps find a fix...

On Tue, Dec 26, 2023 at 6:45 PM Ryan Stasel  wrote:

> In my case, benchmark:
>
> weectl report run --config=./weewx.conf
>
> Using configuration file *./weewx.conf*
>
> All enabled reports will be run.
>
> Generating as of last timestamp in the database.
>
> 2023-12-26 18:42:45 weectl[1787]: INFO weewx.cheetahgenerator: Generated
> 21 files for report SeasonsReport in 6.12 seconds
>
> 2023-12-26 18:42:53 weectl[1787]: INFO weewx.imagegenerator: Generated 68
> images for report SeasonsReport in 7.56 seconds
>
> Done.
>
> On Tue, Dec 26, 2023 at 6:25 PM 'Cameron D' via weewx-development <
> weewx-development@googlegroups.com> wrote:
>
>> Benchmark results: 1.4s for files and 1.5s for images
>>
>> Added to Wiki.
>>
>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>
>>> Can you please run the benchmark that Vince linked to earlier:
>>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>>
>>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us
>>> an idea whether you're in the right ballpark for runtimes.
>>>
>>> -tk
>>>
>>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>>> weewx-de...@googlegroups.com> wrote:
>>>
 74 seconds clock time to run a seasons report looks like the same
 problem I am seeing.


 On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com
 wrote:

 Hey All,

 ...

 Here’s 4.10

 Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
 weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
 seconds



 *...*

 Here’s 5.0rc1

 Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO
 weewx.imagegenerator: Generated 12 images for report SeasonsReport in 74.31
 seconds

 --

>>> You received this message because you are subscribed to the Google
 Groups "weewx-development" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to weewx-developm...@googlegroups.com.

>>> To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
 
 .

>>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-development+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com
>> 
>> .
>>
>
>
> --
> -Ryan Stasel
>


-- 
-Ryan Stasel

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CALSG5j5Jo9HemAS_SOeBacQn2EqEY8Upt8--8StSGA9fGNeJZA%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread Ryan Stasel
In my case, benchmark:

weectl report run --config=./weewx.conf

Using configuration file *./weewx.conf*

All enabled reports will be run.

Generating as of last timestamp in the database.

2023-12-26 18:42:45 weectl[1787]: INFO weewx.cheetahgenerator: Generated 21
files for report SeasonsReport in 6.12 seconds

2023-12-26 18:42:53 weectl[1787]: INFO weewx.imagegenerator: Generated 68
images for report SeasonsReport in 7.56 seconds

Done.

On Tue, Dec 26, 2023 at 6:25 PM 'Cameron D' via weewx-development <
weewx-development@googlegroups.com> wrote:

> Benchmark results: 1.4s for files and 1.5s for images
>
> Added to Wiki.
>
> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>
>> Can you please run the benchmark that Vince linked to earlier:
>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>
>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us
>> an idea whether you're in the right ballpark for runtimes.
>>
>> -tk
>>
>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>> weewx-de...@googlegroups.com> wrote:
>>
>>> 74 seconds clock time to run a seasons report looks like the same
>>> problem I am seeing.
>>>
>>>
>>> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com
>>> wrote:
>>>
>>> Hey All,
>>>
>>> ...
>>>
>>> Here’s 4.10
>>>
>>> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
>>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
>>> seconds
>>>
>>>
>>>
>>> *...*
>>>
>>> Here’s 5.0rc1
>>>
>>> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO
>>> weewx.imagegenerator: Generated 12 images for report SeasonsReport in 74.31
>>> seconds
>>>
>>> --
>>>
>> You received this message because you are subscribed to the Google Groups
>>> "weewx-development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to weewx-developm...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com
> 
> .
>


-- 
-Ryan Stasel

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CALSG5j7C0dMPVSZUKWAmUULorX4PUKR8n_%3DD2rr_HJKDNG3%3DNw%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread 'Cameron D' via weewx-development
Benchmark results: 1.4s for files and 1.5s for images

Added to Wiki.

On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:

> Can you please run the benchmark that Vince linked to earlier: 
> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>
> Unfortunately, it runs only under V5 (not v4.10). Still, it will give us 
> an idea whether you're in the right ballpark for runtimes.
>
> -tk
>
> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
> weewx-de...@googlegroups.com> wrote:
>
>> 74 seconds clock time to run a seasons report looks like the same problem 
>> I am seeing.
>>
>>
>> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com 
>> wrote:
>>
>> Hey All,
>>
>> ...
>>
>> Here’s 4.10
>>
>> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO 
>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79 
>> seconds
>>
>>  
>>
>> *...*
>>
>> Here’s 5.0rc1
>>
>> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.imagegenerator: 
>> Generated 12 images for report SeasonsReport in 74.31 seconds
>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "weewx-development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-developm...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread Tom Keffer
Can you please run the benchmark that Vince linked to earlier:
https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation

Unfortunately, it runs only under V5 (not v4.10). Still, it will give us an
idea whether you're in the right ballpark for runtimes.

-tk

On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
weewx-development@googlegroups.com> wrote:

> 74 seconds clock time to run a seasons report looks like the same problem
> I am seeing.
>
>
> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com
> wrote:
>
> Hey All,
>
> ...
>
> Here’s 4.10
>
> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
> seconds
>
>
>
> *...*
>
> Here’s 5.0rc1
>
> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.imagegenerator:
> Generated 12 images for report SeasonsReport in 74.31 seconds
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDg6Dk9J%3D6DPer%2BPo8%2Bso3Myr4YAzpqx2kO1mMs0cNp1A%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread 'Cameron D' via weewx-development
74 seconds clock time to run a seasons report looks like the same problem I 
am seeing.


On Wednesday 27 December 2023 at 11:25:17 am UTC+10 rcst...@gmail.com wrote:

Hey All,

...

Here’s 4.10

Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO weewx.cheetahgenerator: 
Generated 8 files for report SeasonsReport in 1.79 seconds

 

*...*

Here’s 5.0rc1

Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.imagegenerator: 
Generated 12 images for report SeasonsReport in 74.31 seconds

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com.


RE: [weewx-development] V5.0 release candidate available

2023-12-26 Thread rcstasel
Hey All,

 

Okay, stopped weewx, did the change in sources, and an apt upgrade. Declined to 
replace weewx.conf, and then updated the existing one to have the weewx root 
properly, and start weewx. Started right away. Grabbed the one archive record 
that it missed during my process. 

 

Files generated relatively quickly, and rsync worked. Fwiw, still seems to run 
as root on here, rather than weewx. Not sure that matters. I do see a weewx 
user in /etc/passwd, so it got created. Rebooted the raspi and same thing, so 
not too worried it’s going to break. I imagine if we have to flip from root to 
weewx that would require some chown’s and ssh key migrations for rsync. 

 

Otherwise, seems just fine. =) I’m on a pretty “vanilla” setup, no real skin 
modifications, excess plugins, etc. Just a Vantage Vue pulling from a 
WeatherlinkIP. 

 

Of interest, it does seem like image generation seems orders of magnitude 
slower than 4.10

 

Here’s 4.10

Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO weewx.cheetahgenerator: 
Generated 8 files for report SeasonsReport in 1.79 seconds

Dec 26 17:00:27 raspi-server-misc weewx[25329] INFO weewx.imagegenerator: 
Generated 24 images for report SeasonsReport in 2.01 seconds

Dec 26 17:00:27 raspi-server-misc weewx[25329] INFO weewx.reportengine: Copied 
0 files to /var/www/html/weewx

Dec 26 17:00:31 raspi-server-misc weewx[25329] INFO weewx.cheetahgenerator: 
Generated 2 files for report Emkubed in 3.72 seconds

Dec 26 17:00:31 raspi-server-misc weewx[25329] INFO weewx.reportengine: Copied 
0 files to /var/www/html/weewx/emkubed

Dec 26 17:00:33 raspi-server-misc weewx[25329] INFO weeutil.rsyncupload: 
rsync'd 34 files (567,397 bytes) in 2.03 seconds

 

Here’s 5.0rc1

Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.imagegenerator: 
Generated 12 images for report SeasonsReport in 74.31 seconds

Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO weewx.reportengine: Copied 
5 files to /var/www/html/weewx

Dec 26 17:21:51 raspi-server-misc weewxd[716]: INFO weewx.cheetahgenerator: 
Generated 2 files for report Emkubed in 3.81 seconds

Dec 26 17:21:51 raspi-server-misc weewxd[716]: INFO weewx.reportengine: Copied 
0 files to /var/www/html/weewx/emkubed

Dec 26 17:21:53 raspi-server-misc weewxd[716]: INFO weeutil.rsyncupload: 
rsync'd 27 files (506,049 bytes) in 1.85 seconds

 

Any thoughts? 

 

Thanks Tom and everyone! 

 

From: Tom Keffer  
Sent: Tuesday, December 26, 2023 3:20 PM
To: rcsta...@gmail.com
Cc: weewx-development 
Subject: Re: [weewx-development] V5.0 release candidate available

 

Yes, there is a packaged version, so, yes, you do a package upgrade. NOTE: the 
release candidate is in a temporary apt repository, as outlined in the first 
message of this thread.

 

On Tue, Dec 26, 2023 at 3:11 PM mailto:rcsta...@gmail.com> 
> wrote:

Hey All,

 

I’m going to give this a go, but want to confirm based on this: 
https://weewx.com/docs/5.0/upgrade/

 

I’m just running on a raspi, and installed via apt, so I should just be able to 
do as documented here and upgrade this way? I swear a few months back there 
wasn’t going to be a packaged version of 5, and the emphasis was pushing toward 
using pip… that changed along the way? (sorry for being oblivious to that 
change, I try to at least glance at all the emails via this list, I must have 
just missed it). 

 

Thanks! 

 

From: weewx-development@googlegroups.com 
<mailto:weewx-development@googlegroups.com>  
mailto:weewx-development@googlegroups.com> 
> On Behalf Of Tom Keffer
Sent: Thursday, December 21, 2023 3:07 PM
To: weewx-development mailto:weewx-development@googlegroups.com> >
Subject: [weewx-development] V5.0 release candidate available

 

Celebrate the solstice (coming up in 4 hours) and the start of Winter with a 
WeeWX release candidate!

 

Changes since b17

We gave up on a standalone logger and have gone back to whatever your system 
uses. This is more robust to permission problems, but may make it harder to get 
the logs back out. See the wiki article View logs 
<https://github.com/weewx/weewx/wiki/view-logs>  for tips on how to convince 
your system to let you have a look.

 

As always, you can add a [Logging] section to weewx.conf and set up your own 
rotating log system. See the article WeeWX V4 and logging 
<https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging>  for how to do this.

 

Pip

 

For pip installs, please delete your old virtual environment, then install from 
scratch by following the pip install instructions 
<https://weewx.com/docs/5.0/quickstarts/pip/#install-in-a-virtual-environment> 
. While upgrading should work, we are particularly interested in the experience 
of a new install, including setting up a daemon and udev files. Make sure to 
follow the new instructions that use a daemon setup script.

 

 

Debian

 

For Debian package installs, modify /etc/apt/sources.list as follows:

echo "deb [arch=all]

RE: [weewx-development] V5.0 release candidate available

2023-12-26 Thread rcstasel
Hey Tom,

 

Thanks! Should I assume I should stop the current weewx, backup the db, etc? 
And yup, realize it’s a temp repo. =) 

 

Thanks! 

 

From: Tom Keffer  
Sent: Tuesday, December 26, 2023 3:20 PM
To: rcsta...@gmail.com
Cc: weewx-development 
Subject: Re: [weewx-development] V5.0 release candidate available

 

Yes, there is a packaged version, so, yes, you do a package upgrade. NOTE: the 
release candidate is in a temporary apt repository, as outlined in the first 
message of this thread.

 

On Tue, Dec 26, 2023 at 3:11 PM mailto:rcsta...@gmail.com> 
> wrote:

Hey All,

 

I’m going to give this a go, but want to confirm based on this: 
https://weewx.com/docs/5.0/upgrade/

 

I’m just running on a raspi, and installed via apt, so I should just be able to 
do as documented here and upgrade this way? I swear a few months back there 
wasn’t going to be a packaged version of 5, and the emphasis was pushing toward 
using pip… that changed along the way? (sorry for being oblivious to that 
change, I try to at least glance at all the emails via this list, I must have 
just missed it). 

 

Thanks! 

 

From: weewx-development@googlegroups.com 
<mailto:weewx-development@googlegroups.com>  
mailto:weewx-development@googlegroups.com> 
> On Behalf Of Tom Keffer
Sent: Thursday, December 21, 2023 3:07 PM
To: weewx-development mailto:weewx-development@googlegroups.com> >
Subject: [weewx-development] V5.0 release candidate available

 

Celebrate the solstice (coming up in 4 hours) and the start of Winter with a 
WeeWX release candidate!

 

Changes since b17

We gave up on a standalone logger and have gone back to whatever your system 
uses. This is more robust to permission problems, but may make it harder to get 
the logs back out. See the wiki article View logs 
<https://github.com/weewx/weewx/wiki/view-logs>  for tips on how to convince 
your system to let you have a look.

 

As always, you can add a [Logging] section to weewx.conf and set up your own 
rotating log system. See the article WeeWX V4 and logging 
<https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging>  for how to do this.

 

Pip

 

For pip installs, please delete your old virtual environment, then install from 
scratch by following the pip install instructions 
<https://weewx.com/docs/5.0/quickstarts/pip/#install-in-a-virtual-environment> 
. While upgrading should work, we are particularly interested in the experience 
of a new install, including setting up a daemon and udev files. Make sure to 
follow the new instructions that use a daemon setup script.

 

 

Debian

 

For Debian package installs, modify /etc/apt/sources.list as follows:

echo "deb [arch=all] https://weewx.com/ <https://weewx.com/apt-test/python3> 
apt-test/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list

Note the "apt-test". This tells apt to look there for the beta release, instead 
of the normal repository. You may want to change it back when you're done.

 

 

Red Hat

 

For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo

[weewx]
name=weewx
baseurl=http://weewx.com/ <http://weewx.com/yum-test/weewx/el9> 
yum-test/weewx/el9
enabled=1

Note the "yum-test". This tells yum to look there for the beta release, instead 
of the normal repository. Again, you may want to change things back when you're 
done.

 

 

What we're looking for

 

1. We are interested in your upgrade experience. Did the installers get your 
configuration file right? Skins? Is the daemon configured correctly?

 

2. With this release, we have included udev rules to set the correct 
permissions for devices. Did it work? If not, did unplugging then replugging 
the device work?

 

3. How about logging? Is it going to your system logger? Do the labels look 
reasonable?

 

Thanks!

 

-Tom & Matt

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com 
<mailto:weewx-development+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com
 
<https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com?utm_medium=email_source=footer>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/027e01da3852%24763e2970%2462ba7c50%24%40gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-26 Thread Tom Keffer
Yes, there is a packaged version, so, yes, you do a package upgrade. NOTE:
the release candidate is in a temporary apt repository, as outlined in the
first message of this thread.

On Tue, Dec 26, 2023 at 3:11 PM  wrote:

> Hey All,
>
>
>
> I’m going to give this a go, but want to confirm based on this:
> https://weewx.com/docs/5.0/upgrade/
>
>
>
> I’m just running on a raspi, and installed via apt, so I should just be
> able to do as documented here and upgrade this way? I swear a few months
> back there wasn’t going to be a packaged version of 5, and the emphasis was
> pushing toward using pip… that changed along the way? (sorry for being
> oblivious to that change, I try to at least glance at all the emails via
> this list, I must have just missed it).
>
>
>
> Thanks!
>
>
>
> *From:* weewx-development@googlegroups.com <
> weewx-development@googlegroups.com> *On Behalf Of *Tom Keffer
> *Sent:* Thursday, December 21, 2023 3:07 PM
> *To:* weewx-development 
> *Subject:* [weewx-development] V5.0 release candidate available
>
>
>
> Celebrate the solstice (coming up in 4 hours) and the start of Winter with
> a WeeWX release candidate!
>
>
>
> *Changes since b17*
>
> We gave up on a standalone logger and have gone back to whatever your
> system uses. This is more robust to permission problems, but may make it
> harder to get the logs back out. See the wiki article *View logs
> * for tips on how to
> convince your system to let you have a look.
>
>
>
> As always, you can add a [Logging] section to weewx.conf and set up your
> own rotating log system. See the article *WeeWX V4 and logging
> * for how to do
> this.
>
>
>
> *Pip*
>
>
>
> For pip installs, please delete your old virtual environment, then install
> from scratch by following the pip install instructions
> .
> While upgrading should work, we are particularly interested in the
> experience of a new install, including setting up a daemon and udev files.
> Make sure to follow the new instructions that use a daemon setup script.
>
>
>
>
>
> *Debian*
>
>
>
> For Debian package installs, modify /etc/apt/sources.list as follows:
>
> *echo "deb [arch=all] https://weewx.com/apt-test/python3 
>  buster main" | sudo tee 
> /etc/apt/sources.list.d/weewx.list*
>
> Note the "apt-test". This tells apt to look there for the beta release,
> instead of the normal repository. You may want to change it back when
> you're done.
>
>
>
>
>
> *Red Hat*
>
>
>
> For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo
>
> *[weewx]*
>
> *name=weewx*
>
> *baseurl=http://weewx.com/yum-test/weewx/el9 
> *
>
> *enabled=1*
>
> Note the "yum-test". This tells yum to look there for the beta release,
> instead of the normal repository. Again, you may want to change things back
> when you're done.
>
>
>
>
>
> *What we're looking for*
>
>
>
> 1. We are interested in your upgrade experience. Did the installers get
> your configuration file right? Skins? Is the daemon configured correctly?
>
>
>
> 2. With this release, we have included udev rules to set the correct
> permissions for devices. Did it work? If not, did unplugging then
> replugging the device work?
>
>
>
> 3. How about logging? Is it going to your system logger? Do the labels
> look reasonable?
>
>
>
> *Thanks!*
>
>
>
> -Tom & Matt
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEBkSBKKss8spyJj1P85hk8v%2BTeKojNo6OAq6%2BRYAHtqxQ%40mail.gmail.com.


RE: [weewx-development] V5.0 release candidate available

2023-12-26 Thread rcstasel
Hey All,

 

I’m going to give this a go, but want to confirm based on this: 
https://weewx.com/docs/5.0/upgrade/

 

I’m just running on a raspi, and installed via apt, so I should just be able to 
do as documented here and upgrade this way? I swear a few months back there 
wasn’t going to be a packaged version of 5, and the emphasis was pushing toward 
using pip… that changed along the way? (sorry for being oblivious to that 
change, I try to at least glance at all the emails via this list, I must have 
just missed it). 

 

Thanks! 

 

From: weewx-development@googlegroups.com  
On Behalf Of Tom Keffer
Sent: Thursday, December 21, 2023 3:07 PM
To: weewx-development 
Subject: [weewx-development] V5.0 release candidate available

 

Celebrate the solstice (coming up in 4 hours) and the start of Winter with a 
WeeWX release candidate!

 

Changes since b17

We gave up on a standalone logger and have gone back to whatever your system 
uses. This is more robust to permission problems, but may make it harder to get 
the logs back out. See the wiki article View logs 
  for tips on how to convince 
your system to let you have a look.

 

As always, you can add a [Logging] section to weewx.conf and set up your own 
rotating log system. See the article WeeWX V4 and logging 
  for how to do this.

 

Pip

 

For pip installs, please delete your old virtual environment, then install from 
scratch by following the pip install instructions 
 
. While upgrading should work, we are particularly interested in the experience 
of a new install, including setting up a daemon and udev files. Make sure to 
follow the new instructions that use a daemon setup script.

 

 

Debian

 

For Debian package installs, modify /etc/apt/sources.list as follows:

echo "deb [arch=all] https://weewx.com/  
apt-test/python3 buster main" | sudo tee /etc/apt/sources.list.d/weewx.list

Note the "apt-test". This tells apt to look there for the beta release, instead 
of the normal repository. You may want to change it back when you're done.

 

 

Red Hat

 

For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo

[weewx]
name=weewx
baseurl=http://weewx.com/  
yum-test/weewx/el9
enabled=1

Note the "yum-test". This tells yum to look there for the beta release, instead 
of the normal repository. Again, you may want to change things back when you're 
done.

 

 

What we're looking for

 

1. We are interested in your upgrade experience. Did the installers get your 
configuration file right? Skins? Is the daemon configured correctly?

 

2. With this release, we have included udev rules to set the correct 
permissions for devices. Did it work? If not, did unplugging then replugging 
the device work?

 

3. How about logging? Is it going to your system logger? Do the labels look 
reasonable?

 

Thanks!

 

-Tom & Matt

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com 
 .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com
 

 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/027701da3850%24d6b49930%24841dcb90%24%40gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-25 Thread 'Cameron D' via weewx-development
I got basically this same result as Vince, trying to run a report manually.
Running as user weewx or root gave same result.
I have no venv, and no pip install.

A pointer to the cause would be that *renaming 
/usr/share/weewx/user-2023xxx  back to user fixed the problem*.

I also tried a symlink from /usr/share/weewx/user pointing to 
/etc/weewx/bin/user and *that worked also*.  Including being able to run as 
user weewx.

And got me back to my other problem, that the report took a long time to 
run - 1 minute and 30 seconds to generate the full list. I'll report on 
that separately.

On Saturday 23 December 2023 at 11:30:21 am UTC+10 Vince Skahan wrote:

> I hand-edited the diff into 
> weewx-venv/lib/python3.11/site-packages/weecfg/extension.py which worked 
> for installing the extensions, but I get a similar message trying to run 
> reports manually
>
> You might try this on a current fully patched up version to see if it 
> works with all the updates you made after release to pypi just in case...
>
> (weewx-venv) vagrant@deb12:~/weewx-data$ weectl report run 
> --config=simulator.conf
> Using configuration file simulator.conf
> All enabled reports will be run.
> Generating as of last timestamp in the database.
> Traceback (most recent call last):
>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
> sys.exit(main())
>  ^^
>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", 
> line 66, in main
> namespace.func(namespace)
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
>  
> line 96, in dispatch
> namespace.action_func(config_dict, namespace)
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_cmd.py",
>  
> line 92, in run_reports
> weectllib.report_actions.run_reports(config_dict,
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_actions.py",
>  
> line 84, in run_reports
> engine = weewx.engine.DummyEngine(config_dict)
>  ^
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
> line 89, in __init__
> self.loadServices(config_dict)
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
> line 157, in loadServices
> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>   ^^^
>   File 
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py", 
> line 1404, in get_object
> module = importlib.import_module(module_name)
>  
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in 
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
>
>   File "", line 1206, in _gcd_import
>   File "", line 1178, in _find_and_load
>   File "", line 1128, in 
> _find_and_load_unlocked
>   File "", line 241, in 
> _call_with_frames_removed
>   File "", line 1206, in _gcd_import
>   File "", line 1178, in _find_and_load
>   File "", line 1142, in 
> _find_and_load_unlocked
>
>
> On Friday, December 22, 2023 at 4:51:49 PM UTC-8 Tom Keffer wrote:
>
>> Thanks for spotting that, Vince!
>>
>> Fixed in commit 256cac5 
>> 
>> .
>>
>> On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan  wrote:
>>
>>> Tom - your xaggs extension isn't installing.  I see the identical issue 
>>> with one of my custom extensions too.
>>>
>>> (weewx-venv) vagrant@deb12:~/adds$ weectl extension install 
>>> --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
>>> Using configuration file /home/vagrant/weewx-data/simulator.conf
>>> Request to install 'weewx-xaggs-master/'.
>>> Traceback (most recent call last):
>>>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
>>> sys.exit(main())
>>>  ^^
>>>   File 
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", line 66, 
>>> in main
>>> namespace.func(namespace)
>>>   File 
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
>>>  
>>> line 96, in dispatch
>>> namespace.action_func(config_dict, namespace)
>>>   File 
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
>>>  
>>> line 116, in install_extension
>>> ext.install_extension(namespace.source)
>>>   File 
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
>>>  
>>> line 125, in install_extension
>>> extension_name = self.install_from_dir(extension_path)
>>>  ^
>>>   File 
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
>>>  
>>> line 201, in install_from_dir
>>> save_config |= 

Re: [weewx-development] V5.0 release candidate available

2023-12-24 Thread jpb...@gmail.com
Install of 5.0.0rc1 worked just fine for me. I deleted my weewx-venv tree, 
and followed the instructions. No errors. 

On Saturday, December 23, 2023 at 12:53:46 PM UTC-8 matthew wall wrote:

> On Saturday, December 23, 2023 at 1:09:50 PM UTC-5 Vince Skahan wrote:
>
> In weewx@.service, the .conf file it uses for the exec line should say 
> %i.conf (the config file for the instance being started)
>
>
> this has been addressed in commit 33f18e8 
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/b1728548-c7e6-4567-a32f-1957f110d400n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-23 Thread matthew wall
On Saturday, December 23, 2023 at 1:09:50 PM UTC-5 Vince Skahan wrote:

In weewx@.service, the .conf file it uses for the exec line should say 
%i.conf (the config file for the instance being started)


this has been addressed in commit 33f18e8 


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/715321a9-7a75-4f43-9634-c85a2f599a50n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-23 Thread Vince Skahan
Thanks.   I can't recreate yesterday's boom but I did find one bug.

In weewx@.service, the .conf file it uses for the exec line should say 
%i.conf (the config file for the instance being started)

On Saturday, December 23, 2023 at 4:56:46 AM UTC-8 Tom Keffer wrote:

> On Fri, Dec 22, 2023 at 5:46 PM Vince Skahan  wrote:
>
>> It worked with the --config switch specified ?
>
>
> Yes. I tried macOS, Debian 12, Ubuntu 23.04, with a mix of Python 3.7 and 
> 3.11 --- all worked with the --config switch.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/bdf96067-7f6a-46a5-a274-b50cbbefc175n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-23 Thread Tom Keffer
On Fri, Dec 22, 2023 at 5:46 PM Vince Skahan  wrote:

> It worked with the --config switch specified ?


Yes. I tried macOS, Debian 12, Ubuntu 23.04, with a mix of Python 3.7 and
3.11 --- all worked with the --config switch.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEAr7uQbv_Dcvsz2UVAKGL-g352yAmJoFaFFpz8t8epvEg%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
It worked with the --config switch specified ?

If so, let me know (email is fine) and I can try to dig deeper tomorrow

On Friday, December 22, 2023 at 5:43:56 PM UTC-8 Tom Keffer wrote:

> Hmm, "weectl report run" works perfectly on my system, using Python 3.11.
>
> It's not clear from your stack trace what raised the exception. Can you 
> dig deeper?
>
> -tk
>
> On Fri, Dec 22, 2023 at 5:30 PM Vince Skahan  wrote:
>
>> I hand-edited the diff into 
>> weewx-venv/lib/python3.11/site-packages/weecfg/extension.py which worked 
>> for installing the extensions, but I get a similar message trying to run 
>> reports manually
>>
>> You might try this on a current fully patched up version to see if it 
>> works with all the updates you made after release to pypi just in case...
>>
>> (weewx-venv) vagrant@deb12:~/weewx-data$ weectl report run 
>> --config=simulator.conf
>> Using configuration file simulator.conf
>> All enabled reports will be run.
>> Generating as of last timestamp in the database.
>> Traceback (most recent call last):
>>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
>> sys.exit(main())
>>  ^^
>>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", 
>> line 66, in main
>> namespace.func(namespace)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
>>  
>> line 96, in dispatch
>> namespace.action_func(config_dict, namespace)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_cmd.py",
>>  
>> line 92, in run_reports
>> weectllib.report_actions.run_reports(config_dict,
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_actions.py",
>>  
>> line 84, in run_reports
>> engine = weewx.engine.DummyEngine(config_dict)
>>  ^
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
>> line 89, in __init__
>> self.loadServices(config_dict)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
>> line 157, in loadServices
>> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>>   ^^^
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py", 
>> line 1404, in get_object
>> module = importlib.import_module(module_name)
>>  
>>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in 
>> import_module
>> return _bootstrap._gcd_import(name[level:], package, level)
>>
>>   File "", line 1206, in _gcd_import
>>   File "", line 1178, in _find_and_load
>>   File "", line 1128, in 
>> _find_and_load_unlocked
>>   File "", line 241, in 
>> _call_with_frames_removed
>>   File "", line 1206, in _gcd_import
>>   File "", line 1178, in _find_and_load
>>   File "", line 1142, in 
>> _find_and_load_unlocked
>>
>>
>> On Friday, December 22, 2023 at 4:51:49 PM UTC-8 Tom Keffer wrote:
>>
>>> Thanks for spotting that, Vince!
>>>
>>> Fixed in commit 256cac5 
>>> 
>>> .
>>>
>>> On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan  wrote:
>>>
 Tom - your xaggs extension isn't installing.  I see the identical issue 
 with one of my custom extensions too.

 (weewx-venv) vagrant@deb12:~/adds$ weectl extension install 
 --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
 Using configuration file /home/vagrant/weewx-data/simulator.conf
 Request to install 'weewx-xaggs-master/'.
 Traceback (most recent call last):
   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
 sys.exit(main())
  ^^
   File 
 "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", line 
 66, 
 in main
 namespace.func(namespace)
   File 
 "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
  
 line 96, in dispatch
 namespace.action_func(config_dict, namespace)
   File 
 "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
  
 line 116, in install_extension
 ext.install_extension(namespace.source)
   File 
 "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
  
 line 125, in install_extension
 extension_name = self.install_from_dir(extension_path)
  ^
   File 
 "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
  
 line 201, in install_from_dir
 save_config |= self._inject_config(installer['config'], 
 extension_name)
~^^
 KeyError: 'config'


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Hmm, "weectl report run" works perfectly on my system, using Python 3.11.

It's not clear from your stack trace what raised the exception. Can you dig
deeper?

-tk

On Fri, Dec 22, 2023 at 5:30 PM Vince Skahan  wrote:

> I hand-edited the diff into
> weewx-venv/lib/python3.11/site-packages/weecfg/extension.py which worked
> for installing the extensions, but I get a similar message trying to run
> reports manually
>
> You might try this on a current fully patched up version to see if it
> works with all the updates you made after release to pypi just in case...
>
> (weewx-venv) vagrant@deb12:~/weewx-data$ weectl report run
> --config=simulator.conf
> Using configuration file simulator.conf
> All enabled reports will be run.
> Generating as of last timestamp in the database.
> Traceback (most recent call last):
>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
> sys.exit(main())
>  ^^
>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py",
> line 66, in main
> namespace.func(namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
> line 96, in dispatch
> namespace.action_func(config_dict, namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_cmd.py",
> line 92, in run_reports
> weectllib.report_actions.run_reports(config_dict,
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_actions.py",
> line 84, in run_reports
> engine = weewx.engine.DummyEngine(config_dict)
>  ^
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py",
> line 89, in __init__
> self.loadServices(config_dict)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py",
> line 157, in loadServices
> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
>   ^^^
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py",
> line 1404, in get_object
> module = importlib.import_module(module_name)
>  
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
>
>   File "", line 1206, in _gcd_import
>   File "", line 1178, in _find_and_load
>   File "", line 1128, in
> _find_and_load_unlocked
>   File "", line 241, in
> _call_with_frames_removed
>   File "", line 1206, in _gcd_import
>   File "", line 1178, in _find_and_load
>   File "", line 1142, in
> _find_and_load_unlocked
>
>
> On Friday, December 22, 2023 at 4:51:49 PM UTC-8 Tom Keffer wrote:
>
>> Thanks for spotting that, Vince!
>>
>> Fixed in commit 256cac5
>> 
>> .
>>
>> On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan  wrote:
>>
>>> Tom - your xaggs extension isn't installing.  I see the identical issue
>>> with one of my custom extensions too.
>>>
>>> (weewx-venv) vagrant@deb12:~/adds$ weectl extension install
>>> --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
>>> Using configuration file /home/vagrant/weewx-data/simulator.conf
>>> Request to install 'weewx-xaggs-master/'.
>>> Traceback (most recent call last):
>>>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
>>> sys.exit(main())
>>>  ^^
>>>   File
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", line 66,
>>> in main
>>> namespace.func(namespace)
>>>   File
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
>>> line 96, in dispatch
>>> namespace.action_func(config_dict, namespace)
>>>   File
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
>>> line 116, in install_extension
>>> ext.install_extension(namespace.source)
>>>   File
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
>>> line 125, in install_extension
>>> extension_name = self.install_from_dir(extension_path)
>>>  ^
>>>   File
>>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
>>> line 201, in install_from_dir
>>> save_config |= self._inject_config(installer['config'],
>>> extension_name)
>>>~^^
>>> KeyError: 'config'
>>>
>>> (weewx-venv) vagrant@deb12:~/adds$ pip3 list
>>> PackageVersion
>>> -- --
>>> certifi2023.11.17
>>> charset-normalizer 3.3.2
>>> configobj  5.0.8
>>> CT33.3.3
>>> ephem  4.1.5
>>> idna   3.6
>>> paho-mqtt  1.6.1
>>> Pillow 10.1.0
>>> pip23.0.1
>>> pyephem

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg Troxel
Tom Keffer  writes:

> Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't
> smart enough to install it first before attempting the others. So, you get
> the same error.

Is it the case that new enough pip installs it?   I just did

  $ virtualenv-3.11  FOO
  created virtual environment CPython3.11.7.final.0-64 in 451ms
creator CPython3Posix(dest=/home/gdt/FOO, clear=False, no_vcs_ignore=False, 
global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, 
wheel=bundle, via=copy, app_data_dir=/home/gdt/.local/share/virtualenv)
  added seed packages: pip==23.3.1, setuptools==69.0.2, wheel==0.41.3
activators 
BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
  $ virtualenv-3.11 --version
  virtualenv 20.25.0 from 
/usr/pkg/lib/python3.11/site-packages/virtualenv/__init__.py

so it may be that people with older virtualenv are having trouble?

> I'm reluctant to create yet another step in the install process.

I'd say you aren't creating it, you are describing something that the
python world thinks is a feature!

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/rmi8r5litp9.fsf%40s1.lexort.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
I hand-edited the diff into 
weewx-venv/lib/python3.11/site-packages/weecfg/extension.py which worked 
for installing the extensions, but I get a similar message trying to run 
reports manually

You might try this on a current fully patched up version to see if it works 
with all the updates you made after release to pypi just in case...

(weewx-venv) vagrant@deb12:~/weewx-data$ weectl report run 
--config=simulator.conf
Using configuration file simulator.conf
All enabled reports will be run.
Generating as of last timestamp in the database.
Traceback (most recent call last):
  File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
sys.exit(main())
 ^^
  File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", 
line 66, in main
namespace.func(namespace)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py", 
line 96, in dispatch
namespace.action_func(config_dict, namespace)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_cmd.py",
 
line 92, in run_reports
weectllib.report_actions.run_reports(config_dict,
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/report_actions.py",
 
line 84, in run_reports
engine = weewx.engine.DummyEngine(config_dict)
 ^
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
line 89, in __init__
self.loadServices(config_dict)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", 
line 157, in loadServices
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
  ^^^
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py", 
line 1404, in get_object
module = importlib.import_module(module_name)
 
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in 
import_module
return _bootstrap._gcd_import(name[level:], package, level)
   
  File "", line 1206, in _gcd_import
  File "", line 1178, in _find_and_load
  File "", line 1128, in 
_find_and_load_unlocked
  File "", line 241, in 
_call_with_frames_removed
  File "", line 1206, in _gcd_import
  File "", line 1178, in _find_and_load
  File "", line 1142, in 
_find_and_load_unlocked


On Friday, December 22, 2023 at 4:51:49 PM UTC-8 Tom Keffer wrote:

> Thanks for spotting that, Vince!
>
> Fixed in commit 256cac5 
> 
> .
>
> On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan  wrote:
>
>> Tom - your xaggs extension isn't installing.  I see the identical issue 
>> with one of my custom extensions too.
>>
>> (weewx-venv) vagrant@deb12:~/adds$ weectl extension install 
>> --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
>> Using configuration file /home/vagrant/weewx-data/simulator.conf
>> Request to install 'weewx-xaggs-master/'.
>> Traceback (most recent call last):
>>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
>> sys.exit(main())
>>  ^^
>>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", 
>> line 66, in main
>> namespace.func(namespace)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
>>  
>> line 96, in dispatch
>> namespace.action_func(config_dict, namespace)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
>>  
>> line 116, in install_extension
>> ext.install_extension(namespace.source)
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
>> line 125, in install_extension
>> extension_name = self.install_from_dir(extension_path)
>>  ^
>>   File 
>> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
>> line 201, in install_from_dir
>> save_config |= self._inject_config(installer['config'], 
>> extension_name)
>>~^^
>> KeyError: 'config'
>>
>> (weewx-venv) vagrant@deb12:~/adds$ pip3 list
>> PackageVersion
>> -- --
>> certifi2023.11.17
>> charset-normalizer 3.3.2
>> configobj  5.0.8
>> CT33.3.3
>> ephem  4.1.5
>> idna   3.6
>> paho-mqtt  1.6.1
>> Pillow 10.1.0
>> pip23.0.1
>> pyephem9.99
>> PyMySQL1.1.0
>> pyserial   3.5
>> pyusb  1.2.1
>> requests   2.31.0
>> setuptools 66.1.1
>> six1.16.0
>> urllib32.1.0
>> weewx  5.0.0rc1
>> wheel  0.42.0
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Thanks for spotting that, Vince!

Fixed in commit 256cac5

.

On Fri, Dec 22, 2023 at 4:31 PM Vince Skahan  wrote:

> Tom - your xaggs extension isn't installing.  I see the identical issue
> with one of my custom extensions too.
>
> (weewx-venv) vagrant@deb12:~/adds$ weectl extension install
> --config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
> Using configuration file /home/vagrant/weewx-data/simulator.conf
> Request to install 'weewx-xaggs-master/'.
> Traceback (most recent call last):
>   File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
> sys.exit(main())
>  ^^
>   File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py",
> line 66, in main
> namespace.func(namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py",
> line 96, in dispatch
> namespace.action_func(config_dict, namespace)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
> line 116, in install_extension
> ext.install_extension(namespace.source)
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
> line 125, in install_extension
> extension_name = self.install_from_dir(extension_path)
>  ^
>   File
> "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py",
> line 201, in install_from_dir
> save_config |= self._inject_config(installer['config'], extension_name)
>~^^
> KeyError: 'config'
>
> (weewx-venv) vagrant@deb12:~/adds$ pip3 list
> PackageVersion
> -- --
> certifi2023.11.17
> charset-normalizer 3.3.2
> configobj  5.0.8
> CT33.3.3
> ephem  4.1.5
> idna   3.6
> paho-mqtt  1.6.1
> Pillow 10.1.0
> pip23.0.1
> pyephem9.99
> PyMySQL1.1.0
> pyserial   3.5
> pyusb  1.2.1
> requests   2.31.0
> setuptools 66.1.1
> six1.16.0
> urllib32.1.0
> weewx  5.0.0rc1
> wheel  0.42.0
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/73f123da-7608-46d5-add0-a2b9b870d1ffn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zECTEGMYxhtD3yJJ5X00d_1ZBPWPj32%3DON3mtrmyBdXovw%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
Tom - your xaggs extension isn't installing.  I see the identical issue 
with one of my custom extensions too.

(weewx-venv) vagrant@deb12:~/adds$ weectl extension install 
--config=/home/vagrant/weewx-data/simulator.conf weewx-xaggs-master/
Using configuration file /home/vagrant/weewx-data/simulator.conf
Request to install 'weewx-xaggs-master/'.
Traceback (most recent call last):
  File "/home/vagrant/weewx-venv/bin/weectl", line 8, in 
sys.exit(main())
 ^^
  File "/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectl.py", 
line 66, in main
namespace.func(namespace)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py", 
line 96, in dispatch
namespace.action_func(config_dict, namespace)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py",
 
line 116, in install_extension
ext.install_extension(namespace.source)
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
line 125, in install_extension
extension_name = self.install_from_dir(extension_path)
 ^
  File 
"/home/vagrant/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
line 201, in install_from_dir
save_config |= self._inject_config(installer['config'], extension_name)
   ~^^
KeyError: 'config'

(weewx-venv) vagrant@deb12:~/adds$ pip3 list
PackageVersion
-- --
certifi2023.11.17
charset-normalizer 3.3.2
configobj  5.0.8
CT33.3.3
ephem  4.1.5
idna   3.6
paho-mqtt  1.6.1
Pillow 10.1.0
pip23.0.1
pyephem9.99
PyMySQL1.1.0
pyserial   3.5
pyusb  1.2.1
requests   2.31.0
setuptools 66.1.1
six1.16.0
urllib32.1.0
weewx  5.0.0rc1
wheel  0.42.0


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/73f123da-7608-46d5-add0-a2b9b870d1ffn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
After a bit more investigation, it appears that some systems install
python3-wheel when they install python3-pip, some don't. Hence the
confusing results.


On Fri, Dec 22, 2023 at 2:33 PM Tom Keffer  wrote:

> Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't
> smart enough to install it first before attempting the others. So, you get
> the same error. I'm reluctant to create yet another step in the install
> process.
>
>
>
> On Fri, Dec 22, 2023 at 2:24 PM Greg  wrote:
>
>> Yes having install wheel first removes all my errors. I think it should
>> be installed by default to save any questions from people like me who don't
>> really know how this all works and what depends on what. :)
>>
>> Because I was already running the beta V5 I just renamed my venv and
>> recreated it so my weewx data would work and also if it didn't work I could
>> rename it back and all would be good. (in theory) I have installed in
>> /opt/weewx
>>
>> All looks good so far.
>>
>> https://weather.ubeaut.work/
>>
>> Thanks for the support.
>>
>>
>> On Saturday 23 December 2023 at 06:53:11 UTC+11 Vince Skahan wrote:
>>
>>> Works for me on deb12 vagrant and pi5 deb12 based raspios
>>>
>>> On Friday, December 22, 2023 at 11:42:48 AM UTC-8 Tom Keffer wrote:
>>>
 I was able to install both paho-mqtt and ephem (NB: these days, it's
 just "ephem", not "pyephem") without warnings on Debian 12 by installing
 "wheel" first:

 *python3 -m pip install wheel*
 *python3 -m pip install ephem*
 *python3 -m pip install paho-mqtt*

 Does this work for others? If so, we can put "wheel" in the
 requirements list for pip installs.

 -tk


 On Fri, Dec 22, 2023 at 11:19 AM Greg  wrote:

> Oops...I meant python version is 3.11 not pip. Pip is at the latest
> version.
> So I guess I install this way  pip 23.1 will enforce this behaviour
> change. A possible replacement is to enable the '--use-pep517'?
> I am running debian 12 by the way. Anyone else seen these messages?
>
> On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:
>
>> Thanks, all! Keep them coming.
>>
>> 1. The syslog comment is annoying, but harmless. We've changed the
>> weewx unit service file to specify StandardError of journal+console. 
>> Commit
>> 940eff4
>> 
>> .
>>
>> 2. Missing Vantage records. I've noticed variants of this problem
>> when it takes a long time to download records from the console. My best 
>> is
>> that while the console is busy emitting historic records, it neglects to
>> create new ones. Hence, you miss a few records. I don't think it has
>> anything to do with V5, as the driver code hasn't changed much.
>>
>> 3. Greg, I would guess that your problems are due to using a very old
>> version of pip. You're at 3.11, but the current version is 23.3. See the
>> wiki article *Troubleshooting pip installs
>> * and see
>> if that helps.
>>
>> -tk
>>
>> On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:
>>
>>> I installed weewx using the pip method and followed the instructions.
>>> I did a pip list before installing to get the list of what other
>>> dependencies I am using.
>>>  When I installed paho-mqtt and pyephem I got these errors:
>>>
>>> Installing collected packages: paho-mqtt
>>>   DEPRECATION: paho-mqtt is being installed using the legacy
>>> 'setup.py install' method, because it does not have a 'pyproject.toml' 
>>> and
>>> the 'wheel' package is not installed. pip 23.1 will enforce this 
>>> behaviour
>>> change. A possible replacement is to enable the '--use-pep517' option.
>>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>>   Running setup.py install for paho-mqtt ... done
>>> Successfully installed paho-mqtt-1.6.1
>>>
>>> /opt/weewx$ python3 -m pip install pyephem
>>> Collecting pyephem
>>>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>>>   Preparing metadata (setup.py) ... done
>>> Requirement already satisfied: ephem in
>>> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
>>> Installing collected packages: pyephem
>>>   DEPRECATION: pyephem is being installed using the legacy 'setup.py
>>> install' method, because it does not have a 'pyproject.toml' and the
>>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
>>> change. A possible replacement is to enable the '--use-pep517' option.
>>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>>
>>> I am currently running it in simulation mode just to see what
>>> happens.
>>> On my real system I have installed all my environment and data under

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Hmmm, that didn't work. If you list "wheel" as a dependency, pip isn't
smart enough to install it first before attempting the others. So, you get
the same error. I'm reluctant to create yet another step in the install
process.



On Fri, Dec 22, 2023 at 2:24 PM Greg  wrote:

> Yes having install wheel first removes all my errors. I think it should be
> installed by default to save any questions from people like me who don't
> really know how this all works and what depends on what. :)
>
> Because I was already running the beta V5 I just renamed my venv and
> recreated it so my weewx data would work and also if it didn't work I could
> rename it back and all would be good. (in theory) I have installed in
> /opt/weewx
>
> All looks good so far.
>
> https://weather.ubeaut.work/
>
> Thanks for the support.
>
>
> On Saturday 23 December 2023 at 06:53:11 UTC+11 Vince Skahan wrote:
>
>> Works for me on deb12 vagrant and pi5 deb12 based raspios
>>
>> On Friday, December 22, 2023 at 11:42:48 AM UTC-8 Tom Keffer wrote:
>>
>>> I was able to install both paho-mqtt and ephem (NB: these days, it's
>>> just "ephem", not "pyephem") without warnings on Debian 12 by installing
>>> "wheel" first:
>>>
>>> *python3 -m pip install wheel*
>>> *python3 -m pip install ephem*
>>> *python3 -m pip install paho-mqtt*
>>>
>>> Does this work for others? If so, we can put "wheel" in the requirements
>>> list for pip installs.
>>>
>>> -tk
>>>
>>>
>>> On Fri, Dec 22, 2023 at 11:19 AM Greg  wrote:
>>>
 Oops...I meant python version is 3.11 not pip. Pip is at the latest
 version.
 So I guess I install this way  pip 23.1 will enforce this behaviour
 change. A possible replacement is to enable the '--use-pep517'?
 I am running debian 12 by the way. Anyone else seen these messages?

 On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:

> Thanks, all! Keep them coming.
>
> 1. The syslog comment is annoying, but harmless. We've changed the
> weewx unit service file to specify StandardError of journal+console. 
> Commit
> 940eff4
> 
> .
>
> 2. Missing Vantage records. I've noticed variants of this problem when
> it takes a long time to download records from the console. My best is that
> while the console is busy emitting historic records, it neglects to create
> new ones. Hence, you miss a few records. I don't think it has anything to
> do with V5, as the driver code hasn't changed much.
>
> 3. Greg, I would guess that your problems are due to using a very old
> version of pip. You're at 3.11, but the current version is 23.3. See the
> wiki article *Troubleshooting pip installs
> * and see if
> that helps.
>
> -tk
>
> On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:
>
>> I installed weewx using the pip method and followed the instructions.
>> I did a pip list before installing to get the list of what other
>> dependencies I am using.
>>  When I installed paho-mqtt and pyephem I got these errors:
>>
>> Installing collected packages: paho-mqtt
>>   DEPRECATION: paho-mqtt is being installed using the legacy
>> 'setup.py install' method, because it does not have a 'pyproject.toml' 
>> and
>> the 'wheel' package is not installed. pip 23.1 will enforce this 
>> behaviour
>> change. A possible replacement is to enable the '--use-pep517' option.
>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>   Running setup.py install for paho-mqtt ... done
>> Successfully installed paho-mqtt-1.6.1
>>
>> /opt/weewx$ python3 -m pip install pyephem
>> Collecting pyephem
>>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>>   Preparing metadata (setup.py) ... done
>> Requirement already satisfied: ephem in
>> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
>> Installing collected packages: pyephem
>>   DEPRECATION: pyephem is being installed using the legacy 'setup.py
>> install' method, because it does not have a 'pyproject.toml' and the
>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
>> change. A possible replacement is to enable the '--use-pep517' option.
>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>
>> I am currently running it in simulation mode just to see what happens.
>> On my real system I have installed all my environment and data under
>> /opt
>> eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data
>>
>> Other than that it seems to run.
>>
>> My question is should I run the install of those packages above that
>> had the error with the --use-pep517 option? I read the github
>> information that was on the link contained in the error message but it 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
Yes having install wheel first removes all my errors. I think it should be 
installed by default to save any questions from people like me who don't 
really know how this all works and what depends on what. :)

Because I was already running the beta V5 I just renamed my venv and 
recreated it so my weewx data would work and also if it didn't work I could 
rename it back and all would be good. (in theory) I have installed in 
/opt/weewx

All looks good so far.

https://weather.ubeaut.work/

Thanks for the support.


On Saturday 23 December 2023 at 06:53:11 UTC+11 Vince Skahan wrote:

> Works for me on deb12 vagrant and pi5 deb12 based raspios
>
> On Friday, December 22, 2023 at 11:42:48 AM UTC-8 Tom Keffer wrote:
>
>> I was able to install both paho-mqtt and ephem (NB: these days, it's just 
>> "ephem", not "pyephem") without warnings on Debian 12 by installing "wheel" 
>> first:
>>
>> *python3 -m pip install wheel*
>> *python3 -m pip install ephem*
>> *python3 -m pip install paho-mqtt*
>>
>> Does this work for others? If so, we can put "wheel" in the requirements 
>> list for pip installs.
>>
>> -tk
>>
>>
>> On Fri, Dec 22, 2023 at 11:19 AM Greg  wrote:
>>
>>> Oops...I meant python version is 3.11 not pip. Pip is at the latest 
>>> version.
>>> So I guess I install this way  pip 23.1 will enforce this behaviour 
>>> change. A possible replacement is to enable the '--use-pep517'?
>>> I am running debian 12 by the way. Anyone else seen these messages?
>>>
>>> On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:
>>>
 Thanks, all! Keep them coming. 

 1. The syslog comment is annoying, but harmless. We've changed the 
 weewx unit service file to specify StandardError of journal+console. 
 Commit 
 940eff4 
 
 .

 2. Missing Vantage records. I've noticed variants of this problem when 
 it takes a long time to download records from the console. My best is that 
 while the console is busy emitting historic records, it neglects to create 
 new ones. Hence, you miss a few records. I don't think it has anything to 
 do with V5, as the driver code hasn't changed much.

 3. Greg, I would guess that your problems are due to using a very old 
 version of pip. You're at 3.11, but the current version is 23.3. See the 
 wiki article *Troubleshooting pip installs 
 * and see if 
 that helps.

 -tk

 On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:

> I installed weewx using the pip method and followed the instructions.
> I did a pip list before installing to get the list of what other 
> dependencies I am using.
>  When I installed paho-mqtt and pyephem I got these errors:
>
> Installing collected packages: paho-mqtt
>   DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py 
> install' method, because it does not have a 'pyproject.toml' and the 
> 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
> change. A possible replacement is to enable the '--use-pep517' option. 
> Discussion can be found at https://github.com/pypa/pip/issues/8559
>   Running setup.py install for paho-mqtt ... done
> Successfully installed paho-mqtt-1.6.1
>
> /opt/weewx$ python3 -m pip install pyephem
> Collecting pyephem
>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>   Preparing metadata (setup.py) ... done
> Requirement already satisfied: ephem in 
> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
> Installing collected packages: pyephem
>   DEPRECATION: pyephem is being installed using the legacy 'setup.py 
> install' method, because it does not have a 'pyproject.toml' and the 
> 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
> change. A possible replacement is to enable the '--use-pep517' option. 
> Discussion can be found at https://github.com/pypa/pip/issues/8559
>
> I am currently running it in simulation mode just to see what happens.
> On my real system I have installed all my environment and data under 
> /opt
> eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data
>
> Other than that it seems to run.
>
> My question is should I run the install of those packages above that 
> had the error with the --use-pep517 option? I read the github 
> information that was on the link contained in the error message but it 
> made 
> no sense to me.
>
> My pip version is: 3.11
>
>
> On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:
>
>> Guten Morgen,
>>
>> Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx 
>> V5 beteiligt waren!
>>
>> Mein Installation erfolgte per "apt upgrade". auf einem 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
Works for me on deb12 vagrant and pi5 deb12 based raspios

On Friday, December 22, 2023 at 11:42:48 AM UTC-8 Tom Keffer wrote:

> I was able to install both paho-mqtt and ephem (NB: these days, it's just 
> "ephem", not "pyephem") without warnings on Debian 12 by installing "wheel" 
> first:
>
> *python3 -m pip install wheel*
> *python3 -m pip install ephem*
> *python3 -m pip install paho-mqtt*
>
> Does this work for others? If so, we can put "wheel" in the requirements 
> list for pip installs.
>
> -tk
>
>
> On Fri, Dec 22, 2023 at 11:19 AM Greg  wrote:
>
>> Oops...I meant python version is 3.11 not pip. Pip is at the latest 
>> version.
>> So I guess I install this way  pip 23.1 will enforce this behaviour 
>> change. A possible replacement is to enable the '--use-pep517'?
>> I am running debian 12 by the way. Anyone else seen these messages?
>>
>> On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:
>>
>>> Thanks, all! Keep them coming. 
>>>
>>> 1. The syslog comment is annoying, but harmless. We've changed the weewx 
>>> unit service file to specify StandardError of journal+console. Commit 
>>> 940eff4 
>>> 
>>> .
>>>
>>> 2. Missing Vantage records. I've noticed variants of this problem when 
>>> it takes a long time to download records from the console. My best is that 
>>> while the console is busy emitting historic records, it neglects to create 
>>> new ones. Hence, you miss a few records. I don't think it has anything to 
>>> do with V5, as the driver code hasn't changed much.
>>>
>>> 3. Greg, I would guess that your problems are due to using a very old 
>>> version of pip. You're at 3.11, but the current version is 23.3. See the 
>>> wiki article *Troubleshooting pip installs 
>>> * and see if 
>>> that helps.
>>>
>>> -tk
>>>
>>> On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:
>>>
 I installed weewx using the pip method and followed the instructions.
 I did a pip list before installing to get the list of what other 
 dependencies I am using.
  When I installed paho-mqtt and pyephem I got these errors:

 Installing collected packages: paho-mqtt
   DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py 
 install' method, because it does not have a 'pyproject.toml' and the 
 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
 change. A possible replacement is to enable the '--use-pep517' option. 
 Discussion can be found at https://github.com/pypa/pip/issues/8559
   Running setup.py install for paho-mqtt ... done
 Successfully installed paho-mqtt-1.6.1

 /opt/weewx$ python3 -m pip install pyephem
 Collecting pyephem
   Using cached pyephem-9.99.tar.gz (1.4 kB)
   Preparing metadata (setup.py) ... done
 Requirement already satisfied: ephem in 
 ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
 Installing collected packages: pyephem
   DEPRECATION: pyephem is being installed using the legacy 'setup.py 
 install' method, because it does not have a 'pyproject.toml' and the 
 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
 change. A possible replacement is to enable the '--use-pep517' option. 
 Discussion can be found at https://github.com/pypa/pip/issues/8559

 I am currently running it in simulation mode just to see what happens.
 On my real system I have installed all my environment and data under 
 /opt
 eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data

 Other than that it seems to run.

 My question is should I run the install of those packages above that 
 had the error with the --use-pep517 option? I read the github 
 information that was on the link contained in the error message but it 
 made 
 no sense to me.

 My pip version is: 3.11


 On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:

> Guten Morgen,
>
> Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx 
> V5 beteiligt waren!
>
> Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 
> 1TB HDD
>
> Die folgenden Pakete werden aktualisiert (Upgrade):
>   weewx
> 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht 
> aktualisiert.
> Es müssen 2.278 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
> Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all 
> 5.0.0rc1-1 [2.278 kB]
> Es wurden 2.278 kB in 2 s geholt (948 kB/s).
> Preconfiguring packages ...
> (Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit 
> installiert.)
> Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
> Entpacken von 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
I was able to install both paho-mqtt and ephem (NB: these days, it's just
"ephem", not "pyephem") without warnings on Debian 12 by installing "wheel"
first:

*python3 -m pip install wheel*
*python3 -m pip install ephem*
*python3 -m pip install paho-mqtt*

Does this work for others? If so, we can put "wheel" in the requirements
list for pip installs.

-tk


On Fri, Dec 22, 2023 at 11:19 AM Greg  wrote:

> Oops...I meant python version is 3.11 not pip. Pip is at the latest
> version.
> So I guess I install this way  pip 23.1 will enforce this behaviour
> change. A possible replacement is to enable the '--use-pep517'?
> I am running debian 12 by the way. Anyone else seen these messages?
>
> On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:
>
>> Thanks, all! Keep them coming.
>>
>> 1. The syslog comment is annoying, but harmless. We've changed the weewx
>> unit service file to specify StandardError of journal+console. Commit
>> 940eff4
>> 
>> .
>>
>> 2. Missing Vantage records. I've noticed variants of this problem when it
>> takes a long time to download records from the console. My best is that
>> while the console is busy emitting historic records, it neglects to create
>> new ones. Hence, you miss a few records. I don't think it has anything to
>> do with V5, as the driver code hasn't changed much.
>>
>> 3. Greg, I would guess that your problems are due to using a very old
>> version of pip. You're at 3.11, but the current version is 23.3. See the
>> wiki article *Troubleshooting pip installs
>> * and see if
>> that helps.
>>
>> -tk
>>
>> On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:
>>
>>> I installed weewx using the pip method and followed the instructions.
>>> I did a pip list before installing to get the list of what other
>>> dependencies I am using.
>>>  When I installed paho-mqtt and pyephem I got these errors:
>>>
>>> Installing collected packages: paho-mqtt
>>>   DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py
>>> install' method, because it does not have a 'pyproject.toml' and the
>>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
>>> change. A possible replacement is to enable the '--use-pep517' option.
>>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>>   Running setup.py install for paho-mqtt ... done
>>> Successfully installed paho-mqtt-1.6.1
>>>
>>> /opt/weewx$ python3 -m pip install pyephem
>>> Collecting pyephem
>>>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>>>   Preparing metadata (setup.py) ... done
>>> Requirement already satisfied: ephem in
>>> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
>>> Installing collected packages: pyephem
>>>   DEPRECATION: pyephem is being installed using the legacy 'setup.py
>>> install' method, because it does not have a 'pyproject.toml' and the
>>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
>>> change. A possible replacement is to enable the '--use-pep517' option.
>>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>>
>>> I am currently running it in simulation mode just to see what happens.
>>> On my real system I have installed all my environment and data under /opt
>>> eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data
>>>
>>> Other than that it seems to run.
>>>
>>> My question is should I run the install of those packages above that had
>>> the error with the --use-pep517 option? I read the github information
>>> that was on the link contained in the error message but it made no sense to
>>> me.
>>>
>>> My pip version is: 3.11
>>>
>>>
>>> On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:
>>>
 Guten Morgen,

 Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx
 V5 beteiligt waren!

 Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 1TB
 HDD

 Die folgenden Pakete werden aktualisiert (Upgrade):
   weewx
 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht
 aktualisiert.
 Es müssen 2.278 kB an Archiven heruntergeladen werden.
 Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
 Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all
 5.0.0rc1-1 [2.278 kB]
 Es wurden 2.278 kB in 2 s geholt (948 kB/s).
 Preconfiguring packages ...
 (Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit
 installiert.)
 Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
 Entpacken von weewx (5.0.0rc1-1) über (5.0.0b17-4) ...
 weewx (5.0.0rc1-1) wird eingerichtet ...
 Neue Version der Konfigurationsdatei /etc/weewx/skins/Ftp/skin.conf
 wird installiert ...
 Neue Version der Konfigurationsdatei /etc/weewx/skins/Mobile/skin.conf
 wird installiert ...
 Neue 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
Oops...I meant python version is 3.11 not pip. Pip is at the latest version.
So I guess I install this way  pip 23.1 will enforce this behaviour change. 
A possible replacement is to enable the '--use-pep517'?
I am running debian 12 by the way. Anyone else seen these messages?

On Saturday 23 December 2023 at 00:09:15 UTC+11 Tom Keffer wrote:

> Thanks, all! Keep them coming. 
>
> 1. The syslog comment is annoying, but harmless. We've changed the weewx 
> unit service file to specify StandardError of journal+console. Commit 
> 940eff4 
> 
> .
>
> 2. Missing Vantage records. I've noticed variants of this problem when it 
> takes a long time to download records from the console. My best is that 
> while the console is busy emitting historic records, it neglects to create 
> new ones. Hence, you miss a few records. I don't think it has anything to 
> do with V5, as the driver code hasn't changed much.
>
> 3. Greg, I would guess that your problems are due to using a very old 
> version of pip. You're at 3.11, but the current version is 23.3. See the 
> wiki article *Troubleshooting pip installs 
> * and see if 
> that helps.
>
> -tk
>
> On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:
>
>> I installed weewx using the pip method and followed the instructions.
>> I did a pip list before installing to get the list of what other 
>> dependencies I am using.
>>  When I installed paho-mqtt and pyephem I got these errors:
>>
>> Installing collected packages: paho-mqtt
>>   DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py 
>> install' method, because it does not have a 'pyproject.toml' and the 
>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
>> change. A possible replacement is to enable the '--use-pep517' option. 
>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>   Running setup.py install for paho-mqtt ... done
>> Successfully installed paho-mqtt-1.6.1
>>
>> /opt/weewx$ python3 -m pip install pyephem
>> Collecting pyephem
>>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>>   Preparing metadata (setup.py) ... done
>> Requirement already satisfied: ephem in 
>> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
>> Installing collected packages: pyephem
>>   DEPRECATION: pyephem is being installed using the legacy 'setup.py 
>> install' method, because it does not have a 'pyproject.toml' and the 
>> 'wheel' package is not installed. pip 23.1 will enforce this behaviour 
>> change. A possible replacement is to enable the '--use-pep517' option. 
>> Discussion can be found at https://github.com/pypa/pip/issues/8559
>>
>> I am currently running it in simulation mode just to see what happens.
>> On my real system I have installed all my environment and data under /opt
>> eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data
>>
>> Other than that it seems to run.
>>
>> My question is should I run the install of those packages above that had 
>> the error with the --use-pep517 option? I read the github information 
>> that was on the link contained in the error message but it made no sense to 
>> me.
>>
>> My pip version is: 3.11
>>
>>
>> On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:
>>
>>> Guten Morgen,
>>>
>>> Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx V5 
>>> beteiligt waren!
>>>
>>> Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 1TB 
>>> HDD
>>>
>>> Die folgenden Pakete werden aktualisiert (Upgrade):
>>>   weewx
>>> 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht 
>>> aktualisiert.
>>> Es müssen 2.278 kB an Archiven heruntergeladen werden.
>>> Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
>>> Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all 
>>> 5.0.0rc1-1 [2.278 kB]
>>> Es wurden 2.278 kB in 2 s geholt (948 kB/s).
>>> Preconfiguring packages ...
>>> (Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit 
>>> installiert.)
>>> Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
>>> Entpacken von weewx (5.0.0rc1-1) über (5.0.0b17-4) ...
>>> weewx (5.0.0rc1-1) wird eingerichtet ...
>>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Ftp/skin.conf wird 
>>> installiert ...
>>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Mobile/skin.conf 
>>> wird installiert ...
>>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Rsync/skin.conf 
>>> wird installiert ...
>>>
>>> Konfigurationsdatei »/etc/weewx/skins/Seasons/skin.conf«
>>>  ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
>>>  ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
>>>Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
>>> Y oder I : Die Version des Paket-Betreuers installieren
>>> N oder O : Die momentan installierte Version 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Claudio
does it work on Raspberry 5 and Debian version: 12 (bookworm)?
Claudio
Il giorno venerdì 22 dicembre 2023 alle 19:12:47 UTC+1 Vince Skahan ha 
scritto:

> I set up a couple instances via weewx-multi following 
> https://github.com/weewx/weewx/wiki/weewx-multi and it looks like the 
> generated weewx@.service file needs a little tweak.
>
> My pip installation generated a weewx@.service file that had ExecStart 
> pointing to weewx.conf, but it should point to %i.conf so the instance name 
> is used.  After making that change multi works just amazingly well.  So 
> easy.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/29bf6a31-9771-45df-9eec-6a7c448c9b8fn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
I set up a couple instances via weewx-multi 
following https://github.com/weewx/weewx/wiki/weewx-multi and it looks like 
the generated weewx@.service file needs a little tweak.

My pip installation generated a weewx@.service file that had ExecStart 
pointing to weewx.conf, but it should point to %i.conf so the instance name 
is used.  After making that change multi works just amazingly well.  So 
easy.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/70ff0050-abcb-4b2c-b93c-135fa69ee418n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Vince Skahan
On Friday, December 22, 2023 at 5:09:15 AM UTC-8 Tom Keffer wrote:

3. Greg, I would guess that your problems are due to using a very old 
version of pip. You're at 3.11, but the current version is 23.3. See the 
wiki article *Troubleshooting pip installs 
* and see if that 
helps.

On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:

I installed weewx using the pip method and followed the instructions.
I did a pip list before installing to get the list of what other 
dependencies I am using.
 When I installed paho-mqtt and pyephem I got these errors:

Installing collected packages: paho-mqtt
  DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py 
install' method, because it does not have a 'pyproject.toml' and the 
'wheel' package is not installed. pip 23.1 will enforce this behaviour 
change. A possible replacement is to enable the '--use-pep517' option. 
Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for paho-mqtt ... done
Successfully installed paho-mqtt-1.6.1 

 

My question is should I run the install of those packages above that had 
the error with the --use-pep517 option? I read the github information that 
was on the link contained in the error message but it made no sense to me.


I see these too on debian12 with pip 23.0.1 for those two packages...

   - paho-mqtt has an open issue on this but they seem to be thrashing 
   among the devs a bit working it 
   - https://github.com/eclipse/paho.mqtt.python/issues/706
   - I couldn't find an issue on pyephem's github so I opened one there 
   - https://github.com/brandon-rhodes/pyephem/issues/268

The warnings do go away if you add the switch ala:

(weewx-venv) vagrant@deb12:~$ pip install --use-pep517 paho-mqtt
Collecting paho-mqtt
  Using cached paho-mqtt-1.6.1.tar.gz (99 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: paho-mqtt
  Building wheel for paho-mqtt (pyproject.toml) ... done
  Created wheel for paho-mqtt: filename=paho_mqtt-1.6.1-py3-none-any.whl 
size=62120 
sha256=f329e400c6f3932151a07b46b5f098cd025392b454e94d874d48d7cc6f2c2d91
  Stored in directory: 
/home/vagrant/.cache/pip/wheels/29/ea/a5/ba9a63aaf4cd4e16e8a87ee31fb4d11b04ff5e1735d312619a
Successfully built paho-mqtt
Installing collected packages: paho-mqtt
Successfully installed paho-mqtt-1.6.1

 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/806b699b-fc48-43eb-8df1-3e7aacc7b52fn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Can confirm that worked,
Thanks,
Ian

On Friday, December 22, 2023 at 4:27:17 PM UTC Steeple Ian wrote:

> Thanks Matthew, I have a fork of gw1000 so I can do it directly from there.
>
> Ian
>
> On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote:
>
>> I guess the second last line is the key one. Being trying to dig my way 
>> out of this one without success. I never had a problem with any of the 
>> other recent builds of version 5.
>>
>> Any help would be appreciated,
>>
>>
>> hi ian,
>>
>> we just discovered this as well.  the 'StrictVersion' parser does not 
>> handle 'rc' correctly.  here are some details:
>>
>>  https://peps.python.org/pep-0386/
>>
>> as a workaround, you can extract the gw1000 tarball/zip, modify the 
>> install.py, then use 'weectl extension' to load from the directory instead 
>> of directly from the url.
>>
>> in install.py, replace the StrictVersion conditional at line 382 with a 
>> simple "if False:"
>>
>> m
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/e8df6e2c-6f80-4419-8029-9c95bb528a8en%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Quick question Matthew, did you mean replace the whole line?

On Friday, December 22, 2023 at 4:27:17 PM UTC Steeple Ian wrote:

> Thanks Matthew, I have a fork of gw1000 so I can do it directly from there.
>
> Ian
>
> On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote:
>
>> I guess the second last line is the key one. Being trying to dig my way 
>> out of this one without success. I never had a problem with any of the 
>> other recent builds of version 5.
>>
>> Any help would be appreciated,
>>
>>
>> hi ian,
>>
>> we just discovered this as well.  the 'StrictVersion' parser does not 
>> handle 'rc' correctly.  here are some details:
>>
>>  https://peps.python.org/pep-0386/
>>
>> as a workaround, you can extract the gw1000 tarball/zip, modify the 
>> install.py, then use 'weectl extension' to load from the directory instead 
>> of directly from the url.
>>
>> in install.py, replace the StrictVersion conditional at line 382 with a 
>> simple "if False:"
>>
>> m
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/8aee4c4a-389e-40c1-a453-68d14b4d8c2an%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Thanks Matthew, I have a fork of gw1000 so I can do it directly from there.

Ian

On Friday, December 22, 2023 at 4:20:36 PM UTC matthew wall wrote:

> I guess the second last line is the key one. Being trying to dig my way 
> out of this one without success. I never had a problem with any of the 
> other recent builds of version 5.
>
> Any help would be appreciated,
>
>
> hi ian,
>
> we just discovered this as well.  the 'StrictVersion' parser does not 
> handle 'rc' correctly.  here are some details:
>
>  https://peps.python.org/pep-0386/
>
> as a workaround, you can extract the gw1000 tarball/zip, modify the 
> install.py, then use 'weectl extension' to load from the directory instead 
> of directly from the url.
>
> in install.py, replace the StrictVersion conditional at line 382 with a 
> simple "if False:"
>
> m
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/9f9e18b0-8fc6-4f68-850d-4745996915dbn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread matthew wall


I guess the second last line is the key one. Being trying to dig my way out 
of this one without success. I never had a problem with any of the other 
recent builds of version 5.

Any help would be appreciated,


hi ian,

we just discovered this as well.  the 'StrictVersion' parser does not 
handle 'rc' correctly.  here are some details:

 https://peps.python.org/pep-0386/

as a workaround, you can extract the gw1000 tarball/zip, modify the 
install.py, then use 'weectl extension' to load from the directory instead 
of directly from the url.

in install.py, replace the StrictVersion conditional at line 382 with a 
simple "if False:"

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/9097586a-506e-4421-ac46-254d6d2139b2n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Steeple Ian
Installed the release candidate using pip. All working fine using simulator 
driver. Then tried to install Gary's weewx-gw1000.py driver and repeatedly 
get this error: -

(weewx-venv) Ian@bookworm:~$ weectl extension install 
https://github.com/gjr80/weewx-gw1000/releases/download/v0.6.0b2/gw1000-0.6.0b2.tar.gz
Using configuration file /home/Ian/weewx-data/weewx.conf
Request to install 
'https://github.com/gjr80/weewx-gw1000/releases/download/v0.6.0b2/gw1000-0.6.0b2.tar.gz'.
Extracting from tar archive /tmp/tmpdoa3q052
Traceback (most recent call last):
  File "/home/Ian/weewx-venv/bin/weectl", line 8, in 
sys.exit(main())
 ^^
  File "/home/Ian/weewx-venv/lib/python3.11/site-packages/weectl.py", line 
66, in main
namespace.func(namespace)
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weectllib/__init__.py", 
line 96, in dispatch
namespace.action_func(config_dict, namespace)
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weectllib/extension_cmd.py", 
line 116, in install_extension
ext.install_extension(namespace.source)
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
line 114, in install_extension
extension_name = self._install_from_file(test_fd.name, 
info.get_content_subtype())

 ^
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
line 154, in _install_from_file
extension_name = self.install_from_dir(extension_dir)
 
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weecfg/extension.py", 
line 165, in install_from_dir
installer_path, installer = 
weecfg.get_extension_installer(extension_dir)

^
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/weecfg/__init__.py", 
line 738, in get_extension_installer
installer = loader()

  File "/tmp/tmpekv6izgc/gw1000/install.py", line 377, in loader
  File "/tmp/tmpekv6izgc/gw1000/install.py", line 382, in __init__
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/setuptools/_distutils/version.py",
 
line 54, in __init__
self.parse(vstring)
  File 
"/home/Ian/weewx-venv/lib/python3.11/site-packages/setuptools/_distutils/version.py",
 
line 157, in parse
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '5.0.0rc1'
(weewx-venv) Ian@bookworm:~$ 

I guess the second last line is the key one. Being trying to dig my way out 
of this one without success. I never had a problem with any of the other 
recent builds of version 5.

Any help would be appreciated,

Thanks,
Ian

On Friday, December 22, 2023 at 1:38:26 PM UTC matthew wall wrote:

> On Friday, December 22, 2023 at 8:31:47 AM UTC-5 Paul R Anderson wrote:
>
> On startup __init__.py now logs this:
> Dec 21 06:47:19 hall-9000 weewxd[4484]: INFO weewx: Adding 'user' 
> directory '/home/panders/weewx-data/bin'
>
> First time I saw it I thought wait that directory should exist, it's where 
> my extensions live, hope they're OK. Then I realized it's just adding the 
> dir to PYTHONPATH
>
>  
> addressed in commit 
> https://github.com/weewx/weewx/commit/e402cd4dee6fb9db397b224c4c05188b884c8d69
> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/18cc73e5-f691-4dd4-8043-b96e1c2d141fn%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread matthew wall
On Friday, December 22, 2023 at 8:31:47 AM UTC-5 Paul R Anderson wrote:

On startup __init__.py now logs this:
Dec 21 06:47:19 hall-9000 weewxd[4484]: INFO weewx: Adding 'user' directory 
'/home/panders/weewx-data/bin'

First time I saw it I thought wait that directory should exist, it's where 
my extensions live, hope they're OK. Then I realized it's just adding the 
dir to PYTHONPATH

 
addressed in commit https://github.com/weewx/weewx/commit/e402cd4dee6fb9db397b224c4c05188b884c8d69

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/8c48442b-5a13-44c8-bb54-67bd9de04509n%40googlegroups.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Paul R Anderson
Extremely nitpicky, this could be just me :)
On startup __init__.py now logs this:
Dec 21 06:47:19 hall-9000 weewxd[4484]: INFO weewx: Adding 'user' directory
'/home/panders/weewx-data/bin'

First time I saw it I thought wait that directory should exist, it's where
my extensions live, hope they're OK. Then I realized it's just adding the
dir to PYTHONPATH
Perhaps change  __init__.py logging line to slightly more descriptive
log.info("Adding 'user' directory '%s' to PYTHONPATH" % lib_dir)
So it produces:
Dec 22 07:52:36 hall-9000 weewxd[508]: INFO weewx: Adding 'user' directory
'/home/panders/weewx-data/bin' to PYTHONPATH
Paul

On Thu, Dec 21, 2023 at 6:07 PM Tom Keffer  wrote:

> Celebrate the solstice (coming up in 4 hours) and the start of Winter with
> a WeeWX release candidate!
>
> *Changes since b17*
> We gave up on a standalone logger and have gone back to whatever your
> system uses. This is more robust to permission problems, but may make it
> harder to get the logs back out. See the wiki article *View logs
> * for tips on how to
> convince your system to let you have a look.
>
> As always, you can add a [Logging] section to weewx.conf and set up your
> own rotating log system. See the article *WeeWX V4 and logging
> * for how to do
> this.
>
> *Pip*
>
> For pip installs, please delete your old virtual environment, then install
> from scratch by following the pip install instructions
> .
> While upgrading should work, we are particularly interested in the
> experience of a new install, including setting up a daemon and udev files.
> Make sure to follow the new instructions that use a daemon setup script.
>
>
> *Debian*
>
> For Debian package installs, modify /etc/apt/sources.list as follows:
>
> *echo "deb [arch=all] https://weewx.com/apt-test/python3 
>  buster main" | sudo tee 
> /etc/apt/sources.list.d/weewx.list*
>
> Note the "apt-test". This tells apt to look there for the beta release,
> instead of the normal repository. You may want to change it back when
> you're done.
>
>
> *Red Hat*
>
> For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo
>
> *[weewx]
> name=weewx
> baseurl=http://weewx.com/yum-test/weewx/el9 
> 
> enabled=1*
>
> Note the "yum-test". This tells yum to look there for the beta release,
> instead of the normal repository. Again, you may want to change things back
> when you're done.
>
>
> *What we're looking for*
>
> 1. We are interested in your upgrade experience. Did the installers get
> your configuration file right? Skins? Is the daemon configured correctly?
>
> 2. With this release, we have included udev rules to set the correct
> permissions for devices. Did it work? If not, did unplugging then
> replugging the device work?
>
> 3. How about logging? Is it going to your system logger? Do the labels
> look reasonable?
>
> *Thanks!*
>
> -Tom & Matt
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/CAPq0zECFSEWf9immM3fFroWU79GcYyT65ibe8w1hWd-XJ92s1g%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAOAVAeebKnQcGoori18Lokk5jwRutNvH_wbKx4wskvX-u62wSw%40mail.gmail.com.


Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Tom Keffer
Thanks, all! Keep them coming.

1. The syslog comment is annoying, but harmless. We've changed the weewx
unit service file to specify StandardError of journal+console. Commit
940eff4

.

2. Missing Vantage records. I've noticed variants of this problem when it
takes a long time to download records from the console. My best is that
while the console is busy emitting historic records, it neglects to create
new ones. Hence, you miss a few records. I don't think it has anything to
do with V5, as the driver code hasn't changed much.

3. Greg, I would guess that your problems are due to using a very old
version of pip. You're at 3.11, but the current version is 23.3. See the
wiki article *Troubleshooting pip installs
* and see if that
helps.

-tk

On Fri, Dec 22, 2023 at 12:45 AM Greg  wrote:

> I installed weewx using the pip method and followed the instructions.
> I did a pip list before installing to get the list of what other
> dependencies I am using.
>  When I installed paho-mqtt and pyephem I got these errors:
>
> Installing collected packages: paho-mqtt
>   DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py
> install' method, because it does not have a 'pyproject.toml' and the
> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
> change. A possible replacement is to enable the '--use-pep517' option.
> Discussion can be found at https://github.com/pypa/pip/issues/8559
>   Running setup.py install for paho-mqtt ... done
> Successfully installed paho-mqtt-1.6.1
>
> /opt/weewx$ python3 -m pip install pyephem
> Collecting pyephem
>   Using cached pyephem-9.99.tar.gz (1.4 kB)
>   Preparing metadata (setup.py) ... done
> Requirement already satisfied: ephem in
> ./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
> Installing collected packages: pyephem
>   DEPRECATION: pyephem is being installed using the legacy 'setup.py
> install' method, because it does not have a 'pyproject.toml' and the
> 'wheel' package is not installed. pip 23.1 will enforce this behaviour
> change. A possible replacement is to enable the '--use-pep517' option.
> Discussion can be found at https://github.com/pypa/pip/issues/8559
>
> I am currently running it in simulation mode just to see what happens.
> On my real system I have installed all my environment and data under /opt
> eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data
>
> Other than that it seems to run.
>
> My question is should I run the install of those packages above that had
> the error with the --use-pep517 option? I read the github information
> that was on the link contained in the error message but it made no sense to
> me.
>
> My pip version is: 3.11
>
>
> On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:
>
>> Guten Morgen,
>>
>> Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx V5
>> beteiligt waren!
>>
>> Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 1TB
>> HDD
>>
>> Die folgenden Pakete werden aktualisiert (Upgrade):
>>   weewx
>> 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht
>> aktualisiert.
>> Es müssen 2.278 kB an Archiven heruntergeladen werden.
>> Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
>> Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all
>> 5.0.0rc1-1 [2.278 kB]
>> Es wurden 2.278 kB in 2 s geholt (948 kB/s).
>> Preconfiguring packages ...
>> (Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit
>> installiert.)
>> Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
>> Entpacken von weewx (5.0.0rc1-1) über (5.0.0b17-4) ...
>> weewx (5.0.0rc1-1) wird eingerichtet ...
>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Ftp/skin.conf wird
>> installiert ...
>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Mobile/skin.conf
>> wird installiert ...
>> Neue Version der Konfigurationsdatei /etc/weewx/skins/Rsync/skin.conf
>> wird installiert ...
>>
>> Konfigurationsdatei »/etc/weewx/skins/Seasons/skin.conf«
>>  ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
>>  ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
>>Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
>> Y oder I : Die Version des Paket-Betreuers installieren
>> N oder O : Die momentan installierte Version beibehalten
>>D : Die Unterschiede zwischen den Versionen anzeigen
>>Z : Eine Shell starten, um die Situation zu begutachten
>>  Der Standardweg ist das Beibehalten der momentanen Version.
>> *** skin.conf (Y/I/N/O/D/Z) [Vorgabe=N] ? n
>> ...
>> Neue Version der Konfigurationsdatei /etc/weewx/weewx.conf.dist wird
>> installiert ...
>> Copying previous config file to /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
>> Saving distribution config file as /etc/weewx/weewx.conf-5.0.0rc1
>> 

Re: [weewx-development] V5.0 release candidate available

2023-12-22 Thread Greg
I installed weewx using the pip method and followed the instructions.
I did a pip list before installing to get the list of what other 
dependencies I am using.
 When I installed paho-mqtt and pyephem I got these errors:

Installing collected packages: paho-mqtt
  DEPRECATION: paho-mqtt is being installed using the legacy 'setup.py 
install' method, because it does not have a 'pyproject.toml' and the 
'wheel' package is not installed. pip 23.1 will enforce this behaviour 
change. A possible replacement is to enable the '--use-pep517' option. 
Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for paho-mqtt ... done
Successfully installed paho-mqtt-1.6.1

/opt/weewx$ python3 -m pip install pyephem
Collecting pyephem
  Using cached pyephem-9.99.tar.gz (1.4 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: ephem in 
./weewx-venv/lib/python3.11/site-packages (from pyephem) (4.1.5)
Installing collected packages: pyephem
  DEPRECATION: pyephem is being installed using the legacy 'setup.py 
install' method, because it does not have a 'pyproject.toml' and the 
'wheel' package is not installed. pip 23.1 will enforce this behaviour 
change. A possible replacement is to enable the '--use-pep517' option. 
Discussion can be found at https://github.com/pypa/pip/issues/8559

I am currently running it in simulation mode just to see what happens.
On my real system I have installed all my environment and data under /opt
eg /opt/weewx/weewx-venv and /opt/weewx/weewx-data

Other than that it seems to run.

My question is should I run the install of those packages above that had 
the error with the --use-pep517 option? I read the github information that 
was on the link contained in the error message but it made no sense to me.

My pip version is: 3.11


On Friday 22 December 2023 at 17:05:49 UTC+11 Hartmut Schweidler wrote:

> Guten Morgen,
>
> Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx V5 
> beteiligt waren!
>
> Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 1TB HDD
>
> Die folgenden Pakete werden aktualisiert (Upgrade):
>   weewx
> 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
> Es müssen 2.278 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
> Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all 
> 5.0.0rc1-1 [2.278 kB]
> Es wurden 2.278 kB in 2 s geholt (948 kB/s).
> Preconfiguring packages ...
> (Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit 
> installiert.)
> Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
> Entpacken von weewx (5.0.0rc1-1) über (5.0.0b17-4) ...
> weewx (5.0.0rc1-1) wird eingerichtet ...
> Neue Version der Konfigurationsdatei /etc/weewx/skins/Ftp/skin.conf wird 
> installiert ...
> Neue Version der Konfigurationsdatei /etc/weewx/skins/Mobile/skin.conf 
> wird installiert ...
> Neue Version der Konfigurationsdatei /etc/weewx/skins/Rsync/skin.conf wird 
> installiert ...
>
> Konfigurationsdatei »/etc/weewx/skins/Seasons/skin.conf«
>  ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
>  ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
>Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
> Y oder I : Die Version des Paket-Betreuers installieren
> N oder O : Die momentan installierte Version beibehalten
>D : Die Unterschiede zwischen den Versionen anzeigen
>Z : Eine Shell starten, um die Situation zu begutachten
>  Der Standardweg ist das Beibehalten der momentanen Version.
> *** skin.conf (Y/I/N/O/D/Z) [Vorgabe=N] ? n
> ...
> Neue Version der Konfigurationsdatei /etc/weewx/weewx.conf.dist wird 
> installiert ...
> Copying previous config file to /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
> Saving distribution config file as /etc/weewx/weewx.conf-5.0.0rc1
> Creating maintainer config as /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
> Using configuration file /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
> Finished upgrading configuration file 
> /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
> Saving configuration file /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
> Created symlink /etc/systemd/system/multi-user.target.wants/weewx.service 
> → /lib/systemd/system/weewx.service.
>
> root@ba002:/etc/weewx# systemctl restart weewx@weewx
> Warning: The unit file, source configuration file or drop-ins of 
> we...@weewx.service changed on disk. Run 'systemctl daemon-reload' to 
> reload units.
> root@ba002:/etc/weewx# systemctl daemon-reload
> root@ba002:/etc/weewx# systemctl restart weewx@weewx
> root@ba002:/etc/weewx# systemctl restart weewx@weeusb
>
> Meine Anpassungen:
> Anpassungen nur in weewx@.service
>
> "
> # systemd service template file for running multiple instances of weewxd
> #
> # Each instance XXX must have its own config, database, and HTML_ROOT:
> #
> #  itemname  

Re: [weewx-development] V5.0 release candidate available

2023-12-21 Thread Hartmut Schweidler
Guten Morgen,

Zunächst einmal vielen Dank an alle, die an der Entwicklung von weewx V5 
beteiligt waren!

Mein Installation erfolgte per "apt upgrade". auf einem Banana Pi + 1TB HDD

Die folgenden Pakete werden aktualisiert (Upgrade):
  weewx
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
Es müssen 2.278 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 2.048 B Plattenplatz zusätzlich benutzt.
Holen:1 https://weewx.com/apt-test/python3 buster/main all weewx all 
5.0.0rc1-1 [2.278 kB]
Es wurden 2.278 kB in 2 s geholt (948 kB/s).
Preconfiguring packages ...
(Lese Datenbank ... 75361 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Entpacken von .../weewx_5.0.0rc1-1_all.deb ...
Entpacken von weewx (5.0.0rc1-1) über (5.0.0b17-4) ...
weewx (5.0.0rc1-1) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/weewx/skins/Ftp/skin.conf wird 
installiert ...
Neue Version der Konfigurationsdatei /etc/weewx/skins/Mobile/skin.conf wird 
installiert ...
Neue Version der Konfigurationsdatei /etc/weewx/skins/Rsync/skin.conf wird 
installiert ...

Konfigurationsdatei »/etc/weewx/skins/Seasons/skin.conf«
 ==> Geändert (von Ihnen oder von einem Skript) seit der Installation.
 ==> Paketverteiler hat eine aktualisierte Version herausgegeben.
   Wie möchten Sie vorgehen? Ihre Wahlmöglichkeiten sind:
Y oder I : Die Version des Paket-Betreuers installieren
N oder O : Die momentan installierte Version beibehalten
   D : Die Unterschiede zwischen den Versionen anzeigen
   Z : Eine Shell starten, um die Situation zu begutachten
 Der Standardweg ist das Beibehalten der momentanen Version.
*** skin.conf (Y/I/N/O/D/Z) [Vorgabe=N] ? n
...
Neue Version der Konfigurationsdatei /etc/weewx/weewx.conf.dist wird 
installiert ...
Copying previous config file to /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
Saving distribution config file as /etc/weewx/weewx.conf-5.0.0rc1
Creating maintainer config as /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
Using configuration file /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
Finished upgrading configuration file 
/etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
Saving configuration file /etc/weewx/weewx.conf-5.0.0b18-5.0.0rc1
Created symlink /etc/systemd/system/multi-user.target.wants/weewx.service → 
/lib/systemd/system/weewx.service.

root@ba002:/etc/weewx# systemctl restart weewx@weewx
Warning: The unit file, source configuration file or drop-ins of 
weewx@weewx.service changed on disk. Run 'systemctl daemon-reload' to 
reload units.
root@ba002:/etc/weewx# systemctl daemon-reload
root@ba002:/etc/weewx# systemctl restart weewx@weewx
root@ba002:/etc/weewx# systemctl restart weewx@weeusb

Meine Anpassungen:
Anpassungen nur in weewx@.service

"
# systemd service template file for running multiple instances of weewxd
#
# Each instance XXX must have its own config, database, and HTML_ROOT:
#
#  itemname   where to specify
#  - 
 
#  config  /etc/weewx/XXX.confconfiguration directory
#  database_name   /var/lib/weewx/XXX.sdb specified in XXX.conf
#  HTML_ROOT   /var/www/html/XXX  specified in XXX.conf

[Unit]
Description=WeeWX %i
Documentation=https://weewx.com/docs
Requires=time-sync.target
After=time-sync.target
PartOf=weewx.service

[Service]
ExecStart=weewxd --log-label weewx5-%i /etc/weewx/%i.conf
StandardOutput=null
StandardError=journal+console
#User=weewx
#Group=weewx

[Install]
WantedBy=multi-user.target

"

Es läuft hervorragend.

2023-12-22T07:00:24.155271+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.manager: Added record 2023-12-22 07:00:24 CET (1703224824) to 
database 'weewxDavis'
2023-12-22T07:00:24.393038+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.manager: Added record 2023-12-22 07:00:24 CET (1703224824) to daily 
summary in 'weewxDavis'
2023-12-22T07:00:25.032855+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.manager: Added record 2023-12-22 07:00:00 CET (1703224800) to 
database 'weewxGW2000'
2023-12-22T07:00:25.642882+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.manager: Added record 2023-12-22 07:00:00 CET (1703224800) to daily 
summary in 'weewxGW2000'
2023-12-22T07:00:34.314116+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.cheetahgenerator: Generated 9 files for report SeasonsReport in 8.51 
seconds
2023-12-22T07:00:45.239521+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.imagegenerator: Generated 24 images for report SeasonsReport in 10.92 
seconds
2023-12-22T07:00:45.241651+01:00 ba002 weewx5-weewx[5037]: INFO 
weewx.reportengine: Copied 0 files to /var/www/html/weewx
2023-12-22T07:00:48.646048+01:00 ba002 weewx5-weeusb[4799]: INFO 
weewx.drivers.fousb: synchronising to the weather station (quality=1)
2023-12-22T07:01:34.532773+01:00 ba002 weewx5-weeusb[4799]: INFO 
weewx.manager: Added record 2023-12-22 06:57:00 CET (1703224620) to 
database 'weewx.sdb'

Re: [weewx-development] V5.0 release candidate available

2023-12-21 Thread Al Barnes
First off, many thanks to all involved in developing weewx V5! After 
reading the git logs for the past few months I can see that this has 
taken a ton of time and effort.


I've finished a pip install and here are my findings.

I'm running Raspberry Pi OS (Debian Bookworm) on a pi 3b that has been 
used for testing of the alpha versions of weewx. The station is a 
Vantage Pro2 with the official Davis logger.


After deleting weewx-data and weewx-venv and a weewx.service file in 
/etc I followed the instructions at 
https://weewx.com/docs/5.0/quickstarts/pip/ and everything went as 
expected. I created the station with 'weectl station create'. The 
command 'sudo sh ~/weewx-data/scripts/setup-daemon.systemd' set up 
systemd logging.


After this point I made no changes whatsoever to weewx.conf as I wanted 
to see how it would run with the default settings. Before starting 
weewx, I ran 'journalctl -f -u weewx in another terminal and first 
received a message that I've never seen before:


 /etc/systemd/system/weewx.service:15: Standard output type 
syslog+console is obsolete, automatically updating to journal+console. 
Please update your unit file, and consider removing the setting altogether.


After starting weewx the logging was normal.

As I had not copied over my old database, weewx faithfully starting 
downloading records from the Vantage Pro2 starting with 2023-12-12 
22:35:00 PST.


It can take quite a while to download almost 9 days of data from the 
logger, and here is where I ran in to a serious problem. The downloading 
of records stopped at 2023-12-21 19:50:00 when the actual time was 
20:38:44. At this point the next line in the logs was 'Starting main 
packet loop.'
Shortly thereafter it added records at 20:38:00 and 20:40:00, so we are 
now missing all records from 19:50 through 20:35.
A minute later I received the dreaded 'Expected to read 99 chars; got 0 
instead' message, followed by 'Main loop exiting. Shutting engine down'.


Weewx restarted on it's own and seems to be downloading a new archive 
record every five minutes, but of course we still have the problem of 
the missing records. I had the same problem in early version 5 alpha 
releases when weewx was downloading many records and couldn't complete 
everything within the five minute cycle. Not a problem if you are 
copying over your old database as you are most likely only downloading 
an hour or two of records from the logger, but this could bite someone 
who's station has been down for a long time due to a power outage or 
whatever. I've attached the log file so that you can see the details.


Anyhow, hopefully this is helpful and thanks again for all of the hard 
work that has been done to come up with a new version of weewx!


Al

--
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/82bbb295-2856-485e-b6c6-23bc73ad2df5%40gmail.com.
Dec 21 20:38:43 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:45:00 PST (1703216700) to database 'weewx.sdb'
Dec 21 20:38:43 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:45:00 PST (1703216700) to daily summary in 'weewx.sdb'
Dec 21 20:38:44 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:50:00 PST (1703217000) to database 'weewx.sdb'
Dec 21 20:38:44 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:50:00 PST (1703217000) to daily summary in 'weewx.sdb'
Dec 21 20:38:45 p3-2 weewxd[1033]: INFO weewx.engine: Starting main packet loop.
Dec 21 20:40:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:38:00 PST (1703219880) to database 'weewx.sdb'
Dec 21 20:40:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:38:00 PST (1703219880) to daily summary in 'weewx.sdb'
Dec 21 20:40:16 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:40:00 PST (170322) to database 'weewx.sdb'
Dec 21 20:40:16 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:40:00 PST (170322) to daily summary in 'weewx.sdb'
Dec 21 20:40:21 p3-2 weewxd[1033]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 4.35 seconds
Dec 21 20:40:30 p3-2 weewxd[1033]: INFO weewx.imagegenerator: Generated 52 images for report SeasonsReport in 8.26 seconds
Dec 21 20:40:30 p3-2 weewxd[1033]: INFO weewx.reportengine: Copied 5 files to /home/al/weewx-data/public_html
Dec 21 20:41:18 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
Dec 21 20:41:46 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
Dec 21 20:41:54 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: