status.linaro.org: update log has python backtraces from "roadmap_card_html", line 73, in render_body

Bug #888806 reported by Peter Maydell on 2011-11-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
work-items-tracker
Undecided
Unassigned

Bug Description

status.linaro.org's update log seems to have a lot of python backtraces in it. Most recently:
Traceback (most recent call last):
  File "./html-report", line 627, in <module>
    method(store, opts)
  File "./html-report", line 522, in roadmap_card
    "roadmap_card.html", data, theme=opts.theme)
  File "/srv/status.linaro.org/work-items-tracker/report_tools.py", line 1186, in fill_template
    return template.render_unicode(**data)
  File "/usr/lib/pymodules/python2.6/mako/template.py", line 138, in render_unicode
    return runtime._render(self, self.callable_, args, data, as_unicode=True)
  File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 364, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
  File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 381, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 414, in _exec_template
    callable_(context, *args, **kwargs)
  File "base_html", line 68, in render_body
  File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 255, in <lambda>
    return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
  File "body_html", line 86, in render_body
  File "/usr/lib/pymodules/python2.6/mako/runtime.py", line 255, in <lambda>
    return lambda *args, **kwargs:callable_(self.context, *args, **kwargs)
  File "roadmap_card_html", line 73, in render_body
TypeError: 'NoneType' object is unsubscriptable

There are also some that look like this:
Traceback (most recent call last):
  File "./collect_roadmap", line 257, in <module>
    main()
  File "./collect_roadmap", line 249, in main
    kanban_import(collector, cfg, opts.board, opts.api_token)
  File "./collect_roadmap", line 145, in kanban_import
    kanban_import_cards(collector, tasks, status_list, card_types)
  File "./collect_roadmap", line 125, in kanban_import_cards
    papyrs_data = papyrs_import(collector, external_link)
  File "./collect_roadmap", line 152, in papyrs_import
    page = get_json_data(requirement_url + '?json&auth_token=e8a2801e4f0f')
  File "./collect_roadmap", line 44, in get_json_data
    data = simplejson.load(urllib2.urlopen(url))
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 383, in open
    protocol = req.get_type()
  File "/usr/lib/python2.6/urllib2.py", line 244, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: ?json&auth_token=e8a2801e4f0f
collect_roadmap failed for 11.11

(I had originally thought these errors were preventing updates, but it looks like the site is updating and it just hadn't been the requisite four hours since the blueprint update.)

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

Other bug subscribers