[mythtv-users] mythtools v0.5

Ryszard ryszard99 at gmail.com
Fri Jan 19 05:29:43 UTC 2007


Ok,

so some good news, its not a dependency related problem.

skip this if you're not technical
---------8<--------------------------------------
When programming perl you can code in a "strict" manner which means all
variables must be defined with a scoping statement ("my").

when i program in perl, i use the strict method of programming as it leads
to tighter and cleaner code that is easier to troubleshoot.

the error that you have indicates the variable "@tokens" has not been
pre-declared.
---------8<--------------------------------------

so, if you go to line 127 and change the line "my ($tag, $synopsis);" to "my
($tag, $synopsis, @tokens);" it will work for you.

i've attached a new release with the fix.

HTH
Ryszard

On 19/01/07, Bilge Tutak <bilge.tutak at gmail.com> wrote:
>
> Hi,
> When I run the ./vidupdate I get this error.
> "Global symbol "@tokens" requires explicit package name at
> Mythtv/TVcom.pm line 133."
>
> Any idea what this is? I am pretty sure I have all the necessary packages.
>
> Thank you.
>
> Bilge.
>
> On 1/18/07, Ryszard <ryszard99 at gmail.com> wrote:
> > for those interested, i've fixed the problem with the parser not getting
> the
> > synopsis where a show as the "Watch Video" link next to it (at least for
> the
> > shows i'm testing with).
> >
> > suggestions/comments welcome,
> >
> > regs
> > Ryszard.
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070119/75e6090a/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtools-v0.6.tar.bz2
Type: application/x-bzip2
Size: 8622 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070119/75e6090a/attachment.bin 


More information about the mythtv-users mailing list