On Fri, 29 Sep 2006, Klaus Ethgen wrote:
Package: fortunes-de
Version: 0.21-1
Severity: important
Since the last upgrade I get only uncomplete fortunes like:
nde einer Schnapsidee.
-- Hans-Horst Skupy
I have the strange feeling that this is the very same problem as
you reported as #316953 but it shows up differently. You reported
that the French fortunes would print nicely (fortunes-fr) and
thus my idea was to do the same things as the French people
did (and took over the nice debconf selection which is a nice
add in functionality).
I would like you to try some more fortunes until you find
one without any Umlaut. If I seek for you example
$ fortune -m "nde einer Schnapsidee."
(zitate)
%
Entwöhnungskur: Ende einer Schnapsidee.
-- Hans-Horst Skupy
%
I see that there is an Umlaut in this cookie. I tried some time
(using the "regeln" script which potentially prints short cookies)
and found
$ fortune -m "Liegt der Bauer in dem Miste, hat er einen in der Kiste."
(regeln)
%
Liegt der Bauer in dem Miste, hat er einen in der Kiste.
%
Please try a little bit more if we could sort out whether it is
connected to an encoding problem.
If I look to /usr/share/games/fortunes-de I do not see the fortunes
anymore just only the .dat-Index-Files. Maybe that is the problem?
Definitely not. The files that are seeked by fortune are in
/usr/share/games/fortunes/de that contains symlinks to the place
you mentioned. The symlinks are set according to the debconf selection.
By the way, the debconfig-selection is making reportbug crash if I
include it in the bugreport.
I tried this myself and got:
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1745, in ?
main()
File "/usr/bin/reportbug", line 778, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1643, in user_interface
klass, subject, tags, body, mode, pseudos)
File "/usr/share/reportbug/reportbug.py", line 724, in generate_blank_report
return """%s%s%s
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 202:
ordinal not in range(128)
It is the same for you? My guess is that this is a bug in reportbug
and I will verify this by replacing any Umlaut in the DebConf template
if you commit that you observed the same.
Shell: /bin/sh linked to /bin/dash
Is this shell known to show encoding problems? (Can you verify the
problem with bash?)
Kernel: Linux 2.4.32
Could you test fortunes-de on a different box?
This machine does not seem to be a machine set up with Etch installer.
Is it possible that over several updates something in the encoding
settings became brocken. I observed similar things when I used a box
that was updated from Woody to Sarge and now to Etch. It would
be great if you could test this on a freshly installed machine. My
suspection is that not fortunes-de is brocken itself but some
encoding settings.
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to
de_DE)
I have
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
and it works perfectly.
Versions of packages fortunes-de depends on:
ii debconf [debconf-2.0] 1.5.4 Debian configuration management sy
ii fortune-mod 1:1.99.1-3 provides fortune cookies on demand
Same for me.
Thanks for your bug report. It would be nice if you could provide
more info.
Kind regards
Andreas.
--
http://fam-tille.de