Re: [weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-29 Thread Clay Jackson
This version works perfectly! On Monday, April 29, 2024 at 6:39:44 PM UTC-7 John Kline wrote: > It’s my extension. MySQL doesn’t like the select when > sql_mode=only_full_group_by. > > clayj, please replace purple.py with the attached file. If it works for > you, I’ll release it as v3.9.2. >

Re: [weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-29 Thread 'John Kline' via weewx-user
It’s my extension.  MySQL doesn’t like the select when sql_mode=only_full_group_by.clayj, please replace purple.py with the attached file.  If it works for you, I’ll release it as v3.9.2. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To

Re: [weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-29 Thread Tom Keffer
It looks like the "purple" extension is trying to aggregate by groups, but asking for a non-aggregated value for 'usUnits'. What extension is this? The purple air extension I see on the wiki uses the module "user.purpleair", not "user.purple". On Mon, Apr 29, 2024 at 4:37 PM Clay Jackson wrote:

[weewx-user] Purple-Air causes imagegenerator crash in 5.0.2 but not in 4

2024-04-29 Thread Clay Jackson
I'm updating from WeeWx Version 4 to 5.0.2 and when I do, the sample dashboard for Purple causes imgagegenerator to crash - here's the output from syslog. Apr 29 16:26:12 weewx weewxd[2282]: ERROR weewx.reportengine: Caught unrecoverable exception in generator

[weewx-user] Re: New install of weewx 5 fails to claim USB

2024-04-29 Thread vince
Found it. The bottom section of the understanding permissions page has the details of which group can do what. On Monday, April 29, 2024 at 1:21:51 PM UTC-7 Mary Ann Horton wrote: > Thank you! I added weewx to the weewx group and rebooted - that got it > working. > The wiki page is also very

[weewx-user] Re: New install of weewx 5 fails to claim USB

2024-04-29 Thread Mary Ann Horton
Thank you! I added weewx to the weewx group and rebooted - that got it working. The wiki page is also very helpful. It would be nice if the doc and the faq pointed there. On Monday, April 29, 2024 at 1:17:42 PM UTC-7 vince wrote: > Sorry can’t find where I wrote it up. >

[weewx-user] Re: New install of weewx 5 fails to claim USB

2024-04-29 Thread vince
Sorry can’t find where I wrote it up. https://groups.google.com/g/weewx-user/c/xCQlL3XPXhg/m/bHPnFWVLAQAJ At the bottom might help On Monday, April 29, 2024 at 1:14:38 PM UTC-7 vince wrote: > Try adding the weewx user to group plugdev if I recall correctly. > Basically the user weewx runs has

[weewx-user] Re: New install of weewx 5 fails to claim USB

2024-04-29 Thread vince
Try adding the weewx user to group plugdev if I recall correctly. Basically the user weewx runs has to be in a group that is permitted to access the hardware. On Monday, April 29, 2024 at 11:07:49 AM UTC-7 Mary Ann Horton wrote: > I'm having a similar problem to what I see others are having,

Re: [weewx-user] weewx.service: Failed with result 'exit-code'

2024-04-29 Thread Tom Keffer
It seems that your device is not being recognized by the udev rule, perhaps because it is has an ethernet port. Check the vendor and product ID of your logger with the command "lsusb". It will output something like Bus 001 Device 003: ID 18e8:6238 Qcom Bus 001 Device 001: ID 1d6b:0002 Linux

[weewx-user] New install of weewx 5 fails to claim USB

2024-04-29 Thread Mary Ann Horton
I'm having a similar problem to what I see others are having, but the solutions I see here don't seem to work for me. I had weewx 4 running on xubuntu 20.04 for years with a Acurite USB weather station - it worked great. Then my PC died. I got a new PC, a fresh xubuntu 22.04 installation, and a

Re: [weewx-user] weewx.service: Failed with result 'exit-code'

2024-04-29 Thread Marco Citossi
Hi! I've checked the article you suggested and looking the permissions in /etc/udev/rules.d/60-weewx.rules I see in the file: *# davis vantage via usb-serial* SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea60",MODE="0664",GROUP="weewx",SYMLINK+="vantage"

Re: [weewx-user] weewx.service: Failed with result 'exit-code'

2024-04-29 Thread Tom Keffer
Looks like a permissions issue accessing the port. See the wiki article How to fix device permissions and see if that helps. On Mon, Apr 29, 2024 at 9:48 AM Marco Citossi wrote: > Hi! I've installed

[weewx-user] weewx.service: Failed with result 'exit-code'

2024-04-29 Thread Marco Citossi
Hi! I've installed weewx in Oracle Linux 8.9 following the guide for RedHat. The installation has completed without errors. It has been installed in default folders, in /var/www/html/weewx (weewx:weewx), /usr/share/weewx (root:root) and /etc/weewx (weewx:weewx) for bin and weewx.conf Only

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

2024-04-29 Thread Adam Ellsworth
That did it! I really appreciate the help and I'm glad I had the sense to ask, that would've taken me quite awhile to find. I tried to do some grep'ing to see if anything else used the JSON library and didn't find anything, so I removed it. Hopefully it doesn't break something else. That's an