Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign sync is failing #830

Closed
Luci2015 opened this issue Nov 20, 2023 · 1 comment
Closed

Sign sync is failing #830

Luci2015 opened this issue Nov 20, 2023 · 1 comment

Comments

@Luci2015
Copy link
Collaborator

Description
Sign sync started to fail with this message:
TypeError: sign_client.model.BooleanSettingsInfo() argument after ** must be a mapping, not bool

2023-11-20 09:23:19 43895 ERROR asyncio - Task exception was never retrieved
future: <Task finished name='Task-86' coro=<SignClient._get_user_groups() done, defined at /Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/client.py:277> exception=TypeError('sign_client.model.BooleanSettingsInfo() argument after ** must be a mapping, not bool')>
Traceback (most recent call last):
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/client.py", line 284, in _get_user_groups
    groups = UserGroupsInfo.from_dict(groups)
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 211, in from_dict
    return cls([UserGroupInfo.from_dict(v) for v in dct['groupInfoList']])
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 211, in <listcomp>
    return cls([UserGroupInfo.from_dict(v) for v in dct['groupInfoList']])
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 199, in from_dict
    new_dct[k] = SettingsInfo.from_dict(v)
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 180, in from_dict
    new_dct = {k: BooleanSettingsInfo.from_dict(v) for k, v in dct.items()}
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 180, in <dictcomp>
    new_dct = {k: BooleanSettingsInfo.from_dict(v) for k, v in dct.items()}
  File "/Users/user/user-sync.py-2.10.0rc1/ENV/lib/python3.10/site-packages/sign_client/model.py", line 165, in from_dict
    return cls(**dct)
TypeError: sign_client.model.BooleanSettingsInfo() argument after ** must be a mapping, not bool

Steps to reproduce

  • run UST with sign-sync option as usual

Expected behavior
no failure during sync

Environment

  • UST version: latest
  • OS type and version: all
Luci2015 added a commit to Luci2015/user-sync.py that referenced this issue Nov 20, 2023
@adorton-adobe
Copy link
Collaborator

I believe this was resolved as per #831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants