[Reportbug-maint] Bug#555698: bugs.opera.com/wizard: raise AttributeError, 'invalid report type'

Sandro Tosi morph at debian.org
Wed Nov 11 19:42:47 UTC 2009


severity 555698 wishlist
retitle 555698 please support Opera issue tracker
thanks

Ok, it applies to 4.8 too :)

On Wed, Nov 11, 2009 at 09:22, Trent W. Buck <trentbuck at gmail.com> wrote:
> Package: reportbug
> Version: 4.8em1
> Severity: minor
>
> I have this upstream Opera package installed:
>
>  http://ftp.opera.com/pub/opera/linux/1010b1/beta1/en/i386/opera_10.10.4672.gcc4.qt4_i386.deb
>
> Here is the transcript I got when attempting to report a bug against
> it.  I suspect this is due to a change in either reportbug/debbugs or
> bugs.opera.com which the other needs to be taught about.
>
> PS: Kudos for reportbug being smart enough to magically connect to
> third-party BTSs, and kudos to Opera for making a package that uses
> that feature!
>
>    $ reportbug -S normal -s test opera
>    *** Welcome to reportbug.  Use ? for help at prompts. ***
>    Detected character set: UTF-8
>    Please change your locale if this is incorrect.
>
>    Using '"Trent W. Buck" <trentbuck at gmail.com>' as your from address.
>    Getting status for opera...
>    Checking for newer versions at packages.debian.org, incoming.debian.org and http://ftp-master.debian.org/new.html
>    Will use https protocol talking to bugs.opera.com/wizard.
>    Maintainer for opera is 'Opera Packaging Team <packager at opera.com>'.
>    Looking up dependencies of opera...
>    *** The following debconf settings were detected:
>      opera/menu-overrides:
>      opera/menu-obsolete:
>      opera/add-deb-source: true
>    Include these settings in your report [Y|n|q|?]?
>
>    Traceback (most recent call last):
>      File "/usr/bin/reportbug", line 1950, in <module>
>        main()
>      File "/usr/bin/reportbug", line 953, in main
>        return iface.user_interface()
>      File "/usr/bin/reportbug", line 1849, in user_interface
>        klass, subject, tags, body, mode, pseudos, debsumsoutput)
>      File "/usr/lib/pymodules/python2.5/reportbug/utils.py", line 715, in generate_blank_report
>        debsumsoutput=debsumsoutput)
>      File "/usr/lib/pymodules/python2.5/reportbug/bugreport.py", line 43, in __init__
>        self.type = type
>      File "/usr/lib/pymodules/python2.5/reportbug/bugreport.py", line 58, in tset
>        raise AttributeError, 'invalid report type'
>    AttributeError: invalid report type

This is an exception raised by this code snippet:

        if value not in ('debbugs', 'launchpad'):
            raise AttributeError, 'invalid report type'

In fact we don't have a way to report a bug to Opera. Honestly, I
don't know if I even want to support a non-free/not-included-in-debian
package. Anyhow, I'd be happy to merge a patch, if you'd provide one
to support it and it's not too invasive. I've retitle the bug and
adjusted teh severity.

Regards,
Sandro

PS: feel free to get me on IRC, to discuss it faster (nick = morph).

-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list