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

Reply via email to