Having a few issues with Utilities and Reports

100 views
Skip to first unread message

d k

unread,
Jun 6, 2024, 10:47:10 AM6/6/24
to weewx-user
Hi all,

First let me say today we remember those lost on D-Day.

I can't seem to run any of the utilities like wee_config or wee_extension. When I look in /usr/share/weewx I don't see any of them.

This is what I get when I try to run a utility.
duane@weewx:/usr/share/weewx$ wee-extension --help
wee-extension: command not found

I can run weewxd however
duane@weewx:/usr/share/weewx$ weewxd --help
usage: weewxd.py --help
       weewxd.py --version ...

When I look at the usr/share/weewx directory I don't see any of the utilities.

I must be missing something simple.

Now on to the reports issue I'm using the Seasons Skin and SFTP the report timing is :
  • for seasons skin */15 * * * * 
  • for SFTP 3, 18, 33, 48 * * * *
I was trying to make sure that SFTP didn't run until after seasons finished.

I always get "Launch of report thread aborted: existing report thread still running" seeming to occur before SFTP runs.

Here is the result from systemctl status weewx
● weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2024-06-06 10:12:22 EDT; 16min ago
       Docs: https://weewx.com/docs
   Main PID: 10764 (python3)
      Tasks: 5 (limit: 4436)
     CGroup: /system.slice/weewx.service
             └─10764 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf

Jun 06 10:12:23 weewx weewxd[10764]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx_elec'
Jun 06 10:12:23 weewx weewxd[10764]: INFO weewx.manager: Starting backfill of daily summaries
Jun 06 10:12:23 weewx weewxd[10764]: INFO weewx.manager: Daily summaries up to date
Jun 06 10:12:27 weewx weewxd[10764]: INFO weewx.engine: Starting main packet loop.
Jun 06 10:12:35 weewx weewxd[10764]: ERROR weewx.restx_test: WOW: Failed to publish record 2024-06-06 09:56:00 EDT (1717682160): Failed upload after 3 tries
Jun 06 10:16:16 weewx weewxd[10764]: INFO weewx.engine: Launch of report thread aborted: existing report thread still running
Jun 06 10:18:16 weewx weewxd[10764]: INFO paramiko.transport: Connected (version 2.0, client OpenSSH_8.4p1)
Jun 06 10:18:17 weewx weewxd[10764]: INFO paramiko.transport: Authentication (password) successful!
Jun 06 10:18:17 weewx weewxd[10764]: INFO paramiko.transport.sftp: [chan 0] Opened sftp connection (server version 3)
Jun 06 10:18:25 weewx weewxd[10764]: INFO paramiko.transport.sftp: [chan 0] sftp session closed.

Thanks in advance for any help.

Duane

Tom Keffer

unread,
Jun 6, 2024, 5:55:45 PM6/6/24
to weewx...@googlegroups.com
1. Did you read the Upgrade Guide?
2. If you are running the SFTP extension as a report (the normal state of affairs), it is not necessary to use the reports timing feature. All you have to do is make sure it runs after all the other reports. That is, put its section at the end of [StdReport] in weewx.conf.

--
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/a49914e7-7b7f-4401-ba77-5ad8c8377ea4n%40googlegroups.com.

d k

unread,
Jun 6, 2024, 9:06:50 PM6/6/24
to weewx-user
Thanks for your reply. I upgraded a while ago and can't remember if I read the guide. I think I did. I'll take a look at it now. I'm not going to edit now that I looked.
Screenshot 2024-06-06 200711.png
Ah, that makes sense now. I certainly missed this or wasn't paying attention to it when I did the upgrade. I was looking at the older documentation.

I do have a question about your 2nd comment. If I have a report timing on the Seasons, as I only want it to run every 15 minutes, then SFTP will only run every 15 minutes?
I took out the report timing on SFTP and now uploading every archive period. I only need it to run every 15 minutes.

Any ideas on why I'm getting the "INFO weewx.engine: Launch of report thread aborted: existing report thread still running"  Seems I get them every time the report runs.

Thanks again.
dk
Reply all
Reply to author
Forward
0 new messages