Skip Menu |

This queue is for tickets about the WWW-Dict-Leo-Org CPAN distribution.

Report information
The Basics
Id: 120563
Status: resolved
Priority: 0/
Queue: WWW-Dict-Leo-Org

People
Owner: tlinden [...] cpan.org
Requestors: tlinden [...] cpan.org
Cc: gregoa [...] cpan.org
rohieb [...] rohieb.name
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.45
Fixed in: 2.00



CC: "Roland Hieber" <rohieb [...] rohieb.name>
Subject: DEB-Bug#857238: /usr/bin/leo: throws HTTP 404
Show quoted text
> Package: libwww-dict-leo-org-perl > Version: 1.45-1 > Severity: grave > File: /usr/bin/leo > Tags: upstream > Justification: renders package unusable > > (CC'ed the upstream maintainer because this is most probably an error in > the upstream part, and because the --help output says so :-)) > > Dear Maintainers, > > I use /usr/bin/leo daily, but it stopped working today: > > $ leo -d test > %DEBUG: connecting to site: > %DEBUG: GET /dictQuery/m-vocab/ende/de.html?deStem=standard&cmpType=relaxed&spellToler=standard&searchLoc=0&lp=ende&search=test HTTP/1.0 > %DEBUG: connection: done > got HTTP error 404! > at /usr/bin/leo line 248. > > That URL does indeed throw a 404, even in the browser :-) > > A quick look on the LEO homepage shows that both the desktop and the > mobile version request their results via XML [0]. > > [0]: http://dict.leo.org/dictQuery/m-vocab/ende/query.xml?lp=ende&lang=de&search=test&side=both&order=basic&partial=show&sectLenMax=16&n=1&filtered=-1&trigger=&t=2017-03-09T02:05:33.714Z > > Cheers, > - Roland
RT-Send-CC: rohieb [...] rohieb.name
So, this is going to take a long time to fix. They didn't just change a little bit in the uri, but the whole interface. That is, almost all parameters have changed and the output is now XML. While XML in itself is not a bad thing, I'll need to figure out the structure in order to render the results correctly on the console. And I'll need to rewrite major parts of the tool and the backend module. This will take weeks (if not months) as I do not have much time for such crab these days. So, please tell to whomsoever is responsible to close that debian bug as 'wontfix' (or mark as 'stalled') and wait if something happens here. If someone has a patch which fixes the issue, please post it here. I'll not track foreign bug tools or mailing lists. However, a pull request on github will do. Thanks, Tom
Subject: Re: [rt.cpan.org #120563] DEB-Bug#857238: /usr/bin/leo: throws HTTP 404
Date: Fri, 10 Mar 2017 02:23:12 +0100
To: bug-WWW-Dict-Leo-Org [...] rt.cpan.org
From: Roland Hieber <rohieb [...] rohieb.name>
Okay, thanks for the time estimate, I'll update the Debian tracker. metacpan does not seem to link to a GitHub repo, could you please tell where it is? :-) - Roland
Subject: Re: [rt.cpan.org #120563] DEB-Bug#857238: /usr/bin/leo: throws HTTP 404
Date: Fri, 10 Mar 2017 02:23:12 +0100
To: bug-WWW-Dict-Leo-Org [...] rt.cpan.org
From: Roland Hieber <rohieb [...] rohieb.name>
Okay, thanks for the time estimate, I'll update the Debian tracker. metacpan does not seem to link to a GitHub repo, could you please tell where it is? :-) - Roland
Subject: Re: [rt.cpan.org #120563] DEB-Bug#857238: /usr/bin/leo: throws HTTP 404
Date: Sat, 11 Mar 2017 06:54:40 +0100
To: bug-WWW-Dict-Leo-Org [...] rt.cpan.org
From: Roland Hieber <rohieb [...] rohieb.name>
On 09.03.2017 21:42, T. Linden via RT wrote: Show quoted text
> However, a pull request on github will do.
OK, I managed to get a rather hacky Pull Request together… [0]: https://github.com/TLINDEN/leo/pull/1 - Roland
RT-Send-CC: rohieb [...] rohieb.name
On 2017-03-11 00:55:02, rohieb@rohieb.name wrote: Show quoted text
> On 09.03.2017 21:42, T. Linden via RT wrote:
> > However, a pull request on github will do.
> > OK, I managed to get a rather hacky Pull Request together… > > [0]: https://github.com/TLINDEN/leo/pull/1 > > - Roland
CPAN.pm users may use the following distroprefs file for automatic patching: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/WWW-Dict-Leo-Org.yml
RT-Send-CC: rohieb [...] rohieb.name
Patch applied, fixed in version 2.00. - Tom