question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No such file or directory: 'custom_components/mass/frontend/dist'

See original GitHub issue

What version of Music Assistant has the issue?

HEAD

The problem

Error log messages at startup

How to reproduce

Restart home assistant

Relevant log output

2022-09-18 22:22:55.263 INFO (MainThread) [homeassistant.components.number] Setting up number.mass
2022-09-18 22:22:55.268 INFO (MainThread) [homeassistant.components.select] Setting up select.mass
2022-09-18 22:22:55.272 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Music Assistant for mass
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/homeassistant/config_entries.py", line 357, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/srv/homeassistant/custom_components/mass/__init__.py", line 239, in async_setup_entry
    entry.async_on_unload(await async_register_panel(hass, entry.title))
  File "/srv/homeassistant/custom_components/mass/panel.py", line 35, in async_register_panel
    for filename in os.listdir(panel_dir):
FileNotFoundError: [Errno 2] No such file or directory: '/srv/homeassistant/custom_components/mass/frontend/dist'
2022-09-18 22:22:55.277 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=mass>
2022-09-18 22:22:55.292 DEBUG (MainThread) [homeassistant.bootstrap] Waiting for startup to wrap up

Additional information

No response

What version of Home Assistant Core are your running

2022.9.5

What type of installation are you running?

Home Assistant Core

On what type of hardware are you running?

Alternative

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MarvinSchenkelcommented, Sep 19, 2022

The dist folder is built during the pipeline that builds the release and pushes it towards HACS, which means it is not part of the repository.

Either:

  • Use HACS to install Music Assistant.
  • Download the zip file from the release page.
0reactions
OzGavcommented, Sep 19, 2022

Ok not sure either. MA is currently undergoing a significant rewrite so I would suggest either use HACS, wait or try on discord.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ENOENT: no such file or directory, open.." after converting jsx ...
The file importing this file is a jsx file, but now I am importing a tsx file into it. This is a CRA...
Read more >
The Buildroot user manual
On a Linux system, the /dev directory contains special files, called device files, that allow userspace applications to access the hardware devices managed...
Read more >
Install GitLab Runner using the official GitLab repositories
Starting with GitLab Runner 14.0 the skel directory usage is disabled by default to prevent No such file or directory job failures. For...
Read more >
How To Set Up a React Project with Create React App
Finally, you will begin writing custom components and creating a structure that can grow and adapt with your project.
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/22 02 ...
src/plugins/quota/rquota.h: No such file or directory" status:UNCONFIRMED ... Bug:435712 - "net-nntp/es-f-2.6.0 - web based HTML frontend for esniper, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found