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 — 'utf-8' codec can't decode byte 0xf0 in position 11: invalid continuation byte · Issue #8199 · pgadmin-org/pgadmin4

'utf-8' codec can't decode byte 0xf0 in position 11: invalid continuation byte #8199

New issue
Copy link
New issue
Copy link
Closed
Closed
'utf-8' codec can't decode byte 0xf0 in position 11: invalid continuation byte#8199
Copy link
Assignees
RohitBhati8269
Labels
Bug
Milestone
9.0

Description

@swiss-knight
swiss-knight
opened on Nov 28, 2024
Issue body actions

Please note that security bugs or issues should be reported to [email protected].

Describe the bug

An error is raised when creating a binary cursor on PostgreSQL 17 / PostGIS 3.5

To Reproduce

Steps to reproduce the behavior:

  1. Run this code on a PostgreSQL 17 / PostGIS 3.5 database :
BEGIN READ ONLY;
DECLARE curs BINARY CURSOR FOR SELECT ST_AsBinary(ST_GeomFromText('POINT(1 2)',4326));
FETCH FORWARD 1 FROM curs;
'utf-8' codec can't decode byte 0xf0 in position 11: invalid continuation byte

This error doesn't show up in a psql console:

BEGIN READ ONLY;
DECLARE curs BINARY CURSOR FOR SELECT ST_AsBinary(ST_GeomFromText('POINT(1 2)',4326));
FETCH FORWARD 1 FROM curs;
 st_asbinary 
-------------
 \x01\x01
(1 row)

Expected behavior

No error.

Error message

'utf-8' codec can't decode byte 0xd6 in position 10: invalid continuation byte

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.5 LTS
  • Version: 8.13
  • Mode: server
  • Browser (if running in server mode): 131.0.3 (64-bit)
  • Package type: pgadmin4 Official docker image

Additional context

Menu Help > About pgAdmin 4:

Key Value
Version: 8.13
Application Mode: Server
Commit: b278265 2024-11-11
Current User: postgres
Browser: Firefox 131.0
Operating System: Alpine Linux v3.20, Linux-6.8.0-47-generic-x86_64-with
pgAdmin Database File: /var/lib/pgadmin/pgadmin4.db
Log File: /dev/null

Activity

Next
  1. swiss-knight
    added
    Bug
    on Nov 28, 2024
  2. akshay-joshi
    added this to Not Refinedon Nov 29, 2024
  3. khushboovashi
    added
    EDB Sprint 182
    on Nov 29, 2024
  4. khushboovashi
    added this to Ready for Sprint Bugs and removed this from Not Refinedon Nov 29, 2024
  5. akshay-joshi
    added this to Current Sprint (213) and removed this from Ready for Sprint Bugson Dec 4, 2024
  6. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Dec 4, 2024
  7. akshay-joshi
    added
    EDB Sprint 183
    and removed
    EDB Sprint 182
    on Dec 18, 2024
  8. akshay-joshi
    added
    EDB Sprint 184
    and removed
    EDB Sprint 183
    on Jan 2, 2025
  9. akshay-joshi
    self-assigned this
    on Jan 7, 2025
  10. akshay-joshi
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Jan 7, 2025
  11. akshay-joshi commented on Jan 8, 2025

    @akshay-joshi
    akshay-joshi
    on Jan 8, 2025
    Contributor
    More actions

    Hi @swiss-knight

    This seems to be a Psycopg3 issue, we have logged the issue 990

    Reacted by swiss-knight
  12. 5 remaining items

  13. khushboovashi
    added this to Current Sprint (213) and removed this from Waiting for upstreamon Jan 8, 2025
  14. khushboovashi
    moved this to 🏗 In Progress in Current Sprint (213)on Jan 8, 2025
  15. khushboovashi
    added a commit that references this issue on Jan 9, 2025

    Fix an issue where using the binary cursor, utf-8 decode error comes …

    1efc4a9
  16. khushboovashi
    moved this from 🏗 In Progress to In Review in Current Sprint (213)on Jan 9, 2025
  17. akshay-joshi
    added a commit that references this issue on Jan 13, 2025

    Fix an issue where using the binary cursor, utf-8 decode error comes …

    36df6d5
  18. akshay-joshi
    moved this from In Review to In Testing in Current Sprint (213)on Jan 13, 2025
  19. akshay-joshi
    unassigned
    khushboovashi
    on Jan 13, 2025
  20. RohitBhati8269
    self-assigned this
    on Jan 14, 2025
  21. akshay-joshi
    added this to the 9.0 milestone on Jan 14, 2025
  22. akshay-joshi
    added
    EDB Sprint 185
    on Jan 15, 2025
  23. RohitBhati8269 commented on Jan 15, 2025

    @RohitBhati8269
    RohitBhati8269
    on Jan 15, 2025
    Contributor
    More actions

    Tested and verified on snapshot build: https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2025-01-15/
    Package: wheel
    Environment: macOs Sequoia 15.0.1

  24. RohitBhati8269
    closed this as completedon Jan 15, 2025
  25. RohitBhati8269
    moved this from In Testing to ✅ Done in Current Sprint (213)on Jan 15, 2025
  26. akshay-joshi
    removed this from Current Sprint (213)on Jan 15, 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.