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

"no such file or directory" error when using specs_v1.json #77

Open
zah-tane opened this issue May 22, 2024 · 0 comments
Open

"no such file or directory" error when using specs_v1.json #77

zah-tane opened this issue May 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zah-tane
Copy link
Contributor

Summary:

I get “no such file or directory” errors on the frontend for the blocks that are still using specs_v1.json instead of specs.json.

Expected behavior:

I expected the code to handle both cases.

Actual behavior:

I got an error and the block did not load on the left-hand side menu.

Steps to reproduce:

  1. Create a block in frontend/core/blocks with a specs file named specs_v1.json.
  2. Launch ZetaForge (dev mode).

Zetaforge version:

684a701

Operating System

MacOs

Other operating system:

No response

Logs:

ERROR:  [Error: ENOENT: no such file or directory, stat 'core/blocks/select-activations/specs.json'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'core/blocks/select-activations/specs.json'
}

Recording:

No response

Anything else?:

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants