From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.1 (X11; Linux i686; U;) Gecko/20020417 Description of problem: The printconf-gui tool dies on startup. The output is: (process:2413): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. (printconf-gui:2413): Gdk-WARNING **: locale not supported by C library Gdk-WARNING **: locale not supported by C library Gdk-WARNING **: locale not supported by C library perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "", LANG = "en" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Traceback (innermost last): File "/usr/sbin/printconf-gui", line 8, in ? printconf_gui.startup_and_find_cmd() File "/usr/share/printconf/util/printconf_gui.py", line 2066, in startup_and_find_cmd main.cmd_handlers[cmd]() File "/usr/share/printconf/util/printconf_gui.py", line 2021, in gui_main_run foomatic_init_overview() File "/usr/share/printconf/util/printconf_conf.py", line 1321, in foomatic_init_overview root = parser.parse(foo.fromchild) File "/usr/src/build/75998-i386/install/usr/lib/python1.5/site-packages/xml/utils/qp_xml.py", line 134, in parse xml.parsers.expat.ExpatError: no element found: line 3670, column 5 Printconf-tui output is similar. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: Just run printconf-gui Actual Results: death as described Expected Results: Printer configuration tool running... Additional info: This system was upgraded from RedHat 7.2
Please attach /etc/alchemist/namespace/printconf/local.adl. Also, what does 'rpm -qV printconf foomatic' say?
$ rpm -qV printconf foomatic printconf-0.3.77-1 foomatic-1.1-0.20020313.3
Created attachment 60224 [details] Requested by RH.
Please do: rm -rf /var/cache/foomatic/compiled/* Does that make the problem go away?
Yup. That took care of it.
The overview.xml file was very likely incomplete, and removing it caused it to get rebuilt properly. The current (rawhide) version of foomatic no longer needs this file.
I have exactly the same problem as described, but the solution (rm -rf /var/cache/foomatic/compiled/*) was unsuccessful
willhall: Please run 'printconf-backend --force-rebuild' as root. Does the problem still happen after that?