Skip to content

Bug: importing database in .sql causes pgdesigner to crash #9

@kukymbr

Description

@kukymbr

Environment

pgdesigner: v0.0.3
macOS 15.5
Google Chrome 147.0.7727.103

Steps to reproduce

  1. Generate .sql database file via the pgdesigner or use any .sql with database DDLs (including given in demo, e.g. airlines.sql).
  2. Run the pgdesigner or pgdesigner -app.
  3. Import given .sql file.

Expected result

Database is imported to the pgdesigner editor.

Actual behaviour

  1. UI shows an error: Open failed: API Connection Error
  2. App's backend is killed:
    pgdesigner -app
    PgDesigner serving (demo) at http://127.0.0.1:52937
    RPC: http://127.0.0.1:52937/rpc/  SMDBox: http://127.0.0.1:52937/rpc/doc/
    Press Ctrl+C to stop (auto-exits when browser window closes)
    zsh: killed     pgdesigner -app
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions