Thanx again for all your effort!
After removing the “” around http://localhost aso. HA accepted the config. But still same log.file error "FileNotFoundError: Errno2 No such file or directory: ‘/data/long_train_data.pkl’
With help from duck.ai figuered out there was a mismatch between the dictionary length; Nordpool 24 and application expecting 72.
Found in the GUI that the input “number of forecasted days” what set to 3. Changed this to 1.
Tried again. Still no go. Checking in developer tools, give me the same output:
content: >
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your
request. Either the server is overloaded or there is an error in the
application.</p>
status: 500
headers:
Server: gunicorn
Date: Mon, 08 Sep 2025 21:23:01 GMT
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Content-Length: "265"
The logfile still:
FileNotFoundError: [Errno 2] No such file or directory: '/data/long_train_data.pkl'
Duc AI says:
1. Check for Missing File
- Verify if the file
/data/long_train_data.pklexists. If not, you may need to run a training or optimization task that generates this file.
2. Set LP Solver Path
- If you are using a specific LP solver like
COIN_CMD, ensure that the path to the solver is correctly set in your configuration. You can do this by modifying the relevant configuration file or settings in Home Assistant.
I am clueless.