AttributeError: 'NoneType' object has no attribute 'contents' reading incident reports wiki page

Bug #965658 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad DevOps Dashboard
Triaged
High
Unassigned

Bug Description

The cron job that generates the dashboard index page is failing with the following error:

Traceback (most recent call last):
 File "./bin/generate-page", line 20, in <module>
   devops.generate.main()
 File "/home/lpqateam/devops/current/src/devops/generate.py", line 129, in main
   report.write_html()
 File "/home/lpqateam/devops/current/src/devops/generate.py", line 68, in write_html
   incident_reports.get_last_reports_since()
 File "/home/lpqateam/devops/current/src/devops/incidentreports.py", line 114, in get_last_reports_since
   self.get_launchpad_reports()
 File "/home/lpqateam/devops/current/src/devops/incidentreports.py", line 97, in get_launchpad_reports
   incident_report_name = report.find(name="a").contents[1]
AttributeError: 'NoneType' object has no attribute 'contents'

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Ursula provided this patch: https://devpad.canonical.com/~matsubara/ursula-patch.diff to editmoin which fixed the issue. The issue happens because the non-patched version of editmoin can't login to the wiki

Revision history for this message
Diogo Matsubara (matsubara) wrote :

That patch didn't work and wgrant disabled the script. Could someone on the maintenance team take a look at the issue, please?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.