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: Bug object has no attribute 'comments'. #9

Closed
nixpanic opened this issue May 18, 2017 · 0 comments
Closed

AttributeError: Bug object has no attribute 'comments'. #9

nixpanic opened this issue May 18, 2017 · 0 comments

Comments

@nixpanic
Copy link
Member

Traceback (most recent call last):
  File "gluster-bugs.py", line 175, in <module>
    main()
  File "gluster-bugs.py", line 139, in main
    (age, updated, 1 if stale else 0, 1 if len(task.comments) == 1 else 0))
  File "/usr/lib/python2.7/site-packages/bugzilla/bug.py", line 110, in __getattr__
    raise AttributeError(msg)
AttributeError: Bug object has no attribute 'comments'.
If 'comments' is a bugzilla attribute, it may not have been cached when the bug was fetched. You may want to adjust your
include_fields for getbug/query.
nixpanic added a commit to nixpanic/gluster-bugs-webui that referenced this issue May 18, 2017
An update of `python-bugzilla` does not return the comments by default
anymore. We need them to parse for updates from Gerrit.

Fixes: gluster#9
Signed-off-by: Niels de Vos <ndevos@redhat.com>
nixpanic added a commit that referenced this issue Jul 13, 2017
An update of `python-bugzilla` does not return the comments by default
anymore. We need them to parse for updates from Gerrit.

Fixes: #9
Signed-off-by: Niels de Vos <ndevos@redhat.com>
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