Skip to content
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

FileNotFoundError: [Errno 2] No such file or directory: ‘/app/data/data_load_cost_forecast.csv’ #451

Closed
davidusb-geek opened this issue Feb 7, 2025 · 5 comments

Comments

@davidusb-geek
Copy link
Owner

In the community forum the user @Brkie reported this issue:

Hello,
will someone explain to me where his directory is? I am usign addon; there is no files in addon_config related to emhass, nothing in addon folder, nothing in config folder or share folder… My error message:
FileNotFoundError: [Errno 2] No such file or directory: ‘/app/data/data_load_cost_forecast.csv’

Describe the bug
No description of when the bug arises: dayhead optim, MPC optim, publish task, ML train, etc.

To Reproduce
NA

Screenshots

FileNotFoundError: [Errno 2] No such file or directory: ‘/app/data/data_load_cost_forecast.csv’

Home Assistant installation type

  • Home Assistant OS (or so it seems)

Your hardware

  • OS: HA OS
  • Architecture: amd64 (not sure)

EMHASS installation type

  • Add-on
@davidusb-geek
Copy link
Owner Author

davidusb-geek commented Feb 7, 2025

@GeoDerp Could it be possible to take a look at this when you have some spare time?
It seems like a bug to me.
In the old days we were copying these type of files "manually" in the Dockerfile but now I'm a bit lost with our current version of the Dockerfile, it exceed my skills

@davidusb-geek
Copy link
Owner Author

davidusb-geek commented Feb 7, 2025

Well I may have overreacted ;-)
This seems like an easy fix. Do you confirm @GeoDerp? See #452

davidusb-geek added a commit that referenced this issue Feb 7, 2025
…data_file

Update Dockerfile to solve issue #451
@Brkie
Copy link

Brkie commented Feb 7, 2025

In the community forum the user @Brkie reported this issue:

Hello,
will someone explain to me where his directory is? I am usign addon; there is no files in addon_config related to emhass, nothing in addon folder, nothing in config folder or share folder… My error message:
FileNotFoundError: [Errno 2] No such file or directory: ‘/app/data/data_load_cost_forecast.csv’

Describe the bug No description of when the bug arises: dayhead optim, MPC optim, publish task, ML train, etc.

To Reproduce NA

Screenshots

FileNotFoundError: [Errno 2] No such file or directory: ‘/app/data/data_load_cost_forecast.csv’

Home Assistant installation type

  • Home Assistant OS (or so it seems)

Your hardware

  • OS: HA OS
  • Architecture: amd64 (not sure)

EMHASS installation type

  • Add-on

Here comes more info if it is of any help:

Version core-2025.1.4
Installationstyp Home Assistant OS
Utveckling false
Supervisor true
Docker true
Användare root
Virtuell miljö false
Python-version 3.13.1
Operativsystemfamilj Linux
Operativsystemversion 6.6.73-haos
Processorarkitektur x86_64
Tidszon Europe/Stockholm
Konfigurationskatalog /config

amd64 is correct

@davidusb-geek
Copy link
Owner Author

Thanks for the info
The issue is solved as per PR #452
It will be effective on the next release

@GeoDerp
Copy link
Contributor

GeoDerp commented Feb 8, 2025

100% works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants