Skip to content
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

Impossible to modify a printer URI #5652

Closed
immae opened this issue Sep 18, 2019 · 4 comments
Closed

Impossible to modify a printer URI #5652

immae opened this issue Sep 18, 2019 · 4 comments
Assignees
Milestone

Comments

@immae
Copy link

immae commented Sep 18, 2019

Hi,
On cups version 2.3.0, it has become impossible to modify a printer URI:

# lpadmin -p Test -v file:///dev/null
# lpadmin -p Test -v lpd://192.168.1.2/binary_p1
lpadmin: Unable to open PPD "/tmp/a8f355d839755": Astérisque manquant à la colonne 1 on line 1.

The configuration is a stock configuration, and "/tmp/a8f355d839755" contains some html content that correspond to a kind of garbage you could see in localhost:631/printer/Test.ppd (note the ppd at the end of the url)

@leoarnold
Copy link
Contributor

Does this also happen if you use lpadmin -x Test before your commands above?

It might also be helpful if you could attach the content of the tmp file.

@immae
Copy link
Author

immae commented Sep 18, 2019

"Test" printer didn’t exist before the first command (I started from stock configuration, as said in the first post).
If I delete the printer I can create a printer without issue, but not modify it (same error, not limited to changing the URI).
I can also modify the printer from the web interface without problem.

cups.txt

@michaelrsweet
Copy link
Collaborator

For some reason getting the PPD is not returning a 404; looks like 2fa1ba3 is the cause...

@michaelrsweet
Copy link
Collaborator

[master eff8c82] Fix handling of printer resource files (Issue #5652)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants