Bug 1695642
| Summary: | New bug for non-existing component: Can\'t call method "sub_component_count" on an undefined value | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Viliam Križan <vkrizan> |
| Component: | Creating/Changing Bugs | Assignee: | PnT DevOps Devs <hss-ied-bugs> |
| Status: | CLOSED DUPLICATE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.0 | CC: | khong, mkonecny, qgong |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-11 22:04:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Viliam Križan
2019-04-03 13:36:11 UTC
I'm now having the same issue on the-new-hotness which is creating issues in Bugzilla to notify Fedora maintainers about new versions.
Here is the full traceback from the-new-hotness:
```
raceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/fedora_messaging/twisted/protocol.py", line 239, in _read
yield threads.deferToThread(consumer.callback, message)
File "/usr/lib64/python3.7/site-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/lib64/python3.7/site-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/lib64/python3.7/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib64/python3.7/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python3.7/site-packages/hotness/consumers.py", line 161, in __call__
self.handle_anitya_version_update(msg)
File "/usr/local/lib/python3.7/site-packages/hotness/consumers.py", line 206, in handle_anitya_version_update
self._handle_anitya_update(upstream, pname, msg)
File "/usr/local/lib/python3.7/site-packages/hotness/consumers.py", line 281, in _handle_anitya_update
projectid, package, upstream, version, release, url
File "/usr/local/lib/python3.7/site-packages/hotness/bz.py", line 133, in handle
bug = self.create_bug(**kwargs)
File "/usr/local/lib/python3.7/site-packages/hotness/bz.py", line 268, in create_bug
new_bug = self.bugzilla.createbug(**bug_dict)
File "/usr/lib/python3.7/site-packages/bugzilla/base.py", line 1741, in createbug
rawbug = self._proxy.Bug.create(data)
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.7/site-packages/bugzilla/transport.py", line 104, in _ServerProxy__request
self)._ServerProxy__request(methodname, params)
File "/usr/lib64/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/lib/python3.7/site-packages/bugzilla/transport.py", line 201, in request
return self._request_helper(url, request_body)
File "/usr/lib/python3.7/site-packages/bugzilla/transport.py", line 179, in _request_helper
return self.parse_response(response)
File "/usr/lib/python3.7/site-packages/bugzilla/transport.py", line 154, in parse_response
return unmarshaller.close()
File "/usr/lib64/python3.7/xmlrpc/client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32000: 'Can\'t call method "sub_component_count" on an undefined value at /var/www/html/bugzilla/extensions/SubComponents/Extension.pm line 931.\n'>
```
I'm trying to create a bug for component `golang-github-Masterminds-vcs`, which is already created here https://bugzilla.redhat.com/show_bug.cgi?id=1435628, but instead of getting error that the bug is already existing I'm getting above error.
Additional info:
This isn't happening on staging version of the-new-hotness which is communicating with http://partner-bugzilla.redhat.com/ instead of bugzilla.redhat.com.
*** This bug has been marked as a duplicate of bug 1679385 *** |