Re: [weewx-user] Can no longer run a command with weewx v5

2024-04-07 Thread David Sprangers
After doing a new install of WeeWx v5, I used this command. 

sudo PYTHONPATH=/usr/share/weewx python3 /etc/weewx/bin/user/sdr.py 
--cmd="rtl_433 -F json -M UTC"

On Tuesday, February 20, 2024 at 2:44:56 PM UTC-6 Tom Keffer wrote:

> See the Upgrade Guide, in particular, the section *New location for user 
> directory 
> *
> .
>
> On Tue, Feb 20, 2024 at 12:29 PM Harley Welsh  wrote:
>
>> I am trying to use *sudo PYTHONPATH=/usr/share/weewx python 
>> /usr/share/weewx/user/sdr.py cmd="rtl_433 -M utc -F json"* to get the 
>> the full names of a sensors. When I run the line I get this *error  
>> python: can't open file '/usr/share/weewx/user/sdr.py': [Errno 2] No such 
>> file or directory*  using weewx v5 but before the update it worked fine. 
>> Is there a new command I could use to get the same output as before?
>>
>> Thanks,
>> Harley
>>
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/758a80cb-a3d6-4431-8202-218145f4d831n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3fce249c-b461-4b33-8642-2ea2cc22216cn%40googlegroups.com.


Re: [weewx-user] Can no longer run a command with weewx v5

2024-02-20 Thread Tom Keffer
See the Upgrade Guide, in particular, the section *New location for user
directory
*.

On Tue, Feb 20, 2024 at 12:29 PM Harley Welsh 
wrote:

> I am trying to use *sudo PYTHONPATH=/usr/share/weewx python
> /usr/share/weewx/user/sdr.py cmd="rtl_433 -M utc -F json"* to get the the
> full names of a sensors. When I run the line I get this *error  python:
> can't open file '/usr/share/weewx/user/sdr.py': [Errno 2] No such file or
> directory*  using weewx v5 but before the update it worked fine. Is there
> a new command I could use to get the same output as before?
>
> Thanks,
> Harley
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/758a80cb-a3d6-4431-8202-218145f4d831n%40googlegroups.com
> 
> .
>

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