Can not add network printer in Trisquel 7.0
Proxecto: | Trisquel |
Versión: | 7.0 |
Componente: | Programs |
Categoría: | informe de erro |
Prioridade: | normal |
Asignado: | Sen asignar |
Estado: | active |
Saltar a:
When trying to add a network printer through the printer dialog box, do not enable the button for "New Printer".
Moreover, when trying to add it via "sudo system-config-printer", selecting the printer installed on a network window system, when i give below, the following exception is generated:
---------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/system-config-printer/newprinter.py", line 912, in on_btnNPForward_clicked
self.nextNPTab()
File "/usr/share/system-config-printer/newprinter.py", line 1068, in nextNPTab
stderr=file("/dev/null"))
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No existe el archivo o el directorio
--------------------------------------------------------
I analyzed the trace of the exception. The problem I think is in the newprinter.py file on line 1063. This is to install the samba-client package, but can not do:
------------------------------------
p = subprocess.Popen (["gpk-install-package-name",
"samba-client"],
close_fds=True,
stdin=file("/dev/null"),
stdout=file("/dev/null"),
stderr=file("/dev/null"))
------------------------------------
You have to install the samba-client package manually so that you can add the printer with "sudo system-config-printer".
Forum thread: http://trisquel.info/es/forum/no-puedo-agregar-impresora-de-red
Anexo | Tamaño |
---|---|
Impresoras.png | 11.4 KB |
- Inicie sesión ou rexístrese para enviar comentarios
In my case I had to install cups-pk-helper too.
I found this solution at the following page:
http://forum.siduction.org/index.php?topic=4337.0