Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 938
    • Issues 938
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #19737

Error not displayed after QR code scanning failure: "TypeError: 'dict' object is not callable" for "_"

Jun 19 12:36:11 amnesia tca[8488]: ERROR:TCAApplication:response-error from portal : Command failed with returncode 1
Jun 19 12:36:11 amnesia tca[8488]: Traceback (most recent call last):
Jun 19 12:36:11 amnesia tca[8488]:   File "/usr/lib/python3/dist-packages/tca/ui/main_window.py", line 384, in on_qrcode_scanned
Jun 19 12:36:11 amnesia tca[8488]:     set_error(_(
Jun 19 12:36:11 amnesia tca[8488]:               ^^
Jun 19 12:36:11 amnesia tca[8488]: TypeError: 'dict' object is not callable

I believe this is a regression introduced in 5.14 by 31e4b9df. One instance of the bug was fixed in 30b6842e, but some others remain, or could start happening whenever we start using localized strings in the affected code paths.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking