GNOME Bugzilla – Bug 668035
gtester-report broken with python 2.7.2 and glib 2.30.1
Last modified: 2017-10-11 09:43:15 UTC
Unless I manually add a <info> element to gtester, I get the following error: Traceback (most recent call last):
+ Trace 229459
main()
HTMLReportWriter(rr.get_info(), rr.binary_list()).printout()
self.handle_info ()
self.oprint ('<h3>Package: %(package)s, version: %(version)s</h3>\n' % self.info)
This is on a Fedora 16 distribution, which adds no gtest-related patches to the upstream tarball.
Oops, cut out the end of the trace: KeyError: 'package'
Created attachment 221181 [details] [review] Ignore 'package' and 'version' if missing Fix is easy enough, just ignore 'package' and 'version' if they are missing. Includes a small change to the following line for 'revision', since if the revision tag is missing, it will fail with another exception.
Hi, this patch works, can we push it ?
Review of attachment 221181 [details] [review]: Looks good; might as well push it, even though gtester-report is heavily deprecated in favour of glib-tap.mk now.