Giter Club home page Giter Club logo

Comments (14)

leoarnold avatar leoarnold commented on June 22, 2024 1

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.

leoarnold avatar leoarnold commented on June 22, 2024

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.

bittner avatar bittner commented on June 22, 2024

Thanks Leo!

from puppet-cups.

leoarnold avatar leoarnold commented on June 22, 2024

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.

bittner avatar bittner commented on June 22, 2024

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.

bittner avatar bittner commented on June 22, 2024

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.

leoarnold avatar leoarnold commented on June 22, 2024

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.

bittner avatar bittner commented on June 22, 2024
$ 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.

bittner avatar bittner commented on June 22, 2024

Thank you!

from puppet-cups.

bittner avatar bittner commented on June 22, 2024

Any progress on this? Is there anything I can do to support the implementation of the workaround?

from puppet-cups.

leoarnold avatar leoarnold commented on June 22, 2024

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.

bittner avatar bittner commented on June 22, 2024

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.

leoarnold avatar leoarnold commented on June 22, 2024

This repo doesn't seem to have any branches other than master. Where are the changes?

In master.

from puppet-cups.

bittner avatar bittner commented on June 22, 2024

Great! -- I can confirm the installation works without error status using the implementation from master.

from puppet-cups.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.