[Bug 401096] Re: Weird "buffering" of scanned pages with scanimage frontend

2018-01-15 Thread Launchpad Bug Tracker
[Expired for gscan2pdf (Ubuntu) because there has been no activity for
60 days.]

** Changed in: gscan2pdf (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/401096

Title:
  Weird "buffering" of scanned pages with scanimage frontend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/401096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 401096] Re: Weird "buffering" of scanned pages with scanimage frontend

2017-11-16 Thread Jeffrey Ratcliffe
** Changed in: gscan2pdf (Ubuntu)
   Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/401096

Title:
  Weird "buffering" of scanned pages with scanimage frontend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/401096/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-11-24 Thread Jeffrey Ratcliffe
In that last .deb, I put some more debug information, so if you can
please start gscan2pdf with the --debug option and post the output after
trying to scan with the scanimage frontend, then I've got a chance to
see what is happening.

I can't reproduce the problem here, so otherwise I'm working blind.

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-08-18 Thread Jeffrey Ratcliffe
Please start gscan2pdf with --debug and post the output after trying to
scan with the scanimage frontend. The debug output should report real
file size and according to the PNM header.

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-08-16 Thread Matt Zimmerman
On Wed, Aug 05, 2009 at 08:50:12PM -, Jeffrey Ratcliffe wrote:
 Please test this RC of the upcoming version, which waits for the PNM to
 get to the size reported by the header before importing it.
 
 ** Attachment added: gscan2pdf_0.9.30~rc1-1_all.deb
http://launchpadlibrarian.net/29941461/gscan2pdf_0.9.30%7Erc1-1_all.deb

Sorry for taking so long to get back around to this.  This is the first time
I've had an opportunity to scan something at home in a while due to travel.

I installed this package, switched back to the scanimage frontend, and tried
to scan a one-page document.  I get the progress dialog with Scanning page
1 and the scanner scans a page, but the progress dialog stays there and
never closes.  After waiting a couple of minutes, I have no option but to
cancel it.

Using the libsane-perl frontend still works fine.

-- 
 - mdz

** Changed in: gscan2pdf (Ubuntu)
   Status: New = Triaged

** Changed in: gscan2pdf (Ubuntu)
   Importance: Undecided = Medium

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-08-05 Thread Jeffrey Ratcliffe
Please test this RC of the upcoming version, which waits for the PNM to
get to the size reported by the header before importing it.

** Attachment added: gscan2pdf_0.9.30~rc1-1_all.deb
   http://launchpadlibrarian.net/29941461/gscan2pdf_0.9.30%7Erc1-1_all.deb

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-07-29 Thread Jeffrey Ratcliffe
It seems to me that gscan2pdf is trying to read the image before it has
been fully written.

scanimage was modified in 1.0.20 to buffer the image, and to write it
only when complete.

Please try the attached patch, which flushes the filesystem buffers
immediately before importing the image.

If this doesn't work, the only other idea I have is to hack the import
code to monitor the image as it is written and only import it when the
file size matches the PNM header. But this will be quite a bit of work.

** Attachment added: patch
   http://launchpadlibrarian.net/29654012/patch

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-07-29 Thread Matt Zimmerman
On Wed, Jul 29, 2009 at 06:30:51AM -, Jeffrey Ratcliffe wrote:
 It seems to me that gscan2pdf is trying to read the image before it has
 been fully written.
 
 scanimage was modified in 1.0.20 to buffer the image, and to write it
 only when complete.

 Please try the attached patch, which flushes the filesystem buffers
 immediately before importing the image.

I'll try this the next time I'm at the scanner.

 If this doesn't work, the only other idea I have is to hack the import
 code to monitor the image as it is written and only import it when the
 file size matches the PNM header. But this will be quite a bit of work.

How about having scanimage write the image to a pipe, so we can detect EOF,
rather than to a temporary file?

-- 
 - mdz

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 401096] Re: Weird buffering of scanned pages with scanimage frontend

2009-07-29 Thread Jeffrey Ratcliffe
2009/7/29 Matt Zimmerman m...@ubuntu.com:
 How about having scanimage write the image to a pipe, so we can detect EOF,
 rather than to a temporary file?

Unfortunately this is not possible. We have to use --batch mode in
scanimage to be able to use the ADF - as my HP OfficeJet 5510, at
least, is incapable of just scanning 1 page from the ADF - it always
scans all that are in the feeder. --batch mode implies writing to
files.

-- 
Weird buffering of scanned pages with scanimage frontend
https://bugs.launchpad.net/bugs/401096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs