
運行 Ubuntu 17.10,起初印表機新增沒有太多問題。由於其他問題,我重新安裝了 Ubuntu,現在它突然無法新增印表機,我收到錯誤「無法新增印表機」。
在終端機中使用 system-config-printer 會導致以下結果:
(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_insert_after: assertion 'G_NODE (sibling->user_data)->parent == G_NODE (parent->user_data)' failed
(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed
(system-config-printer.py:6755): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 4227, in getNPPPD
ppd = cups.PPD(f)
RuntimeError: ppdOpenFile failed
我嘗試過其他建議,例如安裝 ppa:inameiname,由於其他問題(未經身份驗證的軟體包...),這也不起作用