Comments (14)
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 pwg-raster*
fields twice - sometimes even with different values in them - causing the [FAIL]
.
I'll implement a workaround for this scenario and ship it with version 2.0 of the module.
from puppet-cups.
The module uses the ipptool
command line utility to perform most of it's queries. In Ubuntu 16.10 and later, this tool seems to execute the queries correctly, but fails to return the results to stdout
.
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 master/HEAD
only provides a clearer error message, but cannot yet work around the issue.
Closing as duplicate of #19.
from puppet-cups.
Thanks Leo!
from puppet-cups.
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
ipptool -t ipp://localhost/printers/HP_Officejet_Pro_6830 Get-Printer-Attributes.ipp
using this file: Get-Printer-Attributes.ipp
from puppet-cups.
Okay, I'll try. Can you reopen the issue? Thanks!
And ... thanks for dedicating yourself to the issue! I appreciate that a lot.
from puppet-cups.
On a Debian 8.8 Jessie box (our old setup we're about to replace) I get:
"Desktop/Get-Printer-Attributes.ipp":
Desktop/Get-Printer-Attributes [PASS]
printer-is-shared (boolean) = false
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.
from puppet-cups.
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.
from puppet-cups.
$ 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.)
from puppet-cups.
Thank you!
from puppet-cups.
Any progress on this? Is there anything I can do to support the implementation of the workaround?
from puppet-cups.
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.
from puppet-cups.
I have a hard time using the .tar.gz
pre-release file for installing with Puppet (r10k, really). Do you have a branch in a repo that I can refer to from within our Puppetfile?
This repo doesn't seem to have any branches other than master
. Where are the changes?
from puppet-cups.
This repo doesn't seem to have any branches other than master. Where are the changes?
In master
.
from puppet-cups.
Great! -- I can confirm the installation works without error status using the implementation from master
.
from puppet-cups.
Related Issues (20)
- Module cannot be upgraded from 1.2.2 to 2.2.0 without first loading 2.0.x HOT 3
- /var/log/cups/error_log flooded with SSL errors HOT 4
- [Feature] Structured facts with printer capabilities HOT 4
- Add possibility to restrict queue usage based on IP addresses HOT 6
- Deprecation message prevents creation of queue HOT 4
- Could not prefetch cups_queue provider 'cups' on Ubuntu 18.04 HOT 14
- [Feature] Configurability for MaxJobs and PreserveJobHistory HOT 3
- Configuration for MaxSubscriptions (needed for > 100 clients)
- Depfu Error: Depfu is stuck and needs your help
- Depfu Error: Depfu is stuck and needs your help
- spec/acceptance/puppet/cups_issue_4766_spec.rb fails on centos7 HOT 2
- "Unable to connect" on slow restart (EL7) HOT 1
- Error on "purge_unmanaged_queues" with CUPS stopped HOT 2
- Depfu Error: Depfu is stuck and needs your help
- Depfu Error: Depfu is stuck and needs your help
- Please add an options hash
- Enhancement Request : need MaxJobsPerPrinter directive to be added in cupsd template file _directives.erb HOT 2
- AuthInfoRequired username,password setup HOT 2
- Ubuntu 20.04 - Could not prefetch cups_queue provider 'cups' HOT 4
- Failure to add IPP Everywhere queue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-cups.