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 — Not working after upgrade · Issue #8256 · pgadmin-org/pgadmin4

Not working after upgrade #8256

New issue
Copy link
New issue
Copy link
Closed
Closed
Not working after upgrade#8256
Copy link
Assignees
RohitBhati8269
Labels
Bug
Milestone
9.0

Description

@MomentQYC
MomentQYC
opened on Dec 12, 2024
Issue body actions

Describe the bug

When I perform the upgrade, opening pgadmin4-desktop shows {"success":0,"errormsg":"'creatable'","info":"","result":null,"data":null} and doesn't work.

To Reproduce

Steps to reproduce the behavior:

  1. Works fine in version 8.13
  2. Use apt to upgrade via the official repository
  3. See the message

Expected behavior

Works just as it did in version 8.13.

Error message

{"success":0,"errormsg":"'creatable'","info":"","result":null,"data":null}

Screenshots

image

Desktop (please complete the following information):

  • OS: Debian 12 backports
  • Version: 8.14
  • Mode: Desktop
  • Browser (if running in server mode): Not related
  • Package type: DEB (APT)

Activity

Next
  1. MomentQYC
    added
    Bug
    on Dec 12, 2024
  2. khushboovashi commented on Dec 12, 2024

    @khushboovashi
    khushboovashi
    on Dec 12, 2024
    Contributor
    More actions

    Hi @MomentQYC,

    Can you please share the proper reproduction steps?
    Were you able to upgrade the pgAdmin 4?
    Is the pgAdmin 4 app opening for you?

  3. MomentQYC commented on Dec 13, 2024

    @MomentQYC
    MomentQYC
    on Dec 13, 2024
    Author
    More actions

    Hi @MomentQYC,

    Can you please share the proper reproduction steps?

    Were you able to upgrade the pgAdmin 4?

    Is the pgAdmin 4 app opening for you?

    As outrageous as it may seem, this is the full steps. The screenshot is what shows up when I open the app, all features are unavailable.

  4. MomentQYC commented on Dec 14, 2024

    @MomentQYC
    MomentQYC
    on Dec 14, 2024
    Author
    More actions

    Hi @MomentQYC,

    Can you please share the proper reproduction steps? Were you able to upgrade the pgAdmin 4? Is the pgAdmin 4 app opening for you?

    Total spawn time to start the pgAdmin4 server: 0.005 Sec
    2024-12-14 09:23:27,560: WARNING	werkzeug:	Werkzeug appears to be used in a production deployment. Consider switching to a production web server instead.
    
     * Serving Flask app 'pgadmin'
     * Debug mode: off
    
    ------------------------------------------
    Total time taken to ping pgAdmin4 server: 4.02 Sec
    ------------------------------------------
    Total launch time of pgAdmin4: 4.115 Sec
    ------------------------------------------
    Application Server URL: http://127.0.0.1:46619/?key=e342078e-dcbb-4ab1-b4b5-5cb2dfa77d70
    2024-12-14 09:23:27,958: ERROR	pgadmin:	'creatable'
    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 902, in dispatch_request
        return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/venv/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view
        return current_app.ensure_sync(func)(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/authenticate/mfa/utils.py", line 304, in inner
        return mfa_enabled(
               ^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/authenticate/mfa/utils.py", line 171, in mfa_enabled
        return execute_if_disabled()
               ^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/authenticate/mfa/utils.py", line 297, in execute_func
        return wrapped(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/user_login_check.py", line 22, in wrapper
        return func(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/browser/__init__.py", line 417, in index
        language = user_languages.get() or 'en'
                   ^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/utils/preferences.py", line 118, in get
        is_format_data, data = self._get_format_data(res)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/pgadmin4/web/pgadmin/utils/preferences.py", line 152, in _get_format_data
        if self.control_props and self.control_props['creatable']:
                                  ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    KeyError: 'creatable'
    
  5. 6LWa6ZKx commented on Dec 16, 2024

    @6LWa6ZKx
    6LWa6ZKx
    on Dec 16, 2024
    More actions

    win10 , to
    the bad to my work

  6. 6LWa6ZKx commented on Dec 16, 2024

    @6LWa6ZKx
    6LWa6ZKx
    on Dec 16, 2024
    More actions

    Just now, I uninstalled and reinstalled and it still doesn't work.
    I had a bad day. It affected my work

  7. 6LWa6ZKx commented on Dec 16, 2024

    @6LWa6ZKx
    6LWa6ZKx
    on Dec 16, 2024
    More actions

    del “C:\Users\xx\AppData\Roaming\pgAdmin\pgadmin4.db” 。
    work,but All connection configurations are lost

    Reacted by linlom025
  8. akshay-joshi
    added this to Not Refinedon Dec 16, 2024
  9. Lhy-ao commented on Dec 16, 2024

    @Lhy-ao
    Lhy-ao
    on Dec 16, 2024
    More actions

    I have the same problem too on Win11 23H2

  10. yi-huan commented on Dec 18, 2024

    @yi-huan
    yi-huan
    on Dec 18, 2024
    More actions

    del “C:\Users\xx\AppData\Roaming\pgAdmin\pgadmin4.db” 。 work,but All connection configurations are lost

    Thanks, It can be run after deletion.
    The server was exported before installation, but the import still requires a password.

  11. TinyPeanut commented on Dec 20, 2024

    @TinyPeanut
    TinyPeanut
    on Dec 20, 2024
    More actions

    OS: Win11 23H2
    Version: pgadmin4-8.14-x64

    I have the same problem
    image

  12. TinyPeanut commented on Dec 20, 2024

    @TinyPeanut
    TinyPeanut
    on Dec 20, 2024
    More actions

    2024-12-20 15:32:48,152: WARNING werkzeug: Werkzeug appears to be used in a production deployment. Consider switching to a production web server instead.
    2024-12-20 15:32:48,817: ERROR pgadmin: 'creatable'
    Traceback (most recent call last):
    File "D:\Applications\pgAdmin 4\python\Lib\site-packages\flask\app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\python\Lib\site-packages\flask\app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\python\Lib\site-packages\flask_login\utils.py", line 290, in decorated_view
    return current_app.ensure_sync(func)(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\authenticate\mfa\utils.py", line 304, in inner
    return mfa_enabled(
    ^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\authenticate\mfa\utils.py", line 171, in mfa_enabled
    return execute_if_disabled()
    ^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\authenticate\mfa\utils.py", line 297, in execute_func
    return wrapped(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\user_login_check.py", line 22, in wrapper
    return func(*args, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\browser_init_.py", line 417, in index
    language = user_languages.get() or 'en'
    ^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\utils\preferences.py", line 118, in get
    is_format_data, data = self._get_format_data(res)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Applications\pgAdmin 4\web\pgadmin\utils\preferences.py", line 152, in _get_format_data
    if self.control_props and self.control_props['creatable']:
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    KeyError: 'creatable'

  13. pravesh-sharma
    added this to Current Sprint (213) and removed this from Not Refinedon Dec 20, 2024
  14. pravesh-sharma
    added
    EDB Sprint 183
    on Dec 20, 2024
  15. 4 remaining items

  16. akshay-joshi
    added
    EDB Sprint 184
    on Jan 2, 2025
  17. yogeshmahajan-1903
    self-assigned this
    on Jan 2, 2025
  18. yogeshmahajan-1903
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Jan 2, 2025
  19. yogeshmahajan-1903
    added a commit that references this issue on Jan 2, 2025

    Fix the error occurring while loading preferences on startup.pgadmin-…

    4858c90
  20. akshay-joshi
    added a commit that references this issue on Jan 2, 2025

    Fix the error occurring while loading preferences on startup. #8256

    d03553b
  21. akshay-joshi
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on Jan 2, 2025
  22. akshay-joshi
    added this to the 9.0 milestone on Jan 2, 2025
  23. akshay-joshi
    unassigned
    yogeshmahajan-1903
    on Jan 2, 2025
  24. RohitBhati8269
    self-assigned this
    on Jan 14, 2025
  25. akshay-joshi
    added
    EDB Sprint 185
    and removed
    EDB Sprint 184
    on Jan 15, 2025
  26. RohitBhati8269 commented on Jan 16, 2025

    @RohitBhati8269
    RohitBhati8269
    on Jan 16, 2025
    Contributor
    More actions

    Tested and verified on :- https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2025-01-16
    Package:- wheel & dmg
    OS:- macOs Sequoia 15.0.1

  27. RohitBhati8269
    closed this as completedon Jan 16, 2025
  28. RohitBhati8269
    moved this from In Testing to ✅ Done in Current Sprint (213)on Jan 16, 2025
  29. akshay-joshi
    removed this from Current Sprint (213)on Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @RohitBhati8269
    RohitBhati8269

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 9.0

    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.