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... #8424DescriptionDescribe 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/ Activityadityatoshniwal commented on Feb 7, 2025 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. pms967 commented on Feb 7, 2025 Here it is:
pgadmin4.log

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

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. adityatoshniwal commented on Feb 7, 2025
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. pms967 commented on Feb 7, 2025
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? adityatoshniwal commented on Feb 7, 2025
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. pravesh-sharma commented on Feb 20, 2025 Hi @pms967,
I am not able to reproduce the issue. Can you please provide the pgerd file? pms967 commented on Feb 25, 2025 @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 pravesh-sharma commented on Mar 11, 2025 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? pms967 commented on Mar 11, 2025
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

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). anilsahoo20 commented on Mar 21, 2025 Unfortunately we are unable to reproduce this issue. :( adityatoshniwal commented on Apr 4, 2025 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. Lkraljevic commented on Sep 4, 2025 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
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|