#772068 .Xresources typo produces error rather than warning

Package:
pterm
Source:
putty
Description:
PuTTY terminal emulator
Submitter:
Martin Michlmayr
Date:
2014-12-04 19:48:06 UTC
Severity:
important
#772068#5
Date:
2014-12-04 19:45:27 UTC
From:
To:
After upgrading from wheezy to jessie, pterm would no longer start.
The following error is produced:

pterm: conf.c:249: conf_get_int_int: Assertion `entry' failed.

because the following line in ~/.Xresources (note the . rather than,):

pterm.Colour6: 85.85,85

1) I'm not sure this should cause an error.  I think a warning would be
better.  Fortunately, I was able to launch an xterm to fix things,
but I don't think such a minor typo should stop you from starting your
terminal.

2) The error message isn't really very meaningful... it took me a
while to figure out the problem lied in ~/.Xresources.