Emmanuel Seyman <seyman@xxxxxxxxxx> writes: > On Mon, Dec 27, 2004 at 11:28:21AM +0100, Lars Bjørndal wrote: >> >> UnboundLocalError: local variable 'which' referenced before assignment > > https://www.scientificlinux.org/collector.2004-08-03.0265953686/10 > >> I'm running FC3, with the latest updates by yum. > > Have you modified /etc/sysconfig/i18n to disable UTF-8 ? Yes. And I did a test: I moved the /etc/sysconfig/i18n file, restarted the computer, and then I ran system-config-printer-tui, and this time all worked fine. I found that i had to do with the LC_ALL variable. If this is set to en_US, and not no_NO, all works fine! By the way: The command "rpm -qf /etc/sysconfig/i18n" told me that the file is not own by any package. Is that true? Lars