Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 709
    • Issues 709
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 56
    • Merge requests 56
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • TrytonTryton
  • TrytonTryton
  • Issues
  • #12029
Closed
Open
Issue created Jan 22, 2023 by Bambang Purnomosidi@bpdp

KeyError when opening the dashboard

In my vanilla Tryton installation, everytime I click on Dashboard menu, some errors appear:

11866 139866299942592 [2023-01-21 05:51:08,950] ERROR trytond.protocols.wrappers <JSONRequest 1@127.0.0.1 ‘http://localhost:8000/trytondb/’ [POST] model.ir.action.keyword.get_keyword>

Traceback (most recent call last):

File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/protocols/wrappers.py”, line 162, in wrapper return func(request, pool, *args, **kwargs)

File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/protocols/dispatcher.py”, line 207, in _dispatch result = rpc.result(meth(*c_args, **c_kwargs))

File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/ir/action.py”, line 278, in get_keyword and not ModelAccess.check(

File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/ir/model.py”, line 614, in check Model = pool.get(model_name)

File “/home/bpdp/kerjaan/git-repos/oldstager/current/github/zimera-systems/zimera-erp/tryton-suite/trytond/pool.py”, line 188, in get return self._pool[self.database_name][type][name]

KeyError: ‘’

Web and GUI version have the same errors. I’ve tried to configure Dashbord using “Usage: dashboard” in a module that I want to display and have it configured on Users - Dashboard but the errors still persist.

The errors also happened in vanilla Tryton installation.

  • Python: 3.10.8
  • Trytond: 6.6.3
  • trytond_dashboard: 6.6.0
  • PostgreSQL: 14.6
  • tryton_sao: 6.6.3
  • Linux kernel: 5.18.0
Edited Jan 26, 2023 by Cédric Krier
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking