Bug#897346: FIXME

Gilles Fernandez gilles.fernandez10 at gmail.com
Mon May 7 13:43:18 BST 2018


Hi Chris,

Very sorry for being that slow… I’ll be on vacation starting next week, I’ll get back to you at that point and do it properly with a reproducible pdf example and everything…

Here is the output with debug flag though:
→ diffoscope --debug a.pdf b.pdf
2018-05-03 09:23:28 D: diffoscope.presenters.formats: Will generate the following formats: text
2018-05-03 09:23:28 D: diffoscope.main: Starting diffoscope 93
2018-05-03 09:23:28 D: diffoscope.locale: Normalising locale, timezone, etc.
2018-05-03 07:23:28 D: diffoscope.main: Starting comparison
2018-05-03 07:23:28 D: diffoscope.comparators: Loaded 66 comparator classes
2018-05-03 07:23:28 D: diffoscope.comparators.utils.specialize: Using PdfFile for a.pdf
2018-05-03 07:23:28 D: diffoscope.comparators.utils.specialize: Using PdfFile for b.pdf
2018-05-03 07:23:28 D: diffoscope.comparators.utils.compare: Comparing a.pdf (PdfFile) and b.pdf (PdfFile)
2018-05-03 07:23:28 D: diffoscope.comparators.utils.file: File.has_same_content: <<class 'abc.PdfFile'> a.pdf> <<class 'abc.PdfFile'> b.pdf>
2018-05-03 07:23:28 D: diffoscope.comparators.utils.command: Executing pdftotext a.pdf -
2018-05-03 07:23:28 D: diffoscope.comparators.utils.command: Executing pdftotext b.pdf -
2018-05-03 07:23:28 D: diffoscope.diff: Running diff -aU7 /var/folders/2j/y9vm048s00xgj0c5_s63s43m0000gn/T/tmps4e0b4q0_diffoscope/fifo1 /var/folders/2j/y9vm048s00xgj0c5_s63s43m0000gn/T/tmps4e0b4q0_diffoscope/fifo2
2018-05-03 07:23:28 D: diffoscope.diff: diff -aU7 /var/folders/2j/y9vm048s00xgj0c5_s63s43m0000gn/T/tmps4e0b4q0_diffoscope/fifo1 /var/folders/2j/y9vm048s00xgj0c5_s63s43m0000gn/T/tmps4e0b4q0_diffoscope/fifo2: returncode 1, parsed True
2018-05-03 07:23:28 D: diffoscope.comparators.utils.command: Executing pdftk a.pdf output - uncompress

Best,

Gilles
> On 01 May 2018, at 17:56, Chris Lamb <lamby at debian.org> wrote:
> 
> retitle 897346 Stalls on MacOS 
> found 897346 93-1
> tags 897346 + moreinfo
> thanks
> 
> Hi Gilles,
> 
> First, thanks for filing this!
> 
>> But now when I run it on 2 PDFs, I get the program on stall, not doing 
>> anything after a few seconds. top tells me there is no diffoscope 
>> running, but there is a pdftk in sleep mode.
> 
> Hm, interesting. Can you provide the full output of:
> 
>  $ diffoscope --debug a.pdf b.pdf
> 
> 
>> I had a few dependencies problems with pdftotext and pdftk (I’m under 
>> Mac OS), but in the end found it and installed it.
> 
> Could you elaborate here? Is this something we should know about
> and/or is a bug? (If so, please file a separate issue!)
> 
> 
>> Version: FIXME
>           ^^^^^
> Whoops! These headers are "meaningful" in that the bugtracker
> parses certain field names — you wanted to put "93" here instead of
> inventing a new header called "diffoscope version".
> 
>> OS: Mac OSX 10.11.6
>> pdftotext version: 3.03
>> pdftk version: 2.02
> 
> Thank you for providing this detail but, whilst useful, the bug
> tracker does not know about these fields. See <https://
> www.debian.org/Bugs/Reporting> for more info :)
> 
> 
> Best wishes,
> 
> -- 
>      ,''`.
>     : :'  :     Chris Lamb
>     `. `'`      lamby at debian.org / chris-lamb.co.uk
>       `-



More information about the Reproducible-builds mailing list