Bug 295276 (drkonqi-bz4)

Summary: New bugs.kde.org has broken the crash reporting assistant
Product: [Applications] drkonqi Reporter: Sam Lade <sam>
Component: generalAssignee: George Kiagiadakis <mail>
Status: RESOLVED FIXED    
Severity: normal CC: bcooksley, bigjools, dilfridge, gaboriron, giecrilj, gortab, ht990332, jason, kde, kevin.kofler, mail, marcello, Mathias.Homann, mgolden, moky.math, nalvarez, rasasi78, sapien_red, sven.burmeister, thomas.sisson.1, thomas, toma, venmani43
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: drkonqi-unhandled-bugzilla-error

Description Sam Lade 2012-03-03 22:11:17 UTC
Attempting to file a bug using the crash handler's crash reporting assistant now appears to be broken. It fails at the "Login to the KDE Bugtracking System" step with "Error when trying to login: /Unknown response from the server./" It pops up a window displaying what appears to be the front page of Bugzilla, and is logged in.
Comment 1 Ben Cooksley 2012-03-03 22:18:36 UTC
Unfortunately Dr Konqi will need to adapt to the new Bugzilla i'm afraid.
Comment 2 Dimitrios Glentadakis 2012-03-04 09:07:31 UTC
Same error here
KDE 4.6.5
Mageia 1
Comment 3 Ben Cooksley 2012-03-04 09:26:31 UTC
Please do not report "me too's" in case of this bug. All currently released versions of KDE, including the pending 4.8.1 will be affected by this.
Comment 4 Ben Cooksley 2012-03-05 18:42:56 UTC
*** Bug 295364 has been marked as a duplicate of this bug. ***
Comment 5 George Kiagiadakis 2012-03-06 09:04:38 UTC
*** Bug 295401 has been marked as a duplicate of this bug. ***
Comment 6 George Kiagiadakis 2012-03-07 10:07:43 UTC
*** Bug 295453 has been marked as a duplicate of this bug. ***
Comment 7 George Kiagiadakis 2012-03-07 14:41:06 UTC
*** Bug 295470 has been marked as a duplicate of this bug. ***
Comment 8 George Kiagiadakis 2012-03-07 17:48:18 UTC
*** Bug 295485 has been marked as a duplicate of this bug. ***
Comment 9 George Kiagiadakis 2012-03-08 10:32:36 UTC
*** Bug 295510 has been marked as a duplicate of this bug. ***
Comment 10 Christopher Yeleighton 2012-03-08 14:32:25 UTC
(In reply to comment #1)
> Unfortunately Dr Konqi will need to adapt to the new Bugzilla i'm afraid.
Observe that it is a gazillion times easier to fix the server than to fix all clients.  Such API changes should expose a compatible interface for at least 2 years after server upgrade.  It definitely looks like a bug in Bugzilla.
Comment 11 George Kiagiadakis 2012-03-08 14:58:52 UTC
(In reply to comment #10)
> (In reply to comment #1)
> > Unfortunately Dr Konqi will need to adapt to the new Bugzilla i'm afraid.
> Observe that it is a gazillion times easier to fix the server than to fix
> all clients.  Such API changes should expose a compatible interface for at
> least 2 years after server upgrade.  It definitely looks like a bug in
> Bugzilla.

Not really, Drkonqi is to blame here, because it parses html and tries to behave like a user clicking on forms on the website. The correct and more compatible way is to use xml-rpc.
Comment 12 Nicolás Alvarez 2012-03-09 03:24:15 UTC
(In reply to comment #10)
> Such API changes should expose a compatible interface for at
> least 2 years after server upgrade.  It definitely looks like a bug in
> Bugzilla.
DrKonqi was never using an "API" with any compatibility promise at all; it was scraping the HTML. It's a bug in DrKonqi for using an unreliable way to talk to Bugzilla.
Comment 13 Mathias Homann 2012-03-09 08:55:56 UTC
doesn't change the fact that changing bugzilla "on the fly" like this shows a lack of planning.

you guys should have told the drkonqi developers way ahead what's coming, and then waited until they release an updated drkonqi that works with bugzilla independend of theme and html.
Comment 14 Vojtěch Zeisek 2012-03-09 10:50:45 UTC
Created attachment 69408 [details]
drkonqi-unhandled-bugzilla-error

Same problem here, openSUSE 12.1, KDE 4.7.4. I tried to report bug to Akonadi Google, but Drkonqui failed to login to Bugzilla ("unknown, invalid response from the server") and produced output in attachment.
Comment 15 Nicolás Alvarez 2012-03-09 18:39:13 UTC
(In reply to comment #14)
> Same problem here, openSUSE 12.1, KDE 4.7.4.
As Ben said, "same here" reports are pointless; it's known that it fails for every released KDE version.

By the way, we're researching ways to make changes in the server to let the old DrKonqi work again.
Comment 16 Nicolás Alvarez 2012-03-09 18:43:54 UTC
*** Bug 295359 has been marked as a duplicate of this bug. ***
Comment 17 mgolden 2012-03-09 19:02:16 UTC
It should not be hard to fix this bug on the server side.  If you look here:

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/kde-runtime/oneiric/view/head:/drkonqi/bugzillalib.cpp

on line 250 you will see that what DrKonqi is looking for is the words "Managing Your Account" somewhere on the screen that responds to the login.  All that needs to happen to fix this issue quickly is to add an HTML comment with this text in it somewhere on that page:

<!-- Managing Your Account -->

I agree that for future versions of DrKonqi using a well-formed API is preferable, but you want to fix the site for all the code that is already deployed, something like this will need to be done on the server side.
Comment 18 gv 2012-03-09 21:08:37 UTC
happens in the ppa complied 4.8 ALL THE TIME.
Comment 19 Tom Albers 2012-03-09 21:22:03 UTC
We have now asked twice to not post "me to's". Do not do it. We are aware of the problem.

KDE Sysadmin
Comment 20 Jekyll Wu 2012-03-09 21:33:57 UTC
*** Bug 295637 has been marked as a duplicate of this bug. ***
Comment 21 George Kiagiadakis 2012-03-10 10:11:15 UTC
*** Bug 295662 has been marked as a duplicate of this bug. ***
Comment 22 Ben Cooksley 2012-03-10 13:15:51 UTC
Thanks to some work by George and myself, pre-4.9 and unpatched Dr Konqi installs should now be able to communicate with KDE Bugzilla again.
Comment 23 Raúl 2012-03-13 21:36:23 UTC
Thanks a lot for your effort in solving this issue which doesn't seem to be very easy to solve so gracefully. I can confirm DrKonqui is able to cope with bugzilla again. KDE 4.7.4 here.
Comment 24 Thomas Sisson 2013-04-02 18:40:16 UTC
(In reply to comment #3)
> Please do not report "me too's" in case of this bug. All currently released
> versions of KDE, including the pending 4.8.1 will be affected by this.

I'm posting a "Me Too" anyway. This is not RESOLVED. It is an active bug. By bug standards this should be marked as Critical because it affects all users.

Why do you expect us to follow the rules when you don't.
Comment 25 Tom Albers 2013-04-02 18:42:42 UTC
This particular problem has been resolved. If you have any issues at this moment, feel free to file a new bug.

Best,

Tom Albers
KDE Sysadmin
Comment 26 eionmac 2016-10-09 09:42:02 UTC
reporting broke when Vivaldi browser broke, neither report or Vivaldi operated correctly. Major flashes of 'lightning' strike objects across screen. Inability to report faults
Comment 27 mgolden 2016-10-10 19:32:27 UTC
elonmac: whatever you are seeing is not this bug. This bug wasn't about KDE's DrKonqi, and it really was fixed years ago.