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

Post your update and upgrade related errors here
Forum rules
Before you post please read this

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

Postby b01 on Wed Oct 02, 2013 7:25 pm

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
b01
Level 1
Level 1
 
Posts: 4
Joined: Wed Oct 02, 2013 7:15 pm

Linux Mint is funded by ads and donations.
 

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

Postby dclement on Fri Oct 04, 2013 10:39 am

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 the thread I had started, which sadly doesn't seem to attract much attention.

So far I'm using the CUPS management interface as a workaround...
dclement
Level 3
Level 3
 
Posts: 148
Joined: Thu Apr 19, 2012 9:59 am

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

Postby b01 on Sun Oct 06, 2013 6:11 pm

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
b01
Level 1
Level 1
 
Posts: 4
Joined: Wed Oct 02, 2013 7:15 pm

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

Postby dclement on Tue Oct 08, 2013 8:29 am

Hi, FYI i have started another thread 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?
dclement
Level 3
Level 3
 
Posts: 148
Joined: Thu Apr 19, 2012 9:59 am

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

Postby b01 on Tue Oct 08, 2013 7:40 pm

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
b01
Level 1
Level 1
 
Posts: 4
Joined: Wed Oct 02, 2013 7:15 pm

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

Postby dclement on Wed Oct 09, 2013 5:49 am

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 this thread (next-to-last post) for a solution to another (?) system-config-printer problem. Maybe it can help in your case too.
dclement
Level 3
Level 3
 
Posts: 148
Joined: Thu Apr 19, 2012 9:59 am

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

Postby b01 on Sun Oct 13, 2013 6:41 pm

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
b01
Level 1
Level 1
 
Posts: 4
Joined: Wed Oct 02, 2013 7:15 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 3 guests