LinHES Forums
http://forums.linhes.org/

tv_grab_uk_rt fails to do the job
http://forums.linhes.org/viewtopic.php?f=14&t=9087
Page 1 of 1

Author:  esteban [ Sun Mar 19, 2006 12:31 pm ]
Post subject:  tv_grab_uk_rt fails to do the job

When I run tv_grab_uk_rt from mythtv-setup the terminal shows the following error;

Code:
undefined argument in option spec


Any ideas how to fix this? All other grabs work, just not the UK one.

Author:  mad_paddler [ Sun Mar 19, 2006 1:06 pm ]
Post subject: 

I had the same problem, just using the over the air guide for the time being, error messages below:

Code:
2006-03-18 11:38:17.788 Please wait while MythTV retrieves the list of available channels
Undefined argument in option spec
Undefined argument in option spec
2006-03-18 11:38:18.688 tv_grab_uk_rt --config-file '/home/mythtv/.mythtv/RT.xmltv' --configure
2006-03-18 11:38:18.688 exited with status 6400

Author:  esteban [ Sun Mar 19, 2006 1:14 pm ]
Post subject: 

Yup, that is the exact same error I am getting. I have only found one post via Google about it, it seems like we might be on our own here. For me, any "tv_grab_uk_rt" commands result in "Undefined argument in option spec " :(

Edit: Even after a fresh install I still have this problem, BTW I am using the latest R5B7 iso.

Author:  manoova [ Tue Mar 21, 2006 2:33 am ]
Post subject: 

Thought I'd add that I'm getting exactly the same problem as:

Code:
2006-03-18 11:38:17.788 Please wait while MythTV retrieves the list of available channels
Undefined argument in option spec
Undefined argument in option spec
2006-03-18 11:38:18.688 tv_grab_uk_rt --config-file '/home/mythtv/.mythtv/RT.xmltv' --configure
2006-03-18 11:38:18.688 exited with status 6400


Based in the UK, Running R5B7 on PIII 1.7 with Flyvideo 98 bt878 based card (erk, I know...).

RSS feeds working 100%.

Anyone else in the UK experiencing this?

Author:  sk6 [ Tue Mar 21, 2006 6:47 am ]
Post subject: 

hi,

edit /usr/bin/tv_grab_uk_rt
change (lines 114 & 115):
'days' => undef, # ignored
'offset' => undef, # ignored
to:
'days' => \ my $opt_undef1, # ignored
'offset' => \ my $opt_undef2, # ignored

it should now work.

sam

Author:  manoova [ Wed Mar 22, 2006 5:05 am ]
Post subject: 

Thanks sk6, this worked a treat :-)

For other newbies out there like me I did the following:

- Fresh install of R5B7
- At prompt for Root password to begin Knoppmyth configuration open up a new shell and edit /usr/bin/tv_grab_uk_rt with vi (any text editor should do).
- Make changes as specified by sk6
- save and exit
- Return to shell prompting for Root password and continue

Just one quick question: what does this change do exactly?

Author:  sk6 [ Wed Mar 22, 2006 6:54 am ]
Post subject: 

sets up two dummy variables which perl accepts
you could name these variables anything you like. (ie. $dummy1 ...)
the '# ignored' at the end is just a comment
this does not cause any side-effects.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/