View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 19, 2006 12:31 pm 
Offline
Joined: Wed Dec 08, 2004 10:45 pm
Posts: 38
Location: Vancouver BC
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:06 pm 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 19, 2006 1:14 pm 
Offline
Joined: Wed Dec 08, 2004 10:45 pm
Posts: 38
Location: Vancouver BC
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 2:33 am 
Offline
Joined: Thu Feb 23, 2006 10:13 am
Posts: 4
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?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 6:47 am 
Offline
Joined: Thu May 13, 2004 4:21 pm
Posts: 14
Location: london
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 5:05 am 
Offline
Joined: Thu Feb 23, 2006 10:13 am
Posts: 4
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 22, 2006 6:54 am 
Offline
Joined: Thu May 13, 2004 4:21 pm
Posts: 14
Location: london
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu