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

AttributeError: 'bool' object has no attribute 'get' #27

Open
tobes64 opened this issue Feb 3, 2022 · 0 comments
Open

AttributeError: 'bool' object has no attribute 'get' #27

tobes64 opened this issue Feb 3, 2022 · 0 comments

Comments

@tobes64
Copy link

tobes64 commented Feb 3, 2022

Whilst running the GitHub Organizer came across an issue for the update_repository_settings function within the githuborganizer/models/gh.py file

[2022-02-03 15:43:34,226: ERROR/ForkPoolWorker-7] Task githuborganizer.tasks.github.update_repository_settings[829edf7c-b1a9-432a-98bc-85d3119b3809] raised unexpected: AttributeError("'bool' object has no attribute 'get'",)
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
    return self.run(*args, **kwargs)
  File "/app/githuborganizer/tasks/github.py", line 57, in update_repository_settings
    repo.update_settings()
  File "/app/githuborganizer/models/gh.py", line 242, in update_settings
    organizer_settings = self.get_organizer_settings()
  File "/app/githuborganizer/models/gh.py", line 296, in get_organizer_settings
    if self.organization.configuration.get("topics_for_assignment", True):
AttributeError: 'bool' object has no attribute 'get'
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

No branches or pull requests

1 participant