Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142052 - sane-backends-1.0.18-r1 : line 773 too long in 99-libsane.rules
Summary: sane-backends-1.0.18-r1 : line 773 too long in 99-libsane.rules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 19:30 UTC by Francois Chenier
Modified: 2006-07-31 05:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chenier 2006-07-28 19:30:10 UTC
udev-096 complains about the length of line 773 in file /etc/udev/99-libsane.rules (sane-backends-1.0.18-r1). You must admit 559 chars for a comment, it quite looong ;-)

No issue.
Comment 1 Peter Humphrey 2006-07-30 05:05:18 UTC
I think it is a problem. On first installing sane, if you don't spot the too-long error during startup you can waste a lot of time in fruitless searches for other causes of nonoperation of your scanner.

Admittedly, the cure is simple once the problem is found, but you have to find it first.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2006-07-31 00:22:33 UTC
Added a workaround to sane-desc which truncates the comment if it's getting too long. In CVS as 1.0.18-r2. Thanks for the hint.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2006-07-31 00:29:09 UTC
(In reply to comment #1)
> I think it is a problem. On first installing sane, if you don't spot the
> too-long error during startup you can waste a lot of time in fruitless searches
> for other causes of nonoperation of your scanner.

Are you sure this causes nonoperation? After a quick glance at the source I think it just skips processing this single comment line, not the whole file.
Comment 4 Francois Chenier 2006-07-31 01:13:09 UTC
Thanks Patrick. Fine for the reporter of the bug.
Comment 5 Peter Humphrey 2006-07-31 01:18:26 UTC
(In reply to comment #3)

> Are you sure this causes nonoperation? After a quick glance at the source I
> think it just skips processing this single comment line, not the whole file.

Perhaps you're right. I just know that I couldn't get my scanner working until I removed the long line, and it does work now. Mere coincidence?
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2006-07-31 03:20:23 UTC
(In reply to comment #5)

> Perhaps you're right. I just know that I couldn't get my scanner working until
> I removed the long line, and it does work now. Mere coincidence?

Maybe, though I wouldn't bet on it. Perhaps you could try to reproduce this? 

Comment 7 Peter Humphrey 2006-07-31 05:16:32 UTC
(In reply to comment #6)
> 
> Perhaps you could try to reproduce this? 

Hmm... On restoring the original file I find the scanner still works, so it seems that Francois was right in the insignificance of the problem.

I don't know what combination of circumstances conspired to make me think the long line had prevented my scanner from working, but I'm sorry to have made waves.