Sorry guys, but this all seems to be deprecated info. There is no 
/home/weewx dir on my debian 12 install of weewx, and the wiki states that 
the executables would be under /usr/share/weewx, but they're not there. I 
only see some python stuff, and either way, this all means that none of the 
wee_* utilities commands work. I see no path to add for that, since these 
executables aren't there. Perhaps, also, since weewx and python have been 
installed using apt, not with pip (debian hates that), it may be a good 
idea to already *add* the required path during install, or at least prompt 
the user about where they are to be found.

~# wee_config --list-drivers
-bash: wee_config: command not found

On Saturday, January 14, 2023 at 9:36:09 PM UTC+1 Steve C wrote:

> Google may be our friend, and indeed, a Google search did to this old 
> thread by searching for "wee_database: command not found". Specifically, 
> this should be included:  
> * cd /home/weewx/bin*
> *  ./wee_config /home/weewx/weewx.conf --help*
>
>  I see no way that I could add it to the WeeWX Utilities Guide, but it 
> would be great if this were in the documentation. 
>
> I am sure I will get some heat for being grumpy, and I have been fighting 
> errors all day, so I am frustrated for sure. How can I help update the 
> documentation? The MySQL info was wrong in the main doc for example, Debian 
> has switched to MariaDB as the default package some time ago. Which again, 
> Google was helpful in pointing out, whereas the WeeWx doc is outdated.  
> https://www.weewx.com/docs/usersguide.htm#configuring_mysql  sudo apt 
> install mysql-client is no longer correct. 
>
> On Saturday, November 3, 2018 at 12:40:41 PM UTC-4 [email protected] wrote:
>
>> The shell scans a "path" to find an executable. By default, your current 
>> directory is not in the path. This is for security reasons: it prevents you 
>> from accidentally running something in your current directory that you may 
>> have forgotten about, or downloaded.
>>
>> You must explicitly tell the shell that you know it's in your current 
>> directory. You do this by prepending './' to the executable file. So, it 
>> becomes
>>
>> *  cd /home/weewx/bin*
>> *  ./wee_config /home/weewx/weewx.conf --help*
>>
>> -tk
>>
>> On Sat, Nov 3, 2018 at 9:14 AM David Beach <[email protected]> wrote:
>>
>>> I have a reliable weewx installation on a Raspberry Pi using a Vantage 
>>> Vue. And it is still working well.
>>>
>>> But, I disliked the scattered directories of the standard installation 
>>> so I set up a new SD card with Raspian Stretch. I followed the setup.py 
>>> installation instructions (with only a few minor detours!) I set it to 
>>> Simulator and weewx seems to work fine in that mode. I can view the web 
>>> page at /home/weewx/public_html/index.html with the 'fake' data streaming 
>>> in.
>>>
>>> However, when I try to run a utility, by typing "wee_config --help" for 
>>> example, I get:
>>>
>>> bash: wee_device: command not found
>>>
>>> If I precede it with sudo, I get:
>>>
>>> sudo: wee_config: command not found
>>>
>>> Even if I change directories so that I am in the /home/weewx/bin 
>>> directory and I can see the wee_config file just sitting there, I get the 
>>> same result. I would like to be able to use wee_config so I can change the 
>>> driver to my Vantage when I'm ready to switch.
>>>
>>> I am no Linux or weewx expert. Is there some mystical permission or path 
>>> I need to change? I hope that someone spots an obvious problem.
>>>
>>> Thanks!
>>>
>>> David
>>>
>>> -- 
>>> 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 [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/21dd6004-a16d-4a76-a5a5-3a69f9d87f3en%40googlegroups.com.

Reply via email to