Bug 656997 - gscan2pdf does not start anymore, missing dependencies.
Summary: gscan2pdf does not start anymore, missing dependencies.
Status: RESOLVED DUPLICATE of bug 678805
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Tuukka Pasanen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 527537
Blocks: 678805
  Show dependency treegraph
 
Reported: 2010-12-02 07:48 UTC by Rudi Pittman
Modified: 2011-03-16 13:46 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rudi Pittman 2010-12-02 07:48:28 UTC
+++ This bug was initially created as a clone of Bug #527537 +++

***Same Error now occuring on Opensuse 11.3***


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.1) Gecko/20090714 SUSE/3.5.1-3.1 Firefox/3.5.1

gscan2pdf worked fine, but it does not start anymore. There are no unsolved dependencies, but starting it, I get the following error messages:

Can't locate forks.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/bin/gscan2pdf line 106.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 106.

Manually installing perl-forks and its dependencies ends up with:

Assertion ((sv)->sv_flags & (0x00200000|0x00400000|0x00800000)) failed: file "mg.c", line 88 at /usr/lib/perl5/site_perl/5.10.0/Sys/SigAction.pm line 132.
Compilation failed in require at /usr/bin/gscan2pdf line 106.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 106.

The package gscan2pdf is from the home:illuusio-repository, perl-Sys-SigAction from perl-devel.

Reproducible: Always

Steps to Reproduce:
1. Install gscan2pdf
2. Run gscan2pdf from console.
Comment 1 Tuukka Pasanen 2010-12-02 11:17:32 UTC
This should be fixed. Just use packages from devel:languages:perl and home:illuusio should work. It works at least for me. Please don't use CPAN forks because it does not work!
Comment 2 Richard Eigenmann 2011-02-07 21:14:01 UTC
I'm also having issues. I tried to remove most of my Perl packages and let zypper resolve all the dependencies. It failed to find perl-Set-IntSpan which is found on the OpenSuse package search. I installed it anyway but seem to have the problem with UnicodeData.txt:

Unicode::UCD: failed to find UnicodeData.txt in /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 . at /usr/lib/perl5/vendor_perl/5.12.1/PDF/API2/Resource/Font/BdFont.pm line 45 

I picked up perl-PDF-API2-0.73-3.1.x86_64 through the dependencies.
Comment 3 Tuukka Pasanen 2011-03-10 10:00:06 UTC
Please use devel:languages:perl as RPM-source and verify weather new 0.9.32 package is working or not for you. Sorry for delay.
Comment 4 Jigish Gohil 2011-03-10 18:08:00 UTC
Package is missing dependency:

gscan2pdf 
Can't locate Readonly.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i586-linux-thread-multi /usr/lib/perl5/5.12.1 .) at /usr/bin/gscan2pdf line 162.
BEGIN failed--compilation aborted at /usr/bin/gscan2pdf line 162.


Workaround to get it working:

 cpan install Readonly
Comment 5 Tuukka Pasanen 2011-03-10 18:36:32 UTC
Added perl-Readonly to depencies so It should be installed. Thanks for information.
Comment 6 Rudi Pittman 2011-03-11 07:52:55 UTC
Please remove me from this bug notification.  I've moved to a new distribution (Linux Mint) due to the issues in getting this application running "out of the box" under the last several versions of opensuse.
Comment 7 Jigish Gohil 2011-03-11 08:16:44 UTC
As I already applied the workaround mentioned above can't test new package, also moving to new distro openSUSE 11.4 ;)
Comment 8 Richard Eigenmann 2011-03-11 21:09:20 UTC
The new 0.9.32 version from Tuukka has solved the issues for me. On my 64-bit machine I had to visit 1-Click install on the openSUSE page for perl-Set-IntSpan. On one of my 32-bit machines I had to visit the same page for perl-Gtk2-Ex-Simple-List beore gscan2pdf worked.

I love this software. It really helps you scan all those old papers.
Comment 9 Shrenik Bhura 2011-03-12 12:58:29 UTC
Confirmation that it now starts fine. 

But there are other issues as yet (not sure if this should be a separate bug report)-
3 ocr tools integrated - gocr, tesseract, cuneiform
gocr - no ocr result
teserract - the language option is not visible, hence no output as well
cuneinform - performs the ocr but very poor results

Platform: openSUSE 11.4 x86_64
Have tried with scanner Canon DR-2050C which has Complete saned support.

Please do let me know if any other info is required.
Comment 10 Rudi Pittman 2011-03-12 13:08:12 UTC
It's a shame that this bug/app got no attention given that it's been around since opensuse 11.3 Alpha 1 until the submitter asks to be removed from the bug because they were forced to go to another disto to get work done.


This is my second request to be removed from the notifications on this bug.  I no longer use opensuse as opensuse apparently wasn't interested in resolving the issue.  Even now they want you to add personal sources from the build service as opposed to having the app available in mainline oss repo's.
Comment 11 Tuukka Pasanen 2011-03-12 17:14:14 UTC
Hmm.. I haven't seen any contribution from you eather. openSUSE or anyone doesn't pay me for keeping this app up-to-date. I do it because I need it and it have been working for me from day 1. So STOP whining and keep using Mint or fix the problem it's open source! Use the source, Luke! I DON'T GIVE A DAM! Other please stop using this bug and go bug https://bugzilla.novell.com/show_bug.cgi?id=678805. Thank you.
Comment 12 Rudi Pittman 2011-03-12 21:16:20 UTC
Hey cupcake...I didn't ask you to fix anything.   I asked to stop receiving emails on this bug.   It's real simple....you uncheck the box next to my email when you make your next snarky reply since I'm sure you will want to get the last word in.

As to my contribution....I'm the one who reported the bug months ago.


Do, or do not. There is no 'try.'  -- Yoda
Comment 13 Tuukka Pasanen 2011-03-16 13:46:06 UTC

*** This bug has been marked as a duplicate of bug 678805 ***