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!
Re-fix usage of DjVuLibre's djvutxt binary