All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhi Hui Li <zhihuili@linux.vnet.ibm.com>
To: QEMU-devel <qemu-devel@nongnu.org>
Cc: zhihuili@cn.ibm.com
Subject: [Qemu-devel] A error abou t gtester-report, can anyone help me, thank you !
Date: Wed, 16 May 2012 15:51:49 +0800	[thread overview]
Message-ID: <4FB35C95.9030503@linux.vnet.ibm.com> (raw)

When I use gtest.

Compiler did not have a problem, the use of gtester implementation and 
generate xml file testlog also no problem, but in the use of
gterster-report, the output is as follows:

gtester-report  test.log > test-report.html



Traceback (most recent call last):
   File "/usr/bin/gtester-report", line 492, in <module>
     main()
   File "/usr/bin/gtester-report", line 486, in main
     HTMLReportWriter(rr.get_info(), rr.binary_list()).printout()
   File "/usr/bin/gtester-report", line 350, in printout
     self.handle_info ()
   File "/usr/bin/gtester-report", line 244, in handle_info
     self.oprint ('<h3>Package: %(package)s, version: 
%(version)s</h3>\n' % self.info)
KeyError: 'package'
li@mm:~/ceshi/g_test$ gtester-report test.log > test-report.html
Traceback (most recent call last):
   File "/usr/bin/gtester-report", line 492, in <module>
     main()
   File "/usr/bin/gtester-report", line 486, in main
     HTMLReportWriter(rr.get_info(), rr.binary_list()).printout()
   File "/usr/bin/gtester-report", line 350, in printout
     self.handle_info ()
   File "/usr/bin/gtester-report", line 244, in handle_info
     self.oprint ('<h3>Package: %(package)s, version: 
%(version)s</h3>\n' % self.info)
KeyError: 'package'


I don't know why the error " KeyError: 'package' " appear. can anybody 
help me ?
Thank you very much!

             reply	other threads:[~2012-05-16  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16  7:51 Zhi Hui Li [this message]
2012-05-16 13:14 ` [Qemu-devel] A error abou t gtester-report, can anyone help me, thank you ! Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB35C95.9030503@linux.vnet.ibm.com \
    --to=zhihuili@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=zhihuili@cn.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.