Printer Configuration (printconf-gui) fails immediately after sta rtup - may be due to Samba installation - RHAS 2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just tried to configure a printer under Advanced Server 2.1 via the GUI.
The printer configuration dialogue box disappears immediately after opening.
I successfully configured a printer with the GUI awhile ago. The only things
I can think of that changed were:
	- I recently installed Samba
	- we upgraded to kernel version 2.4.9-e.24smp (I think from
2.4.9-e.21smp)

I have another AS 2.1 box where the printer configuration works OK. The box
where printconf fails has a /usr/local/lib/perl5 directory on it that
doesn't exist on the box where it works. The failure seems to have something
to do with that directory.

Here is the error message that I get when I run "printconf-gui":
=========================================================================
Can't locate Foomatic/Defaults.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at
/usr/bin/foomatic-configure line 13.
BEGIN failed--compilation aborted at /usr/bin/foomatic-configure line 13.
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 2044, in
startup_and_find_cmd
    main.cmd_handlers[cmd]()
  File "/usr/share/printconf/util/printconf_gui.py", line 1999, in
gui_main_run
    foomatic_init_overview()
  File "/usr/share/printconf/util/printconf_conf.py", line 1279, in
foomatic_init_overview
    root = parser.parse(foo.fromchild)
  File "/usr/lib/python1.5/site-packages/xml/utils/qp_xml.py", line 134, in
parse
    p.Parse('', 1)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
=========================================================================

I found a "Defaults.pm" file (
/usr/lib/perl5/site_perl/5.6.0/Foomatic/Defaults.pm) and tried to put it in
one of the directories specified in "$INC" above, but then got the same
error on other files.

I tried erasing Samba and the error persisted.

Help would be welcome.

Thanks.

Greg Steele
(937}445-7142


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux