GNU bug report logs - #68948
highlight error, cannot open filetypes.conf: No such file or directory

Previous Next

Package: guix;

Reported by: chris <chris <at> bumblehead.com>

Date: Tue, 6 Feb 2024 11:04:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: chris <chris <at> bumblehead.com>
To: 68948 <at> debbugs.gnu.org
Cc: chris <at> bumblehead.com
Subject: bug#68948: highlight error, cannot open filetypes.conf: No such file or directory
Date: Tue, 6 Feb 2024 03:01:30 -0800
There is an issue using "highlight"

https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/pretty-print.scm#n353
http://www.andre-simon.de/doku/highlight/en/highlight.php#ch3_8

This unexpected error is reproduced easily with the command below: "cannot open filetypes.conf"
```
$ echo "(highlight (package bug))" | highlight -O xterm256 --syntax lisp
cannot open filetypes.conf: No such file or directory
(highlight (package bug))
```

Creating `~/.highlight/filetypes.conf` did not resolve the error.
Setting "HIGHLIGHT_DATADIR=$HOME/.config/highlight/" did not resolve the error.

Any advice is welcome. Thank you :)

Chris




This bug report was last modified 1 year and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.