[apport] bughelper crashed with parserError in parseFile()

Bug #85150 reported by Henrik Nilsen Omma
2
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Medium
Daniel Holbach
bughelper (Ubuntu)
Fix Released
Medium
Daniel Holbach

Bug Description

Binary package hint: bughelper

I believe this may be the first bughelper bug with an apport report. Fitting that the partnership would come full circle on Valentines Day :)

♥♥♥

ProblemType: Crash
Date: Wed Feb 14 18:10:36 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/bughelper
InterpreterPath: /usr/bin/python2.5
Package: bughelper 0.1~r81
ProcCmdline: /usr/bin/python /usr/bin/bughelper -A -p ubiquity --format=html
ProcCwd: /home/henrik
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
PythonArgs: ['/usr/bin/bughelper', '-A', '-p', 'ubiquity', '--format=html']
SourcePackage: bughelper
Uname: Linux isis 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

Related branches

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

I was using this home-made clue file. It's not having quotes around the 'not' that breaks it. Bad XML. It should recoer better though.

I'm not sure the bin="not" thing works though, but that's another bug ...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. Does the ubiquity.info file you have validate?

Changed in bughelper:
assignee: nobody → bughelper-dev
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

No. It validates if you add quotes around "not" (as expected).

I guess one fix would be to run bugxml -v <file> on all the clue files to be used first.

Revision history for this message
Daniel Holbach (dholbach) wrote :

------------------------------------------------------------
revno: 84
committer: Daniel Holbach <daniel@bert>
branch nick: bughelper.main
timestamp: Wed 2007-02-14 18:54:38 +0100
message:
  - warn and don't fail on invalid XML, LP: #85150
  - mention full path of config file.
------------------------------------------------------------

Changed in bughelper:
assignee: bughelper-dev → dholbach
status: Needs Info → Fix Committed
assignee: nobody → dholbach
importance: Undecided → Medium
status: Unconfirmed → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Will upload soon.

Revision history for this message
Daniel Holbach (dholbach) wrote :

 bughelper (0.1~r90) feisty; urgency=low
 .
   * New release:
     - added --gen-config, so the documentation at
       https://wiki.ubuntu.com/BugHelper/doc/writing-clue-files is consistent
       again (LP: #84489)
     - added script that retrieves wiki pages and puts them to doc/*
       after removing a few parts (ToC and footer)
     - lots of documentation updates (LP: #79222)
     - don't fail on invalid XML (LP: #85150),
     - do not crash, when local-packages-dir is undefined,
     - option to count quantity of bugs

Changed in bughelper:
status: Fix Committed → Fix Released
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.