[mythtv-commits] Ticket #5904: Imdb script gives error message
MythTV
mythtv at cvs.mythtv.org
Wed Nov 12 02:37:27 UTC 2008
#5904: Imdb script gives error message
---------------------------------+------------------------------------------
Reporter: wstewart at hgrace.com | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythvideo | Version: head
Severity: medium | Mlocked: 0
---------------------------------+------------------------------------------
Running the imdb script from trunk gives the following error:
Global symbol "$uri" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 147.
Global symbol "$opt_d" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 149.
Global symbol "$opt_d" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 151.
Global symbol "$opt_r" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 152.
Global symbol "$movieid" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 154.
Global symbol "$opt_d" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 155.
Global symbol "$uri" requires explicit package name at
/usr/share/mythtv/mythvideo/scripts/MythTV/MythVideoCommon.pm line 156.
Compilation failed in require at
/usr/share/mythtv/mythvideo/scripts/imdb.pl line 35.
BEGIN failed--compilation aborted at
/usr/share/mythtv/mythvideo/scripts/imdb.pl line 35.
Either the line "use strict;" in MythVideoCommon.pm needs to be commented
out or the following needs to be added:
our ($uri, $opt_d, $opt_r, $movieid);
I've tested both and they seem to work.
Thanks to "rob at mossko" in the users list for suggesting the fix.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5904>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list