pkgdiff icon indicating copy to clipboard operation
pkgdiff copied to clipboard

Visual Diff reports are empty

Open kranthim84 opened this issue 6 years ago • 5 comments

hi, I am using 1.8 version and I am trying to compare jar files with the following options -check-byte-code -full-method-diffs

The main report shows the % change in the changed Java Classes. However, if I click on the link "diff" , it redirects me to a blank page. The HTML files are created for each of the Changed classes but they are empty.

Can you please advise what could be the reason?

BTW, I get a following warning when I run the tool WARNING: perl-File-LibMagic is not installed I think, this should not be the reason for the empty reports.

Please help.

kranthim84 avatar Sep 05 '19 10:09 kranthim84

I have figured out the reason by adding Debugs in rfcdiff shell script.

Reason: The awk version is I was using is not compatible with rfcdiff. I had to install GNU Awk to make the class level diff reports working.

kranthim84 avatar Sep 06 '19 11:09 kranthim84

Although you closed this, I'm wondering if it's worth doing some version checking so a helpful error message would be generated instead of unexpected behavior.

hobbes1069 avatar Sep 06 '19 16:09 hobbes1069

hi @hobbes1069 , True. A helpful error, would save a lot of time.

kranthim84 avatar Sep 12 '19 12:09 kranthim84

On MacOS, Install gawk use brew install gawk.

Yunme avatar Jun 01 '21 06:06 Yunme

Installing gawk is not solving the issue for me :(

mseri avatar Mar 15 '24 08:03 mseri