-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error pop-up: Option 'finishings' has value '3' and cannot be edited #122
Comments
Hi Till, @tillkamppeter , are you able to reproduce the issue? Then we can see the variables contents during debugging... From what I see from code: attributes seems to be taken from printer by getPrinterAttributes() (even IPP 2.* ones), then got processed in cupshelpers/cupshelpers.py and divided into possible_attributes and other_attributes and in several object attributes. I thought this can be outcome of 'finishings' isn't in correct dictionary, but it seems it doesn't trigger the message too. |
I´m on ubuntu 18.04 printing to a ricoh network printer, and I see this problem. |
@petersilva Would you mind debugging the issue then? Since I'm not able to reproduce it with my printer. |
I'm having the same issue, I can help debugging if you tell me what to do. |
@galgalesh Thank you! I don't know which debugger you use - I use pudb - https://documen.tician.de/pudb/starting.html . |
I can see the value of these variables, but they are very big so they are cropped in the pudb UI. Is there an easy way for me to copy the full contents to clipboard or display it elsewhere? |
Sorry, I don't know - but you can try to print out in python console in pudb UI and copy it from there (or use python commands to get variable contents) into some files, which you can attach here (they need to have .txt suffix to attach it here on github). I'm sorry for the inconvenience, and thank you again for helping me debugging! |
I did it with good-old print statements in the end. This didn't work for the (note that the issue with "finishings" is in the second printer, the first printer has two other but similar errors.) Printer 1: a driverless printer that was automatically addedLogs: https://pastebin.com/ghyi2Kw6 Value of Value of Printer 2: a Ricoh Secure print queue configured with the ppd file supplied by ricohLogs: https://pastebin.com/mL8bWze6 |
@zdohnal Did you manage to take a look at this yet? |
@galgalesh Sorry, not yet, other urgent issues on the plate... :( |
See also this Ubuntu bug report: |
I did a temporary fix for now as you suggested, please check commit 04ddf2f . Hope, I'll get into more permanent solution in the future. |
Thank you very much for this temporary fix. I have applied it to the system-config-printer package of Ubuntu 19.04 (Disco) now. |
I get the same error. |
Reached this bug as once again it was reproduced (ubuntu). (Remove label?) |
The label is there because 'I' as upstream cannot reproduce it, because I do not have HW for it. IMO the label is correct, because I can only study logs of @galgalesh , who was so kind to provide debugging logs. To sum it up, it makes its fixing harder, because I cannot test it immediately.... |
Temporary fixed in 1.5.12. |
The following bug report appeared at Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1780310
For some IPP printers appears an error pop-up with the message mentioned above (or similar message) when opening the printer properties dialog. It does not come to anything going wrong afterwards. There is only this dialog annoying the user with a message he does not understand.
A simple symptomatic fix would be to turn this error dialog into a debug message which appears in the terminal when running s-c-p with the
--debug
option. This should also be done when the actual cause of the bug gets fixed.An actual fix would be to check s-c-p's compatibility with modern driverless IPP printers, for example supporting correctly all the attributes reported on a get-printer-attributes IPP request (IPP 2.x) and also taking into account that the options for driverless printing reported by IPP are NOT identical with the options in PPD files, even if the file is supplied by the printer's manufacturer.
The text was updated successfully, but these errors were encountered: