unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 25315@debbugs.gnu.org
Subject: bug#25315: diffoscope misses inputs
Date: Sat, 31 Dec 2016 23:52:23 +0100	[thread overview]
Message-ID: <87k2afzp7c.fsf@elephly.net> (raw)

I just installed diffoscope and ran it on two files and got this error:

--8<---------------cut here---------------start------------->8---
diffoscope /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49/lib/clisp-2.49/base/lispinit.mem /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49-check/lib/clisp-2.49/base/lispinit.mem
--- /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49/lib/clisp-2.49/base/lispinit.mem
+++ /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49-check/lib/clisp-2.49/base/lispinit.mem
│┄ xxd not available in path. Falling back to Python hexlify.

Traceback (most recent call last):
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/main.py", line 290, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/main.py", line 268, in run_diffoscope
    output_text(difference, print_func=print_func, color=color)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/presenters/text.py", line 59, in output_text
    print_difference(difference, print_func, color)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/presenters/text.py", line 34, in print_difference
    diff_output = color_unified_diff(difference.unified_diff)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
--8<---------------cut here---------------end--------------->8---

We either need to add xxd (from vim) or colordiff.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net

             reply	other threads:[~2016-12-31 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-31 22:52 Ricardo Wurmus [this message]
2017-01-01  9:31 ` bug#25315: more missing inputs Ricardo Wurmus
2017-01-01 20:56   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2afzp7c.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=25315@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).