Closed canasdiaz closed 10 years ago
Error still alive in some cases ...
[13:03:18] /usr/local/bin/bicho --db-user-out=root --db-password-out= --db-database-out=lcanas_bicho_puppetlabs_2453 -d 0 -b jira -u https://tickets.puppetlabs.com/browse/FACT >> /home/owl/automator/automatic_retrieval/puppetlabs//log/launch.log 2>&1
Checking URL: https://tickets.puppetlabs.com
Running Bicho with delay of 0 seconds
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 877, in analyze_bug_list
issues = handler.getIssues()
File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 742, in getIssues
bicho_bugs.append(self.getIssue(bug))
File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 785, in getIssue
changes = parser.parse_changes()
File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 385, in parse_changes
rel = a_link.attrs[1]
AttributeError: 'NoneType' object has no attribute 'attrs'
Tickets to be retrieved: 139
The error appears parsing the history of this bug: https://tickets.puppetlabs.com/browse/FACT-23
It crashes when gets this HTML
<span class="user-hover user-avatar" rel="hailee">.......</span>
and it is expecting an "A" tag instead.
The error was analyzing this code
In JIRA 5.x we had this one