Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-09-01 Thread Vincent Lefevre
Control: found -1 3.04-4
Control: clone -1 -2 -3
Control: tags -1 patch
Control: retitle -2 xpdf: add support for some old config file commands
Control: severity -2 wishlist
Control: retitle -3 xpdf: the xpdfrc(5) man page lists old config file commands
Control: severity -3 normal

On 2017-08-19 13:56:48 +0200, Paul Slootman wrote:
> > The suggested Workaround of adding "include /etc/xpdf/includes"
> > is not helpful as this line is already at the end of the
> > /etc/xpdf/xpdfrc file in the stock Debian Stretch release :(
> 
> Actually, at this time the fix is to actually REMOVE that line.

Yes, I haven't seen any suggestion to add that line.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848671#25
suggests to comment this line out.

> That works for English-speaking (and other european) locales, but might
> suck for those using japanse, thai, etc.

I doubt that this would change anything for them since the commands
are no longer recognized. So, I would say that removing this line
(or commenting it out) would be the right fix (or workaround) for
now to avoid the annoying error messages. Users can still add their
own config either on the system side by modifying /etc/xpdf/xpdfrc
or on the user side by adding a ~/.xpdfrc file (in which case
/etc/xpdf/xpdfrc is ignored entirely), and may propose new config
solutions in new bug reports.

I've cloned this bug to 2 new bugs:

* The config file commands are no longer recognized since the
poppler-xpdfparams.patch patch from 3.04-2: one can see some command
handling code commented out, and this ends with an error:

 } else {
   error(errConfig, -1, "Unknown config file command '{0:t}' ({1:t}:{2:d})",
cmd, fileName, line);

and

+  } else if (!cmd->cmp("psAlwaysRasterize") ||
+ !cmd->cmp("enableT1lib") ||
+ !cmd->cmp("drawAnnotations") ||
+ !cmd->cmp("nameToUnicode") ||
+ !cmd->cmp("cidToUnicode") ||
+ !cmd->cmp("unicodeToUnicode") ||
+ !cmd->cmp("unicodeMap") ||
+ !cmd->cmp("cMapDir") ||
+ !cmd->cmp("toUnicodeDir") ||
+ !cmd->cmp("fontDir") ||
+ !cmd->cmp("fontFileCC") ||
+ !cmd->cmp("psResidentFont") ||
+ !cmd->cmp("psResidentFont16") ||
+ !cmd->cmp("psResidentFontCC")) {
+error(errConfig, -1,
+  "Some work needs to be done to suppport this option in the 
Poppler version of xpdf");
   }

which are the error messages one gets. So, the removal has been done
on purpose and is apparently due to the new poppler versions.

* The xpdfrc(5) man page still lists these old config file commands.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Processed: Re: Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-09-01 Thread Debian Bug Tracking System
Processing control commands:

> found -1 3.04-4
Bug #848671 [xpdf] xpdf: Many errors "Config Error: Unknown config file 
command..."
Marked as found in versions xpdf/3.04-4.
> clone -1 -2 -3
Bug #848671 [xpdf] xpdf: Many errors "Config Error: Unknown config file 
command..."
Bug 848671 cloned as bugs 873952-873953
> tags -1 patch
Bug #848671 [xpdf] xpdf: Many errors "Config Error: Unknown config file 
command..."
Added tag(s) patch.
> retitle -2 xpdf: add support for some old config file commands
Bug #873952 [xpdf] xpdf: Many errors "Config Error: Unknown config file 
command..."
Changed Bug title to 'xpdf: add support for some old config file commands' from 
'xpdf: Many errors "Config Error: Unknown config file command..."'.
> severity -2 wishlist
Bug #873952 [xpdf] xpdf: add support for some old config file commands
Severity set to 'wishlist' from 'important'
> retitle -3 xpdf: the xpdfrc(5) man page lists old config file commands
Bug #873953 [xpdf] xpdf: Many errors "Config Error: Unknown config file 
command..."
Changed Bug title to 'xpdf: the xpdfrc(5) man page lists old config file 
commands' from 'xpdf: Many errors "Config Error: Unknown config file 
command..."'.
> severity -3 normal
Bug #873953 [xpdf] xpdf: the xpdfrc(5) man page lists old config file commands
Severity set to 'normal' from 'important'

-- 
848671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848671
873952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873952
873953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873953
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-08-19 Thread Paul Slootman
> The suggested Workaround of adding "include /etc/xpdf/includes"
> is not helpful as this line is already at the end of the
> /etc/xpdf/xpdfrc file in the stock Debian Stretch release :(

Actually, at this time the fix is to actually REMOVE that line.
That works for English-speaking (and other european) locales, but might
suck for those using japanse, thai, etc.


Paul



Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-07-19 Thread alsauser
I can confirm that this problem is still present in Stretch 9.0.

Starting from a Debian LiveCD image (9.0.1 Debian Mate), and
using "apt-get install xpdf" to install xpdf, and then entering
"xpdf " yields a long list of Config Errors on the
xterm console ... of the form:

Config Error: Unknown config file command 'fontFileCC' 
(/usr/share/xpdf/xpdfrc-korean:6)
Config Error: Some work needs to be done to support this option in the Poppler 
version of xpdf

The suggested Workaround of adding "include /etc/xpdf/includes"
is not helpful as this line is already at the end of the
/etc/xpdf/xpdfrc file in the stock Debian Stretch release :(

Additional suggestions appreciated - thanks !



Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-04-25 Thread Joao Borges
I can also confirm this bug in testing (Stretch).

xpdf version 3.04-4

Apparently the bug is similar to the bug 640162 (
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640162)


Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-02-09 Thread John Lawless
I can confirm this bug.

Using the current up-to-date Debian Stretch(testing), opening any pdf file with 
xpdf results in these messages being sent to stderr:

Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-arabic:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cidToUnicode' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:4)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:5)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cMapDir' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:6)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'toUnicodeDir' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:7)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'fontFileCC' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:8)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cidToUnicode' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:4)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cMapDir' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:5)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'toUnicodeDir' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:6)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'fontFileCC' 
(/usr/share/xpdf/xpdfrc-chinese-traditional:7)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'nameToUnicode' 
(/usr/share/xpdf/xpdfrc-cyrillic:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-cyrillic:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'nameToUnicode' 
(/usr/share/xpdf/xpdfrc-greek:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-greek:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-hebrew:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-hebrew:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cidToUnicode' 
(/usr/share/xpdf/xpdfrc-japanese:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-japanese:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-japanese:4)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-japanese:5)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cMapDir' 
(/usr/share/xpdf/xpdfrc-japanese:6)
Config Error: Some work needs to be done to suppport this option in the Poppler 

Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2017-01-03 Thread Luis Mochan
I recently found the same error in 'testing'.


-- 

  o
W. Luis Mochán,  | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388 `>/   /\
Apdo. Postal 48-3, 62251 |   (*)/\/  \
Cuernavaca, Morelos, México  | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB



Bug#848671: xpdf: Many errors "Config Error: Unknown config file command..."

2016-12-19 Thread Vincent Lefevre
Package: xpdf
Version: 3.04-3
Severity: important

When starting xpdf (even without any argument), I get many errors:

Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-arabic:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'cidToUnicode' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:2)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:3)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:4)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
Config Error: Unknown config file command 'unicodeMap' 
(/usr/share/xpdf/xpdfrc-chinese-simplified:5)
Config Error: Some work needs to be done to suppport this option in the Poppler 
version of xpdf
[...]

I don't know the consequences, but this is at least very annoying
to get these errors in the terminal.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xpdf depends on:
ii  libc6 2.24-8
ii  libgcc1   1:6.2.1-7
ii  libpoppler64  0.48.0-2
ii  libstdc++66.2.1-7
ii  libx11-6  2:1.6.4-2
ii  libxm42.3.4-13
ii  libxt61:1.1.5-1

Versions of packages xpdf recommends:
ii  cups-bsd   2.2.1-3
ii  gsfonts-x110.24
ii  poppler-data   0.4.7-8
ii  poppler-utils  0.48.0-2

xpdf suggests no packages.

-- no debconf information