self.FailureUI(self.__tr("<b>Unable to find an appropriate su/sudo utility to run hp-plugin.</b><p>Install kdesu, gnomesu, or gksu.</p>"))
244
return
241
245
if not ok or not core.check_for_plugin():
242
246
if plugin == PLUGIN_REQUIRED:
243
247
self.FailureUI(self.__tr("<b>The printer you are trying to setup requires a binary driver plug-in and it failed to install.</b><p>Please check your internet connection and try again.</p><p>Visit <u>http://hplipopensource.com</u> for more information.</p>"))
self.FailureUI(self.__tr("<b>Device not found or invalid HPLIP device.</b><p>If you specified a USB ID, IP address, or other parameter, please re-check it and try again."))
525
533
self.close()
583
591
584
592
self.installed_queues = [p.name for p in cups.getPrinters()]
585
593
586
back_end, is_hp, bus, model, serial, dev_file, host, port = device.parseDeviceURI(self.device_uri)