GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ERD Tool: Save Image: does not save anything... · Issue #8424 · pgadmin-org/pgadmin4

ERD Tool: Save Image: does not save anything... #8424

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
ERD Tool: Save Image: does not save anything...#8424
Copy link
Assignees
pms967
Labels
Bug

Description

@pms967
pms967
opened on Feb 6, 2025
Issue body actions

Describe the bug

The title say it all: with a project imported (or loaded) into the ERD Tool, I've tried to save the ERD scheme as an image (too: saving as .pgerd and .sql file seems to work fine) .

After clicking on the icon (or pressing the shortcut), the screen greys out with the message: “Preparing the image”. Then after a while it goes back to normal, and that's it.

Unfortunately, nothing else happen. No file selector to choose folder and file name appears, and apparently no image file has been created anywhere.

That must be some kind of regression: several months ago, on the same system and with (almost) the same DB, an earlier version did work just fine.

Error message

None. I found these in the log, but I am not sure whether they are related / relevant:

`
Application Server URL: http://127.0.0.1:46695/?key=********
2025-02-06 17:36:31,258: ERROR pgadmin: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 891, in dispatch_request
self.raise_routing_exception(req)
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 500, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

2025-02-06 17:36:31,279: ERROR pgadmin: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Traceback (most recent call last):
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 891, in dispatch_request
self.raise_routing_exception(req)
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/app.py", line 500, in raise_routing_exception
raise request.routing_exception # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask/ctx.py", line 362, in match_request
result = self.url_adapter.match(return_rule=True) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.11/site-packages/werkzeug/routing/map.py", line 629, in match
raise NotFound() from None
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
`

Desktop (please complete the following information):

  • OS: Debian Linux 12
  • Version: verified with 8.9, 9.0, 9.1
  • Mode: Desktop
  • Package type: DEB

Additional context

All tested packages are from the official repository:
ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/

Activity

Next
  1. pms967
    added
    Bug
    on Feb 6, 2025
  2. adityatoshniwal commented on Feb 7, 2025

    @adityatoshniwal
    adityatoshniwal
    on Feb 7, 2025
    Contributor
    More actions

    Hi @pms967,

    Before saving the image - Go to View -> Toggle Developer Tools -> Console and then try to save image. Share the errors if any from the console.

  3. akshay-joshi
    added this to Not Refinedon Feb 7, 2025
  4. pms967 commented on Feb 7, 2025

    @pms967
    pms967
    on Feb 7, 2025
    Author
    More actions

    Here it is:

    pgadmin4.log

    Image

    N.B.: these messages appears as soon as I open the ERD Tool:

    Image

    BTW: worse yet, while I was able to open an older project (actually, an older version of the same one, saved some times ago) , now it can not even open a .pgerd which I have saved yesterday.

    As soon as I try to open that file, pgAdmin4 freezes and I have to manually kill the processes. In that case, no new message whatsoever appears on the console.

  5. adityatoshniwal commented on Feb 7, 2025

    @adityatoshniwal
    adityatoshniwal
    on Feb 7, 2025
    Contributor
    More actions

    As soon as I try to open that file, pgAdmin4 freezes and I have to manually kill the processes. In that case, no new message whatsoever appears on the console.

    There is a similar freezing related bug open for ERD - #8389. May be related to that.
    Need to check console error of 404. I don't get such error on my installed pgAdmin.

    Reacted by pms967
  6. pms967 commented on Feb 7, 2025

    @pms967
    pms967
    on Feb 7, 2025
    Author
    More actions

    May be related to that. Need to check console error of 404. I don't get such error on my installed pgAdmin.

    Could be some missing library which is not listed as dependency in the .deb package?

    Or maybe some other misconfiguration and/or missing file in the package?

  7. adityatoshniwal
    added
    EDB Sprint 187
    on Feb 7, 2025
  8. adityatoshniwal
    added this to Ready for Sprint Bugs and removed this from Not Refinedon Feb 7, 2025
  9. adityatoshniwal commented on Feb 7, 2025

    @adityatoshniwal
    adityatoshniwal
    on Feb 7, 2025
    Contributor
    More actions

    May be related to that. Need to check console error of 404. I don't get such error on my installed pgAdmin.

    Could be some missing library which is not listed as dependency in the .deb package?

    Or maybe some other misconfiguration and/or missing file in the package?

    In that case, pgAdmin itself won't have opened.

  10. akshay-joshi
    assigned
    pravesh-sharma
    on Feb 12, 2025
  11. akshay-joshi
    added this to Current Sprint (213) and removed this from Ready for Sprint Bugson Feb 12, 2025
  12. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Feb 12, 2025
  13. pravesh-sharma commented on Feb 20, 2025

    @pravesh-sharma
    pravesh-sharma
    on Feb 20, 2025
    Contributor
    More actions

    Hi @pms967,

    I am not able to reproduce the issue. Can you please provide the pgerd file?

  14. 3 remaining items

  15. pravesh-sharma
    assigned
    pms967
    and unassigned
    pravesh-sharma
    on Feb 20, 2025
  16. pms967 commented on Feb 25, 2025

    @pms967
    pms967
    on Feb 25, 2025
    Author
    More actions

    @pravesh-sharma

    Hi @pms967,

    I am not able to reproduce the issue. Can you please provide the pgerd file?

    It looks like it happens to me with any project. Anyway, here's one example.

    ems.zip

  17. pravesh-sharma
    assigned
    pravesh-sharma
    and unassigned
    pms967
    on Feb 28, 2025
  18. pravesh-sharma commented on Mar 11, 2025

    @pravesh-sharma
    pravesh-sharma
    on Mar 11, 2025
    Contributor
    More actions

    Hi @pms967,

    I can save image from the provided pgerd file. Can you try using the latest version of pgAdmin and check if the issue exists?

  19. pravesh-sharma
    assigned
    pms967
    and unassigned
    pravesh-sharma
    on Mar 11, 2025
  20. pms967 commented on Mar 11, 2025

    @pms967
    pms967
    on Mar 11, 2025
    Author
    More actions

    I can save image from the provided pgerd file.

    No wonder. As I said I have this problem systematically, with any pgerd.

    Can you try using the latest version of pgAdmin and check if the issue exists?

    Unless you mean the latest source code on git, I think I do:

    ii pgadmin4-desktop 9.1 amd64
    ii pgadmin4-server 9.1 amd64

    from: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/bookworm

    Image

    Edit: this did not happen with older versions ( < 8.9, unfortunately I don't remember which was the last version which did not have this problem).

  21. anilsahoo20 commented on Mar 21, 2025

    @anilsahoo20
    anilsahoo20
    on Mar 21, 2025
    Contributor
    More actions

    Unfortunately we are unable to reproduce this issue. :(

  22. adityatoshniwal commented on Apr 4, 2025

    @adityatoshniwal
    adityatoshniwal
    on Apr 4, 2025
    Contributor
    More actions

    We're closing this issue because we're not able to reproduce this unfortunately. If you get any concrete steps to reproduce then feel free to re-open.

  23. adityatoshniwal
    closed this as not plannedon Apr 4, 2025
  24. github-project-automation
    moved this to Done in Not Refinedon Apr 4, 2025
  25. adityatoshniwal
    removed this from Not Refinedon Apr 4, 2025
  26. Lkraljevic commented on Sep 4, 2025

    @Lkraljevic
    Lkraljevic
    on Sep 4, 2025
    More actions

    erd_tool.js?ver=90600:1 Uncaught (in promise) Error: Error invoking remote method 'download-base64-url-data': TypeError: Buffer.from is not a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pms967
    pms967

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.