Bug 448007 - gscan2pdf not working
Summary: gscan2pdf not working
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-gettext
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-22 20:42 UTC by John Rosich
Modified: 2009-07-14 18:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-14 18:17:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Rosich 2008-05-22 20:42:56 UTC
Description of problem:gscan2pdf not working on 86_64 system; throws errors on
i386 system


Version-Release number of selected component (if applicable):0.9.23-1.fc9.noarch


How reproducible:Always


Steps to Reproduce:
1.Invoke gscan2pdf
2.gui for program is displayed on i386 system; no gui on 86_64
3.error messages for both systems are shown below
  
Actual results:can't scan


Expected results:should scan


Additional info:Enclosed are dumps from both systems.

***DUMP 86_64***
Constant subroutine main::LC_CTYPE redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_CTYPE () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_NUMERIC redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_NUMERIC () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm
line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_TIME () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_COLLATE redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_COLLATE () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_MONETARY redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_MONETARY () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_MESSAGES redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_MESSAGES () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Constant subroutine main::LC_ALL redefined at
/usr/lib/perl5/5.10.0/Exporter.pmline 66.
 at /usr/bin/gscan2pdf line 127
Prototype mismatch: sub main::LC_ALL () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 127
Unable to load icon at `/usr/share/gscan2pdf/stock-rotate-90.svg': Couldn't
recognize the image file format for file
'/usr/share/gscan2pdf/stock-rotate-90.svg'at /usr/bin/gscan2pdf line 6922.
Unable to load icon at `/usr/share/gscan2pdf/stock-rotate-180.svg': Couldn't
recognize the image file format for file
'/usr/share/gscan2pdf/stock-rotate-180.svg' at /usr/bin/gscan2pdf line 6922.
Unable to load icon at `/usr/share/gscan2pdf/stock-rotate-270.svg': Couldn't
recognize the image file format for file
'/usr/share/gscan2pdf/stock-rotate-270.svg' at /usr/bin/gscan2pdf line 6922.
Unable to load icon at `/usr/share/gscan2pdf/scanner.svg': Couldn't recognize
the image file format for file '/usr/share/gscan2pdf/scanner.svg' at
/usr/bin/gscan2pdf line 6922.
Unable to load icon at `/usr/share/gscan2pdf/pdf.svg': Couldn't recognize the
image file format for file '/usr/share/gscan2pdf/pdf.svg' at /usr/bin/gscan2pdf
line 6922.
Couldn't recognize the image file format for file
'/usr/share/gscan2pdf/gscan2pdf.svg' at /usr/bin/gscan2pdf line 521.
panic: free from wrong pool during global destruction.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
***DUMP i386***
Constant subroutine main::LC_CTYPE redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_CTYPE () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_NUMERIC redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_NUMERIC () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_TIME redefined at /usr/lib/perl5/5.10.0/Exporter.pm
line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_TIME () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_COLLATE redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_COLLATE () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_MONETARY redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_MONETARY () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_MESSAGES redefined at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_MESSAGES () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130
Constant subroutine main::LC_ALL redefined at /usr/lib/perl5/5.10.0/Exporter.pm
line 66.
 at /usr/bin/gscan2pdf line 130
Prototype mismatch: sub main::LC_ALL () vs none at
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/gscan2pdf line 130

Comment 1 Bernard Johnson 2008-05-23 01:10:37 UTC
The message related to Exporter.pm seem to have nothing to do with gscan2pdf. 
Try this test case:

#!/usr/bin/perl

use POSIX qw(locale_h :signal_h :errno_h :sys_wait_h);
use Locale::gettext 1.05;            # For translations


Comment 2 John Rosich 2008-06-12 13:41:51 UTC
Update 12 June 2008

The latest updates to gtk2 on the 86_64 system (gtk2-2.10.12-2.fc9.x86_64) now
permit us to scan; that is, the gui window comes up when 'gscan2pdf' is invoked
and scanning is possible. The error messages (noted in my original bugzilla)
starting with the line "Unable to load icon ..." are not showing though the ones
prior to that are still there.

Haven't had a chance to check out the i386 machines to see if gscan2pdf is
functional on them.


Comment 3 Bernard Johnson 2008-07-11 01:53:20 UTC
perl maintainers... please see test case in comment #1.

Your input would be appreciated.

Comment 4 Marcela Mašláňová 2008-07-17 14:29:14 UTC
We changed the installation paths of perl and made a little typo for different
archs. I suppose that gscan2pdf is running with gui on both archs after perl
update, which fixed this typo.

Warning messages come from module, which wasn't possibly check for perl-5.10.
I'll look at it.

Comment 5 Marcela Mašláňová 2008-07-18 10:20:45 UTC
The solution could be http://rt.cpan.org/Public/Bug/Display.html?id=35680

The patches are attached in rt bugzilla.

Comment 6 Bug Zapper 2009-06-10 01:06:13 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Bug Zapper 2009-07-14 18:17:35 UTC
Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.