-
Notifications
You must be signed in to change notification settings - Fork 34
Could not set 'printer' on ensure: Unexpected response from CUPS server. #23
Comments
The module uses the This seems to be a Ubuntu problem, since the same Version of Cups works perfectly in Fedora 25. This is why no version of the module claims to be compatible with your version of Ubuntu (yet). Even the current Closing as duplicate of #19. |
Thanks Leo! |
I have looked into the matter and it would help me very much in debugging if you could go to the system (with the printer set up correctly) and provide the output of the command
using this file: Get-Printer-Attributes.ipp |
Okay, I'll try. Can you reopen the issue? Thanks! And ... thanks for dedicating yourself to the issue! I appreciate that a lot. |
On a Debian 8.8 Jessie box (our old setup we're about to replace) I get:
Not sure if this helps already. The Ubuntu 17.04 Zesty box (this is where the Puppet issue comes up) I can't set up again today (for technical reasons that I need to fix during office hours). Let me come back to you about this tomorrow. |
This issue was closed as a duplicate of an open issue. It is still a duplicate and therefore will remain closed. I really need the output on your desired target system in order to see whether you experience the Zesty issue I have identified (and probably can fix) or something else subject to your specific configuration. |
$ ipptool -t ipp://localhost/printers/HP_Officejet_Pro_6830 Get-Printer-Attributes.ipp
"Get-Printer-Attributes.ipp":
Get-Printer-Attributes [FAIL]
RECEIVED: 9270 bytes in response
status-code = successful-ok (successful-ok)
Duplicate "pwg-raster-document-type-supported" attribute in printer-attributes-tag group
Duplicate "pwg-raster-document-resolution-supported" attribute in printer-attributes-tag group
Duplicate "pwg-raster-document-sheet-back" attribute in printer-attributes-tag group
printer-is-shared (boolean) = false (Not sure if the printer is already set up correctly and working since I have issues with logging in to the desktop.) |
See, the request is all good, and in the last line, we even get the desired value. But due to this Debian patch, we get those I'll implement a workaround for this scenario and ship it with version 2.0 of the module. |
Thank you! |
Any progress on this? Is there anything I can do to support the implementation of the workaround? |
The implementation is pretty much done. Acceptance tests are passing for Yakkety and Zesty. I'm preparing the major release, but that will still take some doc polishing. You can try this prerelease in the meantime. |
I have a hard time using the This repo doesn't seem to have any branches other than |
In |
Great! -- I can confirm the installation works without error status using the implementation from |
Given Ubuntu 17.04 Zesty with Puppet Agent 4.8.2 and CUPS 2.2.2 (leoarnold-cups 1.2.2)
When I apply the manifest (e.g. by running
puppet agent --test
)In order to set up the HP Officejet Pro 6830 printer
Then I get the error message:
Interestingly, the CUPS error log remains untouched, but the CUPS access log confirms everything has gone well:
The printer (and scanner) is installed successfully and seems to be usable on the target system afterwards. The
hp-...
tools are installed, http://localhost:631 reports the printer to be available.What is going on here? I'm puzzled. Can you explain?
It would help if there was no error being reported when all is good. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: