Re: [Bug 424249] Re: locks when trying to save as PDF
When do you think it can be uploaded to Karmic? IMO, this is a serious bug that would prevent a new user from saving new scans - the raison d'etre for the software. As soon as SRU team acks the upload. For stable release, I would suggest a debdiff with no packaging changes, with only the patch necessary, applied inline. (Even at the cost of making lintian a bit unhappy.) Do you think you can prepare such debdiff? (In the changelog, version number should be 0.9.29-1ubuntu0.1, target release should be karmic-proposed.) I'm sorry if this sounds like bureaucracy to you, but as you see, during major changes mistakes are easier to make, so changes to stable release should be as small as possible. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Wed, Jan 27, 2010 at 12:23:10PM +0300, Ilya Barygin wrote: As soon as SRU team acks the upload. For stable release, I would suggest a debdiff with no packaging changes, with only the patch necessary, applied inline. (Even at the cost of making lintian a bit unhappy.) Do you think you can prepare such debdiff? (In the changelog, version number should be 0.9.29-1ubuntu0.1, target release should be karmic-proposed.) Attached. ** Attachment added: gscan2pdf_0.9.29-1ubuntu0.1.debdiff http://launchpadlibrarian.net/38453459/gscan2pdf_0.9.29-1ubuntu0.1.debdiff -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
Uploaded to karmic-proposed. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
No. I think that there are two different bugs here that are showing themselves in the same way. Unfortunately, I have, to date, not been able to reproduce the problem with imagemagick, but for those for whom the workaround adding the resolution=... in the .gscan2pdf (which was, as I explained before, not a good workaround), this bug would still be present. Generally, before a stable release is updated, the problem should be first resolved in the development release. So, is there something that needs to be fixed in Lucid, and if so, what's the plan? If there is another issue which still needs to be dealt with in both Karmic and Lucid, it's ok, and I think a separate report should be opened for it. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Tue, Jan 26, 2010 at 11:43:51PM +0300, Ilya Barygin wrote: Generally, before a stable release is updated, the problem should be first resolved in the development release. So, is there something that needs to be fixed in Lucid, and if so, what's the plan? No. The imagemagick issues have already been fixed. If you want to upload the patched version to Lucid and let people test there first, please be my guest. If there is another issue which still needs to be dealt with in both Karmic and Lucid, it's ok, and I think a separate report should be opened for it. No. As you see, a couple of people have already tested the patch here. I would upload to both Lucid and Karmic. I hope to have a new upstream version for Lucid (via unstable) in the next couple of weeks. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Tue, Jan 26, 2010 at 10:22:36PM -, Ilya Barygin wrote: Uploaded to Lucid. Upstream changelog was lost in the process, so I added an override for it. I also changed the target release to Lucid and mangled the Maintainer field. When do you think it can be uploaded to Karmic? IMO, this is a serious bug that would prevent a new user from saving new scans - the raison d'etre for the software. Regards Jeff -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Sun, Jan 24, 2010 at 07:01:23PM -, Ilya Barygin wrote: According to comments in the Debian bug, the problem goes away with imagemagick 7:6.5.7.8-1, so no fix should be required for Lucid (Lucid has imagemagick 7:6.5.7.8-1ubuntu1). Is this correct? No. I think that there are two different bugs here that are showing themselves in the same way. Unfortunately, I have, to date, not been able to reproduce the problem with imagemagick, but for those for whom the workaround adding the resolution=... in the .gscan2pdf (which was, as I explained before, not a good workaround), this bug would still be present. If the patch here is targeted for Karmic, please follow the steps in https://wiki.ubuntu.com/StableReleaseUpdates#Procedure . Where it says upload the fixed package, please instead attach the debdiff to this bug report and re-subscribe ubuntu-universe-sponsors (I'm unsubscribing u-u-s now). Yup, that was my plan. I am the Debian maintainer, but I guessed that you would prefer an Ubuntu-specific release, especially as I was hoping to fix this in unstable and testing with a new upstream release with a load of other changes. The bug affects only those using the libsane-perl frontend in gscan2pdf, but it completely prevents them from saving PDFs or DjVu files until the resolution is specified internally. The workaround suggested previously in this bug report does this for a fixed resolution, which will be wrong if a different one is used for scanning. A better workaround would be to use the scanimage frontend in gscan2pdf. This fix works by updating the internal resolution variable with that used during the scan process. The patch has been applied upstream and will be included in the upcoming 0.9.30 release. To reproduce the bug, delete the ~/.gscan2pdf file, start gscan2pdf, set the frontend in Edit/Preferences to libsane-perl, scan, and try to save as PDF or DjVu. I can't see any potential for regressions, as the patch is tiny - there are more changes to the Debian packaging to make it lintian-clean than to the application itself. In the attached debdiff, I have again slightly refined the packaging compared, but the patch itself is identical. Regards Jeff ** Attachment added: gscan2pdf_0.9.29-1ubuntu1.debdiff http://launchpadlibrarian.net/38378288/gscan2pdf_0.9.29-1ubuntu1.debdiff -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
2009/11/25 Jeffrey Ratcliffe Are you saying that if you extract the two PNMs from the tarball and import them into gscan2pdf, gscan2pdf hangs when producing the PDF? Does the following also hang (wXfNHp9jXW.pnm is one of the two PNMs): convert wXfNHp9jXW.pnm wXfNHp9jXW.tif ? I'm afraid the answer is no. The images will convert just fine when they are imported and converted. gscan2pdf only hangs when I scan and convert. But what is different when I scan and convert ? Tthe image is exactly the same when I import and convert. The two workarounds in comment #22 and #44 both works for me but are quite different in approach. The last mentions the resolution option in .gscan2pdf in your home directory, the first is about openmp Could it be something like gscan2pdf not handing over the resolution properly when openmp is used in imagemagick? only when scanning ofcourse. My box is a dualcore amd64 What is yours Jeffrey ? -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Tue, Nov 17, 2009 at 09:22:49AM -, Stinger wrote: But we need to isolate the bug to gscan2pdf or to perlmagick. Instructions needed please ? I can't reproduce this, but if someone can by IMPORTING an image, post the image, and I'll write the shell or perl script to be able to reassign it to the Imagemagick or Perlmagick packages. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
Works for me too :-) Tried with other resolutions resolution = 300 resolution = 500 Works too 2009/11/17 Stephen s...@sedberghschool.info Added to the bottom of .gscan2pdf within home directory... resolution = 200 -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 You received this bug notification because you are a direct subscriber of the bug. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
It is definitely an ImageMagick problem. The trouble is that I cannot reproduce it here. In order to allow the ImageMagick maintainers to reproduce it, we've got to give them a test image that doesn't convert. gscan2pdf stores the scanned images by default in a temporary directory it creates in /tmp. Having reproduced the problem, copy the problem image from the temporary directory (otherwise gscan2pdf will delete it next time it closes), and reproduce the problem after IMPORTING the image, rather than scanning it. Post the image here, naming the type of compression you were trying to use in the PDF. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
this worked for me too, we should consider this the fix? Nicholas Hatch wrote: Hello, Just as a confirmation/contribution, I followed the steps in Dan's post (#22): http://ubuntuforums.org/showpost.php?p=8145111postcount=6 When I attempted to save multipages to PDF, the application would freeze. After running the updates mentioned in the link, everything worked fine. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Thu, Nov 05, 2009 at 07:13:57PM -, Stinger wrote: I'm having trouble scanning and saving as djvu-file too. But if I save as tiff and import the tiff again I can save as djvu. Could this be related ? Does gscan2pdf use imagemagick to convert to djvu? Or do I need to open another bug report ? The procedure for saving as a PDF depends on which compression method is chosen: None - whatever format the image is in, typically PNM from the scanner Any other, i.e. JPEG, PNG, TIFF, etc. - if the image is not already in that format, then IM is used to convert. For DjVu, IM used to convert the image to either PNM, TIFF or JPG and the DjVu tools are used to convert from DjVu. i.e. TIFF-DjVu or scanner (PNM) to DjVu should not involve IM. Please start gscan2pdf with the --debug option, scan, try to save as DjVu, and post the output from the command line. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
I cannot reproduce this on my karmic box. Please start gscan2pdf with the --debug option, reproduce the problem, and post the output from the command line, noting which compression type you chose. -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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 424249] Re: locks when trying to save as PDF
On Fri, Oct 30, 2009 at 04:13:41PM -, sheen7334 wrote: The dialog box for saving shows a partial save and just sits there. What type of compression were you trying to use? -- locks when trying to save as PDF https://bugs.launchpad.net/bugs/424249 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