-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected error running initialize() for pv_opt: operands could not be broadcast together with shapes #112
Comments
I've added some additional logging to 3.7.4 which should help diagnose this |
Can you please add
|
Thanks Francis: Here is a a new log (updated): |
Can you send the error.log please?
…On 10 Feb 2024 at 13:41 +0000, mergwyn ***@***.***>, wrote:
Thanks Francis: Here is a a new log:
appdaemon.3.7.4.log
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
HI - here is my error.log. Note that just after this log was produced I turned off the filtering such that all the logs were combined, so this log stops at 0850 this morning. The last error "operands could not be broadcast together with shapes" is the same as the last error in the appdaemon.log I posted earlier. |
OK - please can you run 3.7.5 which is a pre-release with (yet) more logging of the consumption calculation which is where this is falling down. |
Here you go: Thanks again for your help! |
As a hunch @mergwyn make a copy of your configuration file and download the clean configuration file from the repo and start fresh? Think I have encountered similar issue and ended up an indentation issue. |
Worth a punt but no joy: |
Thanks for the log - it’s something to do with the amount of consumption data that you are downloading. You should be getting 7 days but I’m not seeing that much. I’ll add some extra QC and logging to the load_consumption method.
…On 11 Feb 2024 at 09:35 +0000, mergwyn ***@***.***>, wrote:
Worth a punt but no joy:
appdaemon.3.7.5-fresh-config.log
config.yaml-fresh.log
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Please try 3.8.4 which has more logging and some additional checking. |
All working again on 3.8.4 - many thanks for such a quick fix |
Describe the bug
From about 03:30 this morning pv_opt started to fail to initialise with an error "operands could not be broadcast together with shapes". This looks similar to #104 but I don't have
alt_tarrifs
enabled. As pv_opt never gets to the end of the initialisation, the charging plan is not produced/updated.I was on 3.7.2 to try to test #105 but have reverted to 3.6.2.
I'm running HA core (2024.1.6) and appdaemon (v4.4.2) in containers
Logs
The key part of the log appears to be:
I've restarted HA and appdaemon. This is the appdaemon container log post the most recent recent restart (excluding the FutureWarnings):
appdaemon.log
My config.yaml;
config.yaml.log
I have the separate main.log, error.log and pv_opt.logs for the last few days if this helps (I turned the filter off this morning as I throught it was easier to see the logs in one place).
Many thanks for your help.
The text was updated successfully, but these errors were encountered: