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

SQL generation fails because it is unable to create a directory #55

Open
vickkhera opened this issue Feb 28, 2023 · 0 comments
Open

SQL generation fails because it is unable to create a directory #55

vickkhera opened this issue Feb 28, 2023 · 0 comments
Labels
bug Problems related to bugs

Comments

@vickkhera
Copy link

Description

Generating SQL from the diagram results in an error and no SQL file generated.

Current Behavior

The error dialog pops up in the lower right corner with the message

Error! Exception while executing generator: Could not create directory /generated

and no output is created.

Expected Behavior

The SQL file is generated.

Steps to Reproduce

Create the following ER diagram file:

erdiagram Model

notation=crowsfoot

entity A {
   id key
}
entity B {
   id key
}
relationship Rel {
   A[1] -> B[N]
}

Now right-click and use the Generate menu to create SQL. I tried both generic and PostgreSQL version.

Environment

  • macOS Ventura 13.1 on MacBook Air M1
  • VSCode 1.75.1
  • Java:
    openjdk 19.0.2 2023-01-17
    OpenJDK Runtime Environment Homebrew (build 19.0.2)
    OpenJDK 64-Bit Server VM Homebrew (build 19.0.2, mixed mode, sharing)
  • bigER version 0.4.0

Additional Information

No response

@vickkhera vickkhera added the bug Problems related to bugs label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problems related to bugs
Projects
None yet
Development

No branches or pull requests

1 participant