Sziasztok.
Van egy HP_LaserJet_M1536dnf_MFP nyomtatóm, és mostanában képtelenség egy Linux mintre felrakni a HP által javasolt nyomtatókezelést.
Ami két hete még flottul működött, egy friss linuxtelepítés után, a HP oldaláról letöltött hplip-pel nem megy.
Szerintetek mi lehet a baj?
# hp-setup
HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model laserjet_m1530_mfp using old algorithm.
error: No appropriate print PPD file found for model hp_laserjet_m1536dnf_mfp
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1316, in NextButton_clicked
self.addPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1010, in addPrinter
print_sts = self.setupPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1049, in setupPrinter
if not os.path.exists(self.print_ppd[0]): # assume foomatic: or some such
TypeError: 'NoneType' object is not subscriptable
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] Nincs ilyen fájl vagy könyvtár: '/var/crash/_usr_share_hplip_setup.py.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1316, in NextButton_clicked
self.addPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1010, in addPrinter
print_sts = self.setupPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1049, in setupPrinter
if not os.path.exists(self.print_ppd[0]): # assume foomatic: or some such
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1316, in NextButton_clicked
self.addPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1010, in addPrinter
print_sts = self.setupPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1049, in setupPrinter
if not os.path.exists(self.print_ppd[0]): # assume foomatic: or some such
TypeError: 'NoneType' object is not subscriptable
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), 'wb') as f:
FileNotFoundError: [Errno 2] Nincs ilyen fájl vagy könyvtár: '/var/crash/_usr_share_hplip_setup.py.0.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1316, in NextButton_clicked
self.addPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1010, in addPrinter
print_sts = self.setupPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1049, in setupPrinter
if not os.path.exists(self.print_ppd[0]): # assume foomatic: or some such
TypeError: 'NoneType' object is not subscriptable
Done.
%%%%%%%%%%%%%%%%%%%%%%% hatásszünet
Megoldás itt: https://hup.hu/comment/2764834#comment-2764834