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: Fri Mar 04, 2005 9:49 pm 
Offline
Joined: Fri Mar 04, 2005 9:35 pm
Posts: 3
Apologies, i have tried searching and can notfind a solution. I've just installed R5A10 on my box and am getting a problem once installed it goes to the config where i attempt to add video sources. in australia so choose TV_GRAB_AU and australian frequencies etc. Basically it shows an error that it was unable to update the database. this error below is what i get when i tried running tv_grab au from cammand line and it also showed this error in the graphical setup:


[marten@darkstar ~]$ ssh marten@192.168.1.103
ssh: connect to host 192.168.1.103 port 22: No route to host
[marten@darkstar ~]$ ssh root@192.168.1.107
The authenticity of host '192.168.1.107 (192.168.1.107)' can't be established.
RSA key fingerprint is c7:cf:21:ce:b0:d1:3d:00:d7:e7:73:49:a1:fd:68:6d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.107' (RSA) to the list of known hosts.
Password:
root@mythtv:~# tv_grab_au --configure --loc brisbane
tv_grab_au - (version 0.6 - release 2004-07-19)

using config filename /root/.xmltv/tv_grab_au.conf
Undefined subroutine &main::askQuestion called at /usr/bin/tv_grab_au line 487.
root@mythtv:~#

It said the same thing when i alt-tabbed to xterm when originally trying to setup the video source:

Undefined subroutine &main::askQuestion called at /usr/bin/tv_grab_au line 487.

I dont know what to edit on line 487 to get it to work. I tried re-installing knoppmyth, and also using the TV-GRAB_AU from a site ont the, but knoppmyth appears to allready have the latest version.

Heres my computer specs:

ASUS A7v400-MX MOBO
AMD Sempron 2400
512 MB RAM
ATI Radeon 9250 (PRO i think)
CDRW
DVD ROM
Antec Case
(not sure what the tv card is but linux configures as booktree bt828 or somthin)

Please help someone, i want to make my girlfirend a believer in the media pc !!!!


[i[/i]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 9:54 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
This solution was found by nigelpearson:

nigelpearson wrote:
I didn't check this in any of the other R5 alphas, but there is an incompatibility - tv_grab_au uses askQuestion(), which used to be defined in /usr/share/perl5/XMLTV/AskTerm.pm

sub askQuestion( $$@ ) { &ask_question }

apt-get tells me that XMLTV is already the latest version, so I guess that the tv_grab_au script needs updating. Sigh.

I had to change askQuestion( to ask_choice(


$ diff `which tv_grab_au` tv_grab_au.fixed
487c487
< my $cn = askQuestion('Grab listings for which region?', $default_st, sort
keys %STATES);
---
> my $cn = ask_choice('Grab listings for which region?', $default_st, sort k
eys %STATES);
489c489
< my $dn = askQuestion('Grab listings for which service?', $default_srv, sor
t keys %SERVICES);
---
> my $dn = ask_choice('Grab listings for which service?', $default_srv, sort
keys %SERVICES);
514,515c514,515
< if (defined $ch_name_old){$answer=askQuestion("add channel: $ch_name
->[0]->[0] ($ch_name_old)?", 'yes', 'yes', 'no', 'all', 'none');}
< else {$answer=askQuestion("add channel: $ch_name->[0]->[0]?", 'yes',
'yes', 'no', 'all', 'none');}
---
> if (defined $ch_name_old){$answer=ask_choice("add channel: $ch_name-
>[0]->[0] ($ch_name_old)?", 'yes', 'yes', 'no', 'all', 'none');}
> else {$answer=ask_choice("add channel: $ch_name->[0]->[0]?", 'yes',
'yes', 'no', 'all', 'none');}
528c528
< $answer=askQuestion("add extra channel $namemap{$key}?", 'yes', 'yes'
, 'no', 'all', 'none');
---
> $answer=ask_choice("add extra channel $namemap{$key}?", 'yes', 'yes',
'no', 'all', 'none');
cesman wrote:
Thanks! I've added this to A11.


Top
 Profile  
 
 Post subject: Wow
PostPosted: Fri Mar 04, 2005 10:17 pm 
Offline
Joined: Fri Mar 04, 2005 9:35 pm
Posts: 3
Wow, thanks for seponding so quick..

With his response, could i simply replace all instances os "AskQuestion" with "ask_choice" using replace utulity in gedit or are there instances where ASkQuestion should be used in this file.

By the way, thanks again for the fast reply!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 11:20 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
BTW - Searching for "askQuestion" would have found that other thread for you. It never ceases to amaze me how many times searching for the very words people put in their message titles would have found them the exact info they needed.

- If you're asking about an error message pick the most unique looking term or terms in that message and search for them. You'll often do best with just one word.

- Try to think of two or three ways to rephrase the question and search using those words.

- Try several shallow searches first, until you get a reasonable sized list of threads. Use different phrasings, different keywords from an error message, try with and without "search for all terms" checked, ...

- Once you've got a small list of threads read them! Again, start shallow, if it doesn't look promising move on. However, be prepared to come back and go through the thread with a magnifying glass.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 05, 2005 12:05 am 
Offline
Joined: Fri Mar 04, 2005 9:35 pm
Posts: 3
iv'e just tried searching for "askquestion" and "nigelpearson" using both types of search , search for any terms or use queery & search for al terms and i got some i got a few unrelated hits. For askquestion all i get is my own post. I'm not gonna spend hours learning to get aroud te chnages that have been made to this phbb. Usuallly a simple search would come up with the mentioned post without changing a million options, why cant i just do a plain old search.

Sorry i've been up all night messing with this so im very grouchy but i usually don't have any probs searching forums.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 05, 2005 12:42 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I don't know how you could have failed to find this one:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=3224&highlight=askquestion

BTW - This is exactly the one Greg refered to.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 05, 2005 1:23 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Don't forget which section of the forum that post is in tjc.


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 1 guest


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