Bugs
Search the entire project
This project's trackers
This project's releases
Project
People
Skill
Advanced search
Log In
|
New Account
Home
My Page
Projects
Code Snippets
Project Openings
SANE - Scanner Access Now Easy
Summary
Activity
Tracker
Lists
SCM
Files
[#313851] sane-backends: Warning should be printed to stderr, not stdout
View Trackers
|
Bugs
|
Download .csv
|
Monitor
Date:
2012-10-07 02:17
Priority:
3
State:
Closed
Submitted by:
Anthony Bentley (
bentley-guest
)
Assigned to:
Paul Newall (paulnewall-guest)
Category:
backends (drivers)
Group:
None
Resolution:
Fixed
Summary:
sane-backends: Warning should be printed to stderr, not stdout
Detailed description
When I run scanimage(1), this message is printed to stdout:
Failed cupsGetDevices
Since scanimage(1) also outputs image data to stdout, this corrupts the final image (though passing it through 'grep -v "Failed cupsGetDevices"' is a workaround). I believe the message should be printed to stderr instead.
The message seems to be the one in sane-backends-1.0.23, backend/kodakio.c, line 2200.
Followup
Message
Date: 2012-10-07 23:41
Sender:
Paul Newall
I hope this is now fixed in GIT. The message uses DBG. I also added the value of the error returned hoping that helps to identify the underlying problem that caused the error message.
Date: 2012-10-07 11:09
Sender:
m. allan noah
Yes- an ugly bug. Thanks for the report.
Attached Files:
Changes:
Field
Old Value
Date
By
status_id
Open
2012-10-27 08:57
paulnewall-guest
close_date
None
2012-10-27 08:57
paulnewall-guest
Resolution
None
2012-10-19 14:15
paulnewall-guest
assigned_to
none
2012-10-07 11:09
kitno-guest
Show source