Where does wee_extension install expect to find belchertown...tar.gz to install?

55 views
Skip to first unread message

Dale

unread,
Oct 4, 2025, 8:54:13 PM (12 days ago) Oct 4
to weewx...@googlegroups.com

If there is a separate Belchertown discussion, my apologies for posting here

I am running an installation of WeeWx 4.7.0 with a slightly modified Seasons skin layout which this group helped make mods to allow last rainfall and compare temps and dew point to 24 hours ago.


This has run well for over a year and a half.


I would like to add the belchertown v1.3 skin, and went to the github, and I think followed the copy and paste to download the v1.3.1 to my Rasp Pi, which put it in the /home/pi folder.


I then ran the next command indicated, and I get a traceback that wee_extension install cannot find an extension, which I assume means the installer cannot find the tar.gz file.  I have that file in my /home/pi folder so I can move it to whereever the installer wants to find it, I just cannot find info on where that should be.

Can someone give me a pointer ?   Dale


Another quick question, is there a 'verbose' form of the download to say where it actually went?  I get, as you see in the following screen save,

Saving to: ‘weewx-belchertown-release.1.3.1.tar.gz’

weewx-belchertown-r 100%[===================>]   1.69M  --.-KB/s    in 0.1s    

2025-10-04 19:14:25 (13.5 MB/s) - ‘weewx-belchertown-release.1.3.1.tar.gz’ saved [1770173/1770173]

which I found with a file search, but mistakenly assumed that it  went to Downloads.  I wonder if there is an option to make downloads save to a particular folder?

Obviously my Linux needs refreshing, but wonder if there is a default download if not otherwise expressed?



------------------------------------------------------------

Connecting to release-assets.githubusercontent.com (release-assets.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1770173 (1.7M) [application/octet-stream]
Saving to: ‘weewx-belchertown-release.1.3.1.tar.gz’

weewx-belchertown-r 100%[===================>]   1.69M  --.-KB/s    in 0.1s    

2025-10-04 19:14:25 (13.5 MB/s) - ‘weewx-belchertown-release.1.3.1.tar.gz’ saved [1770173/1770173]

pi@raspberrypi:~ $ sudo wee_extension --install weewx-belchertown-release-1.3.1.tar.gz
Request to install 'weewx-belchertown-release-1.3.1.tar.gz'
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 92, in <module>
    main()
  File "/usr/share/weewx/wee_extension", line 84, in main
    ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 139, in install_extension
    raise InstallError("Extension '%s' not found." % extension_path)
weecfg.extension.InstallError: Extension 'weewx-belchertown-release-1.3.1.tar.gz' not found.

Glenn McKechnie

unread,
Oct 4, 2025, 9:31:38 PM (12 days ago) Oct 4
to weewx...@googlegroups.com


Looks like it's a package install of weewx so you should be able to run the wee_extension command from anywhere.

Did you run that command from /home/pi.
ie did you ...

cd /home/pi
sudo wee_extension --install weewx-belchertown-release-1.3.1.tar.gz

A good way to see if the file is actually there, besides using ls, is to use command completion (the TAB key)... type sudo wee_extension --install we<TAB> and if it exists, that <TAB> action should fill in the rest of the name.

One way of ensuring the file goes where you want it to is to specify the path, or just change to that directory first.eg:

cd /home/pi/Downloads
pwd (to be sure, to be sure)
wget The_file_you_want
ls -l (to check if it is there)
sudo wee_extension --install The_file_you_want




Cheers
 Glenn

Various WeeWx addons at
https://github.com/glennmckechnie



Cheers
 Glenn

Various WeeWx addons at
https://github.com/glennmckechnie


--
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 visit https://groups.google.com/d/msgid/weewx-user/e87c6fbc-43ac-4032-830d-16bce8e1b688%40gmail.com.

DR

unread,
Oct 4, 2025, 9:40:57 PM (12 days ago) Oct 4
to weewx...@googlegroups.com
Glenn,

I did NOT change to the /home/pi directory first.


I will and will try again shortly.


Secondly, thank  you for the tips on the TAB command, and also to take
permission to modify the command line to tell RaspOS where to download
the files to.

I appreciate the hand holding!  Dale


Glenn McKechnie

unread,
Oct 4, 2025, 9:59:18 PM (11 days ago) Oct 4
to weewx...@googlegroups.com

Not a problem.

If you're working from a terminal, then you're in charge. It takes instructions (literally and sometimes too literally) from you.

The TAB command becomes instinctive, experiment with it. 
And you'll possibly need to enter it more than once ie: <TAB><TAB> and watch the screen output. Enter any letter/number/whatever or combinations, If there is more to see it will offer choices, if what you type doesn't exist. It will do nothing.

Cheers
 Glenn

Various WeeWx addons at
https://github.com/glennmckechnie
--
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.

vince

unread,
Oct 5, 2025, 12:20:19 PM (11 days ago) Oct 5
to weewx-user
On Saturday, October 4, 2025 at 5:54:13 PM UTC-7 Dale wrote:

I would like to add the belchertown v1.3 skin, and went to the github, and I think followed the copy and paste to download the v1.3.1 to my Rasp Pi, which put it in the /home/pi folder.


Either cd into the directory where you downloaded things....or specify the full pathname to the .tar.gz file you want to install

# if it downloaded to /home/pi
sudo wee_extension --install /home/pi/weewx-belchertown-release-1.3.1.tar.gz

 

Another quick question, is there a 'verbose' form of the download to say where it actually went?  I get, as you see in the following screen save,


Depends on which command you used to download it.  If you used 'curl' or 'wget' each have a -v (verbose) option that might help.  If you run 'man curl' or 'man wget' you can get more info, but sometimes man pages can be a bit painful to navigate. wget in particular has a zillion command line options.


Reply all
Reply to author
Forward
0 new messages