Red Hat Bugzilla – Bug 82799
ptal-init setup fails when using UTF-8 locale
Last modified: 2008-05-01 11:38:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216
Description of problem:
When running "ptal-init setup" after installing the hpoj drivers, the script
successfully manages to detect the printer (in my case an HP OfficeJet K60) but
after setting everything up, "ptal-init setup" exited with an error message.
If I start the progam using the wollowing command instead, it works:
$ LC_ALL=C ptal-init setup
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Start "ptam-init setup" with an HP OfficeJet K60 printer attached to the USB bus.
Actual Results: Currently defined device names ([*]=default):
*** The following devices are using an obsolete configuration
*** file format. Use "/usr/sbin/ptal-init setup"
*** to delete and re-probe them:
A system-wide default device name is not currently defined.
Press <Enter> alone to continue with no default,
or enter a new default device name here --->
here you are back at the shell prompt with an incorrect printer installation
Expected Results: The printer should have been installed.
The installer has a problem reading the configuration file it created. I did
this on a sunday, and "sunday" in swedish is "sï¿½ndag" (note the special
character). The current date is pasted into the generated config file which
could be the cause of the problem.
I did try to remove the (possibly) offending character but it still wouldn't
accept the configuration. I only managed to get it to run after re-probing with
LC_ALL set to C.
I forgot to report my locale settings:
*** This bug has been marked as a duplicate of 82652 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.