Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 42824
Status: rejected
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: wi2big [...] hotmail.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Runtime-Error "Use of uninitialized value" Report in Apache2.2 log
Date: Tue, 27 Jan 2009 12:52:32 +0100
To: <bug-pdf-api2 [...] rt.cpan.org>
From: Willy Großmann <wi2big [...] hotmail.de>
Hello, after installing the modules (v0.72.003) and using it in junction with OTRS, I get many errors in the logfile from the apache2. Here are some messages from the log: [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $delta in addition (+) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 374., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $v in numeric ne (!=) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 374., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $v in numeric eq (==) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 375., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 411., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $current in addition (+) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 426., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $delta in addition (+) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 374., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $v in numeric ne (!=) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 374., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $v in numeric eq (==) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 375., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 411., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value $current in addition (+) at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 426., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 [Mon Jan 26 12:06:28 2009] [error] [client 1.2.3.4] [Mon Jan 26 12:06:28 2009] index.pl: Use of uninitialized value in pack at /usr/local/share/perl/5.10.0/PDF/API2/Basic/TTF/Cmap.pm line 353., referer: http://machine.domain.com/otrs/index.pl?Action=AgentStats&Subaction=View&StatID=2 and so on... Thank you! Willy Show quoted text
_________________________________________________________________ http://redirect.gimas.net/?n=M0902xFTPFotoalbum Digitale Fotoalben und Videos ganz einfach selbst erstellen.
Font::TTF is now being used instead of PDF::API2::Basic::TTF, so the warnings you listed are no longer part of the PDF::API2 codebase. That said, I'll acknowledge that PDF::API2 doesn't do enough error-checking or defining of values, and I'm hoping to change that in future releases.