[text-branch] "Style 'bugnumbers.wiki' not found"

Bug #181153 reported by Brian Murray
4
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Undecided
Unassigned

Bug Description

I ran into the following error when testing the text.dev branch of bughelper

1) using the text.dev branch of bughelper revision number 220
2) the command I used was './bugnumbers -p inkscape --status "Fix Committed" --sort importance --format wiki'
3) the error message I received was:

/home/theman/source_trees/bughelper.text/launchpadbugs/text_bug.py:22: FutureWarning: text_bug API not stable yet
  warnings.warn("text_bug API not stable yet", FutureWarning)
/home/theman/source_trees/bughelper.text/launchpadbugs/text_buglist.py:8: FutureWarning: text_buglist API not stable yet, LP returns a list of all bugs ever reported
  warnings.warn("text_buglist API not stable yet, LP returns a list of all bugs ever reported", FutureWarning)
"Style 'bugnumbers.wiki' not found"

Since it looks like it may be a python-launchpad-bugs issue I have revision 99 of the text branch of python-launchpad-bugs.

Revision history for this message
Markus Korn (thekorn) wrote :

Hi Brian,
no it is not a similar issue, it is simply because there is not wiki-output-format for bugnumbers defined.
I'm not sure if there ever was one or if we lost it while merging and re-merging.

How should such an output look like? - this can easily be implemented by a few lines of code.

Markus

Changed in bughelper:
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

If it doesn't exist perhaps the format should be similar to what 'hugdaylist' from ubuntu-dev-tools produces. I believe dholbach uses this for setting up bug lists on wiki pages and I use something similar. The output of my script produces:

||<rowstyle="background-color: ;"> [http://launchpad.net/bugs/180226 180226 ] || kernel oops - Assertion failure in do_get_write_access() || ||

It looks like his uses '<rowbgcolor="#FFEBBB">' so maybe we can come to an agreement as to what the first cell should be.

Revision history for this message
Markus Korn (thekorn) wrote :

Implemented in text.dev

------------------------------------------------------------
revno: 228
committer: Markus Korn <email address hidden>
branch nick: text.dev
timestamp: Thu 2008-01-10 00:05:03 +0100
message:
  added wiki-format output for bugnumbers (fixes Bug 181153)
------------------------------------------------------------

I attached an example output, what do you think?

Markus

Changed in bughelper:
status: Incomplete → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

I personally don't need the Status/Importance information. I don't think dholbach does either, but I'll subscribe him.

Revision history for this message
Markus Korn (thekorn) wrote :

the patch attached to comment #3 landed into hardy (version 0.2.12)
please open a new bug if the output needs some more improvements

Markus

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.