
I'm getting the following error when I try to print a ticket from the customer's zoom ticket page: Undefined subroutine &Compress::Zlib::uncompress called at /usr/lib/perl5/site_perl/5.8.5/PDF/API2/Basic/TTF/Name.pm line 110. Line 10 in my name.pm is: $apple_encodings[0][$i] = [unpack("n*", Compress::Zlib::uncompress(unpack("u", $apple_encs[$i])))] Any ideas what might be causing this? Yum says Zlib is up to date. I thought that perhaps customer.pl was sending an extra "&" to name.pm.... Thanks in advance for any help...

Jeff wrote:
I'm getting the following error when I try to print a ticket from the customer's zoom ticket page:
Undefined subroutine &Compress::Zlib::uncompress called at /usr/lib/ perl5/site_perl/5.8.5/PDF/API2/Basic/TTF/Name.pm line 110.
Line 10 in my name.pm is: $apple_encodings[0][$i] = [unpack("n*", Compress::Zlib::uncompress(unpack("u", $apple_encs[$i])))]
Any ideas what might be causing this? Yum says Zlib is up to date. I thought that perhaps customer.pl was sending an extra "&" to name.pm....
Thanks in advance for any help...
Does ~otrs/bin/otrs.checkModules tell you that Compress::Zlib is installed ok? Nils Breunese.

It does say that Compress::Zlib is installed ok.
However, it returns the following between XML::Parser and PDF::API2:
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30, <DATA>
line 228.
Jeff
----- Original Message -----
From: "Nils Breunese (Lemonbit)"
Jeff wrote:
I'm getting the following error when I try to print a ticket from the customer's zoom ticket page:
Undefined subroutine &Compress::Zlib::uncompress called at /usr/lib/ perl5/site_perl/5.8.5/PDF/API2/Basic/TTF/Name.pm line 110.
Line 10 in my name.pm is: $apple_encodings[0][$i] = [unpack("n*", Compress::Zlib::uncompress(unpack("u", $apple_encs[$i])))]
Any ideas what might be causing this? Yum says Zlib is up to date. I thought that perhaps customer.pl was sending an extra "&" to name.pm....
Thanks in advance for any help...
Does ~otrs/bin/otrs.checkModules tell you that Compress::Zlib is installed ok?
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
__________ NOD32 2807 (20080119) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com

Jeff wrote:
It does say that Compress::Zlib is installed ok.
However, it returns the following between XML::Parser and PDF::API2: Use of uninitialized value in concatenation (.) or string at /usr/ lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30, <DATA> line 228.
The only Scalar/Util.pm I can find on our CentOS 4 install is located at /usr/lib/perl5/5.8.5/Scalar/Util.pm and is part of the perl package. What does 'rpm -qf /usr/lib/perl5/5.8.5/i386-linux-thread- multi/Scalar/Util.pm' say? Nils Breunese.

It says that it isn't owned by any package. :/
----- Original Message -----
From: "Nils Breunese (Lemonbit)"
Jeff wrote:
It does say that Compress::Zlib is installed ok.
However, it returns the following between XML::Parser and PDF::API2: Use of uninitialized value in concatenation (.) or string at /usr/ lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30, <DATA> line 228.
The only Scalar/Util.pm I can find on our CentOS 4 install is located at /usr/lib/perl5/5.8.5/Scalar/Util.pm and is part of the perl package. What does 'rpm -qf /usr/lib/perl5/5.8.5/i386-linux-thread- multi/Scalar/Util.pm' say?
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/

I haven't, and that is what I found so strange.
CentOS, out-of-the box perl, and OTRS by the manual.
zlib is up to date, too, according to yum.
----- Original Message -----
From: "Nils Breunese (Lemonbit)"
Ryan Meyer wrote:
It says that it isn't owned by any package. :/
Have you been installing Perl modules any other way? CPAN perhaps? It looks like this file is causing trouble.
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/

I've answered my own problem:
The Zlib uncompress error happens on CentOS and RHEL.
It happens because Scalar::Util doesn't have the XS extension on these
distros.
see: http://rt.cpan.org/Public/Bug/Display.html?id=27598
and: http://bugs.centos.org/view.php?id=2434
The solution is to forcefully reinstall Scalar::Util with the XS extension.
----- Original Message -----
From: "Ryan Meyer"
I haven't, and that is what I found so strange. CentOS, out-of-the box perl, and OTRS by the manual.
zlib is up to date, too, according to yum.
----- Original Message ----- From: "Nils Breunese (Lemonbit)"
To: "User questions and discussions about OTRS.org" Sent: Sunday, January 20, 2008 4:06 PM Subject: Re: [otrs] Zlib uncompress error Ryan Meyer wrote:
It says that it isn't owned by any package. :/
Have you been installing Perl modules any other way? CPAN perhaps? It looks like this file is causing trouble.
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
__________ NOD32 2811 (20080121) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com

Hi Jeff, I'm facing the same issue with OTRS and a CentOS 5.1 server. How did you solve your problem please, I tried to reinstall Compress::Zlib by hand through CPAN but it didn't help. Thanks by advance for your answer. Laurent MINOST Jeff a écrit :
I've answered my own problem:
The Zlib uncompress error happens on CentOS and RHEL.
It happens because Scalar::Util doesn't have the XS extension on these distros.
see: http://rt.cpan.org/Public/Bug/Display.html?id=27598 and: http://bugs.centos.org/view.php?id=2434
The solution is to forcefully reinstall Scalar::Util with the XS extension.
----- Original Message ----- From: "Ryan Meyer"
To: "User questions and discussions about OTRS.org" Sent: Monday, January 21, 2008 12:06 PM Subject: Re: [otrs] Zlib uncompress error I haven't, and that is what I found so strange. CentOS, out-of-the box perl, and OTRS by the manual.
zlib is up to date, too, according to yum.
----- Original Message ----- From: "Nils Breunese (Lemonbit)"
To: "User questions and discussions about OTRS.org" Sent: Sunday, January 20, 2008 4:06 PM Subject: Re: [otrs] Zlib uncompress error Ryan Meyer wrote:
It says that it isn't owned by any package. :/ Have you been installing Perl modules any other way? CPAN perhaps? It looks like this file is causing trouble.
Nils Breunese. _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
__________ NOD32 2811 (20080121) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
participants (4)
-
Jeff
-
Laurent Minost
-
Nils Breunese (Lemonbit)
-
Ryan Meyer