gjblackford |
08-07-2009 02:21 AM |
Mint Crashing when trying to Run Printer Config
Hi,
I recently installed Mint 7 Community Edition on my PC, after installing the Updates and the nVidia driver I tried to install my HP Printer, but when I right click on the Printer and select Properties in the Printer Config the Properties Window appears and then the machine freezes.
Now when I try to run the Printer Config, I see it flash on the screen very quickly and then close, so I have tried to run it in console and I get the following errors.
Code:
sudo system-config-printer
[sudo] password for gavinjb:
/home/gavinjb/.printer-groups.xml:1: parser error : Document is empty
^
/home/gavinjb/.printer-groups.xml:1: parser error : Start tag expected, '<' not found
^
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/XmlHelper.py", line 37, in __init__
self.xml_doc = libxml2.parseFile (self.group_file_name)
File "/var/lib/python-support/python2.6/libxml2.py", line 1279, in parseFile
if ret is None:raise parserError('xmlParseFile() failed')
parserError: xmlParseFile() failed
Continuing anyway..
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 6757, in <module>
focus_on_map)
File "/usr/share/system-config-printer/system-config-printer.py", line 6705, in main
print_test_page, focus_on_map)
File "/usr/share/system-config-printer/system-config-printer.py", line 565, in __init__
self.groups_pane = GroupsPane ()
File "/usr/share/system-config-printer/GroupsPane.py", line 144, in __init__
for group_name, group_node in xml_helper.get_static_groups ():
File "/usr/share/system-config-printer/XmlHelper.py", line 68, in get_static_groups
return self.__parse_groups ("static-group")
File "/usr/share/system-config-printer/XmlHelper.py", line 54, in __parse_groups
current = self.xml_doc.getRootElement ().children
AttributeError: 'NoneType' object has no attribute 'getRootElement'
Can anyone help?
Thanks,
Gavin,
|