LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2008, 10:32 AM   #1
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Perl error running mythtv script


I just started getting this perl error on debian testing. I don't know perl and can't figure out what is generating the error.

Code:
Can't call method "value" on an undefined value at /usr/share/perl5/IO/Compress/RawDeflate.pm line 98.
line 98 in the file says this:

Code:
    my ($obj, $errstr, $errno) = IO::Compress::Adapter::Deflate::mkCompObject(
                                                 $got->value('CRC32'),
                                                 $got->value('Adler32'),
                                                 $got->value('Level'),
                                                 $got->value('Strategy')
                                                 );
the entire file is pretty big, i can post it at codepaste if it's needed. I need this script everyday to update my listings, so it's important I get it fixed. I just don't get what "value" the error is referring to, since there are four values on that line.


>> edit: some version info, not sure if it's important:

Quote:
root@moe:~ # perl --version

This is perl, v5.10.0 built for i486-linux-gnu-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

root@moe:~ # gcc --version
gcc (GCC) 4.2.4 (Debian 4.2.4-1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Last edited by slackhack; 05-23-2008 at 10:35 AM.
 
Old 05-23-2008, 01:48 PM   #2
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Perl in Lenny just updated to 5.10.0, but not all of the Perl modules in Lenny are ready to upgrade with it. So, for example, you can't have Perl 5.10.0 and svk right now. (I've been holding off on the Perl upgrade for that reason.) So, my first guess is that this is a temporary hiccup. if you want to fix it right away, you might want to roll back the Perl upgrade that you probably did a week or so ago.

Last edited by Telemachos; 05-23-2008 at 01:49 PM.
 
Old 05-23-2008, 03:35 PM   #3
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by Telemachos View Post
Perl in Lenny just updated to 5.10.0, but not all of the Perl modules in Lenny are ready to upgrade with it. So, for example, you can't have Perl 5.10.0 and svk right now. (I've been holding off on the Perl upgrade for that reason.) So, my first guess is that this is a temporary hiccup. if you want to fix it right away, you might want to roll back the Perl upgrade that you probably did a week or so ago.
I think you're right, it was just an upgrade incompatibility. I try to just do security updates on this box so I don't screw up myth, but I guess something got upgraded that messed with perl. upgrading all the perl-related packages didn't work, but an apt-get upgrade of the rest of the box seems to have fixed it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a BASH Script within PERL pm atrac Programming 4 05-10-2008 12:09 AM
Running a Perl script with SendMail NewByy Programming 2 08-25-2005 09:56 AM
Running a perl script bobfinners Linux - Software 1 06-23-2005 05:18 PM
running perl script dav_y2k Linux - Newbie 3 04-25-2005 05:00 AM
Perl script not running on FreeBSD J_Szucs *BSD 12 07-13-2002 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration