Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.toolbox
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • slapos.toolbox
  • Merge requests
  • !140

Merged
Created Feb 06, 2025 by Titouan Soulard@tsoulardDeveloper

check_slow_queries_digest_result: fix encoding on file opening

  • Overview 5
  • Commits 1
  • Changes 1

Sometimes, it seems the file analyzed can contain non-ASCII characters, giving errors such as:

codec can't decode byte 0xc3 in position 5138: ordinal not in range(128)

It seems there is no reason to not support UTF8. This change has been applied for a few weeks on Nexedi ERP5 production without problems.

/cc @tomo

Can we release a 0.128.2& if merging this? That way production will converge back to no fixup. I do not know if this applies to the Python 3 version not using backport LZMA, so we might also want to apply there.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix-slowqueries-encoding
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7