https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Web browser: --- Bug ID: 55290 Summary: Patch I submitted for djvutext.py was not applied correctly Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1112/ Reported by: dischead Created on: 2010-01-08 19:37:48 Subject: Patch I submitted for djvutext.py was not applied correctly Original description: In ID 2927811, I submitted a patch to djvutext.py so that it would call DjVuLibre's djvutxt binary with correct command-line options.
A change was checked into Subversion (r7865). However, this change was incorrect. It's possible that the edit was made by hand rather than applying the patch I provided.
The "--page" option to djvutxt must have a space instead of an equals sign between itself and the page number. If an equals sign is there, djvutxt will ignore the option and dump ALL text in the given DjVu file. This is likely to cause incorrect behavior in djvutext.py.
So all that's needed is to change the equals sign to a space. I'm attaching a new patch, but I think this can be done by hand. ;-)
Thanks!
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Re-fix usage of DjVuLibre's djvutxt binary
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1112
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low CC| |ladsgroup@gmail.com
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 91868 had a related patch set uploaded by Ladsgroup: a minor fix for djvutext.py
https://gerrit.wikimedia.org/r/91868
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |INVALID
--- Comment #3 from Amir Ladsgroup ladsgroup@gmail.com --- 1- It's against the documentation: http://djvu.sourceforge.net/doc/man/djvutxt.html
2- I checked and It didn't work in your way but It worked when I used "=" (the old system. http://fa.wikisource.org/wiki/%D8%A8%D8%B1%DA%AF%D9%87:Ladsgroup/1
So I close this bug as INVALID
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 91868 abandoned by Ladsgroup: a minor fix for djvutext.py
Reason: You're right I checked it
https://gerrit.wikimedia.org/r/91868
pywikipedia-bugs@lists.wikimedia.org