how to get wee_extension working

1,407 views
Skip to first unread message

Mitchell Tuckness

unread,
Jan 15, 2021, 7:05:20 PM1/15/21
to weewx-user
Hi all. I installed Weewx using the Python3 script and followed the instructions. It is working pretty good.I was going to install a skin and following the instructions is says to install it using the wee_extension --install command, but that is apparently not in my PATH statement. I have tried a few different methods to get it in the path, but none of them seem to work.

I am not a Ubuntu Linux expert, though I am pretty good at following guides and troubleshooting minor issues (pretty good search skills), but this is stumping me.

Can anyone help me get it set up so that command can be run per the instructions?

Here is the skin I was going to install.


And here is the command to install it using the wee_extension, which I can't run on mine.

sudo wee_extension --install weewx-belchertown-release-1.2.tar.gz 

I am running Ubuntu 20.04 on a Raspberry Pi 4, using the latest version of Weewx and it was installed using this method.

 
Thank you for help! 
 

gjr80

unread,
Jan 15, 2021, 7:13:11 PM1/15/21
to weewx-user
Hi,

If you installed WeeWX using setup.py then you need to ensure you include an appropriate path when using the utilities. Try something like:

$ sudo /home/weewx/bin/wee_extension --install weewx-belchertown-release-1.2.tar.gz

Note that depending on what directory you are in you may need to provide the path to the extension tar.gz file as well.

Gary

vince

unread,
Jan 15, 2021, 8:07:26 PM1/15/21
to weewx-user
On Friday, January 15, 2021 at 4:05:20 PM UTC-8 Mitchell Tuckness wrote:
And here is the command to install it using the wee_extension, which I can't run on mine.

Try giving it an absolute path to both things.
     sudo /home/weewx/bin/wee_extension --install /wherever/you/downloaded/it/to/weewx-belchertown-release-1.2.tar.gz

I might add that "which I can't run on mine" isn't a great problem description in general.
In the future, please include a transcript of what you saw when you tried the command that didn't work

purc...@maladomini.com

unread,
Jan 15, 2021, 10:28:41 PM1/15/21
to weewx...@googlegroups.com

Thank you. For some reason I had it stuck in my head it had to be in the path, that worked.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/l0PR4PqBiqA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2cb96f06-c94e-427e-a770-835904475984n%40googlegroups.com.

9sl...@gmail.com

unread,
Nov 30, 2021, 5:37:54 PM11/30/21
to weewx-user
Hi.
  1. WeeWX installed via setup.py
  2. wee_extension is in /home/weewx/bin 
  3. cd /home/weewx/bin
  4. sudo wee_extension --help 
    1. this yields sudo: wee_extension: command not found
  5. same result with full path added
Mystified
Thanks!
Message has been deleted

vince

unread,
Nov 30, 2021, 6:06:26 PM11/30/21
to weewx-user
"sudo /home/weewx/bin/wee_extension --help" should definitely work if you installed via setup.py

Are you sure you did an "install" after you did the setup.py "build" ?

9sl...@gmail.com

unread,
Nov 30, 2021, 7:13:34 PM11/30/21
to weewx-user
Thanks, vince.

If you meant 

python3 ./setup.py build sudo python3 ./setup.py install

Then Yes.

9sl...@gmail.com

unread,
Nov 30, 2021, 7:45:55 PM11/30/21
to weewx-user
-rwxr-xr-x  1 root root  3154 Nov 16 14:58 wee_extension

9sl...@gmail.com

unread,
Nov 30, 2021, 8:09:56 PM11/30/21
to weewx-user
Thanks, vince.

Sorted - I hadn't included the path even though I was calling it from that directory. Slow learner...
Reply all
Reply to author
Forward
0 new messages