Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 808
    • Issues 808
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 108
    • Merge requests 108
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TrytonTryton
  • TrytonTryton
  • Issues
  • #2973
Closed
Open
Issue created Jan 30, 2013 by Pierre-Louis Bonicoli@pilou_2

exception when creating two users, using wizard "Configure users" (after a fresh install)

Version:
- trytond 2989:496bf93735a9
- tryton 2457:a39ea11bf279

How to reproduce:
- Create a new postgres database using createdb
- Initialize database with trytond -i all -d db
- Run trytond
- Run tryton client
- Create 2 users with the wizard "Configure users"
- after adding second user, an exception occurs:

ERROR:tryton.common.common:Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 156, in dispatch
result = rpc.result(meth(*args, **kwargs))
File "/trytond/wizard/wizard.py", line 254, in execute
wizard = cls(session)
File "/trytond/wizard/wizard.py", line 309, in __init__
setattr(self, state_name, Target(**data[state_name]))
TypeError: ModelMeta object argument after ** must be a mapping, not int

ModelMeta object argument after ** must be a mapping, not int

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