Pb with system-config-printer in LMDE / Mate since UP7

Archived topics about LMDE 1 and LMDE 2
Locked
b01

Pb with system-config-printer in LMDE / Mate since UP7

Post by b01 »

Hello,
since the update, amongst other happiness, the system config printer is not working anymore on my computer, when I run in a terminal :

Code: Select all

~ $ system-config-printer 
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 77, in <module>
    import jobviewer
  File "/usr/share/system-config-printer/jobviewer.py", line 22, in <module>
    import authconn
  File "/usr/share/system-config-printer/authconn.py", line 32, in <module>
    cups.require("1.9.60")
RuntimeError: I am version 1.9.58
whereas python-cups version on my system is 1.9.62-2, but :

Code: Select all

~ $ python2.7
*Python 2.7.5+ (default, Jun  2 2013, 21:21:29) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
>>> cups.require("1.9.60")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: I am version 1.9.58
>>>
is anyone facing the same problem ?
I've searched on the web without success and tried to reinstall the corresponding packages
any advice is welcome
thanks
Benjamin
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dclement

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by dclement »

Hello, I can't help much but I can confirm the system-config-printer can run under LMDE Mate UP7.

But you need python-cups >= 1.9.60. On both LMDE laptops I use, it's version 1.9.62. Can you check your python-cups version? If for whatever reason it's too old, you could just cherry-pick the newer one from e.g. the Debian Jessie repo.

However, even if you launch it successfully, you won't go far... See [url=http://forums.linuxmint.com/viewtopic.php?f=198&t=146224]the thread I had started[/url], which sadly doesn't seem to attract much attention.

So far I'm using the CUPS management interface as a workaround...
b01

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by b01 »

Thanks for your reply,
python-cups version on my system is also 1.9.62-2, that's why I don't understand why "cups.require("1.9.60")" whereas when I do :

Code: Select all

$ python
Python 2.7.5+ (default, Jun  2 2013, 21:21:29) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
>>> cups.require("1.9.60")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: I am version 1.9.58
>>> 
maybe I messed my python config, I don't know how the lib are linked in python
I didn't knew http://localhost:631/ cups web interface, good to know
but printing still doesn't work on my machine "Erreur lors de l'impression - Opération non prise en charge" while trying to print a pdf from pluma
will digg deeper ...
++benjamin
dclement

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by dclement »

Hi, FYI i have started [url=http://forums.linuxmint.com/viewtopic.php?f=198&t=147020]another thread[/url] about system-config-printer woes. But I'm not sure it's really your problem:
b01 wrote:[...]
python-cups version on my system is also 1.9.62-2, that's why I don't understand why "cups.require("1.9.60")" whereas when I do :

Code: Select all

$ python
Python 2.7.5+ (default, Jun  2 2013, 21:21:29) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cups
>>> cups.require("1.9.60")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: I am version 1.9.58
>>> 
Strange indeed. What about reinstalling python-cups and maybe searching in Synaptic for "1.9.58"?
[...] but printing still doesn't work on my machine "Erreur lors de l'impression - Opération non prise en charge" while trying to print a pdf from pluma
So this happen when you print to PDF?
1) Does it also happen when printing to a physical printer?
2) How do you print to PDF?
a] Do you use the PDF printer (then it could be a CUPS-pdf issue)? Can you print a test page from the CUPS interface?
or...
b] "File > Print > Print to file"? If so, can you print to Postscript instead of PDF?
b01

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by b01 »

Hello,
Strange indeed. What about reinstalling python-cups and maybe searching in Synaptic for "1.9.58"?
I tried but it didn't change anything and nothing in synaptic for "1.9.58"
To print a PDF, I used pluma print system to produce a PDF and now it works :?
Till now, I didn't manage to print to a network printer which used to work before the update, that's why I looked at system-config-printer ...
is there an alternative to system-config-printer ?
thanks for your advices
++b
dclement

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by dclement »

b01 wrote:[...]
is there an alternative to system-config-printer ?
thanks for your advices
++b
The CUPS server interface should give you access to all the functions of system-config-printer and more. Point your browser to localhost:631, provide your username and password and go to the "Admin" tab, then "manage printers". There you should see if something went wrong with the printer which no longer works.

Also, see [url=http://forums.linuxmint.com/viewtopic.php?f=198&t=146224]this thread[/url] (next-to-last post) for a solution to another (?) system-config-printer problem. Maybe it can help in your case too.
b01

Re: Pb with system-config-printer in LMDE / Mate since UP7

Post by b01 »

Yep,
Thks for Cups server, I'll retry to set up the printer this way
the other thread didn't help im my case
++b
Locked

Return to “LMDE Archive”