Invalid colour specification for setting diff_cmd (diff) in /etc/colordiffrc

Bug #1590025 reported by Manuel López-Ibáñez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
colordiff (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu 16.04

The default /etc/colordiffrc produces this warning:

Invalid colour specification for setting diff_cmd (diff) in /etc/colordiffrc

The key is to comment out the line for diff_cmd:

# Example colordiffrc file for dark backgrounds
#
# Set banner=no to suppress authorship info at top of
# colordiff output
banner=no
# By default, when colordiff output is being redirected
# to a file, it detects this and does not colour-highlight
# To make the patch file *include* colours, change the option
# below to 'yes'
color_patches=no
# Sometimes it can be useful to specify which diff command to
# use: that can be specified here
#diff_cmd=diff
#
# available colours are: white, yellow, green, blue,
# cyan, red, magenta, black,
# darkwhite, darkyellow, darkgreen,
# darkblue, darkcyan, darkred,
# darkmagenta, darkblack
#
# Can also specify 'none', 'normal' or 'off' which are all
# aliases for the same thing, namely "don't colour highlight
# this, use the default output colour"
#
plain=off
newtext=darkgreen
oldtext=darkred
diffstuff=darkcyan
cvsstuff=cyan

Revision history for this message
Manuel López-Ibáñez (manuellopezibanez) wrote :

launchpad.net does not update the package value if edited manually instead of via "Choose..."? Oh, well...

affects: apport (Ubuntu) → colordiff (Ubuntu)
Revision history for this message
davee (davee-sungate) wrote :

I can not reproduce this bug with the version of colordiff you claim you are using.

As far as I can see the error message you have posted can only occur if /etc/colordiffrc has come from a *newer* version of colordiff than your colordiff script itself. In fact, the error you see must have been generated by a version of colordiff older than 1.0.11, since support for diff_cmd was introduced in that release.

Please ensure that you are calling the correct colordiff, i.e. check path (etc.) for multiple installations.

Revision history for this message
davee (davee-sungate) wrote :

As per my comment from last year above, I don't believe this is a bug. Setting report as INCOMPLETE.

Changed in colordiff (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for colordiff (Ubuntu) because there has been no activity for 60 days.]

Changed in colordiff (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.