View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 166 posts ] 
Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed May 14, 2008 9:38 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Is it configured to write to a log file in a location that it does not have permission to?
Does the backend log reveal anything?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 14, 2008 10:00 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
Hey Bj,

1) is your frontend running as myth user?
2) does the crontab work?
3) does the crontab do it as myth user?

Might be stupid questions, but i can as myth
1) run mythfilldatabase - does stuff
2) run tv_grab_au - does stuff
3) cron job mythfilldatabase - does stuff
4) myth gui settings to run mythfilldatabase - does stuff

Not sure where yours is breaking down, but could be something little like permissions as Greg says.

Nathan

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 15, 2008 12:24 am 
Offline
Joined: Fri Feb 03, 2006 7:41 am
Posts: 47
Location: Perth Australia
Greg Frost wrote:
Is it configured to write to a log file in a location that it does not have permission to?
Does the backend log reveal anything?


Thats it! It tries to write to the log file as the user mythtv, but it didn't have permission! Grrrrr. that has been bugging me for ages. Thanks Guys for your ideas, it works fine now.

Cheers

Bj

_________________
Backend/Front : Core2 1.86Ghz 1GBRAM 500GB HDD 32" LCD
Frontend1:VIA M10K Diskless 17" LCD Kitchen
Frontend2:VIA M10K Diskless 22" LCD
Frontend3:Centrino in cubby


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 15, 2008 12:37 am 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
excellent, glad to see Greg could be of assistance! :)

Nathan

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 6:52 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Anyone have problems with the latest Shepherd? I just installed it on a test version of KM, and it failed miserably, creating an infinite configuration loop and complaining about various things.

Version failing was 1.3.3. Version 1.2.40 was dropped in its place and worked instantly, pointing to the problem being newly introduced.

Anyone? Dust? No?

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 6:42 pm 
Offline
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location: Perth, Australia
hey mike,

unfortunately, i dont have a test machine, and i aint gonna be messing with rocksolid r5f27 until i really have to.

sorry i cant be of any help on that one...

although, just got a new laptop for work that i could dual boot... but im guessing your gonna figure it out before then.

Cheers,

Nathan

_________________
LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 4:20 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Thanks for the heads up Mick, I just checked mine and it only had two days of data left. I ran shepard at the command line and found that it updated all but one grabber (rex). After it updated I then ran mythfilldatabase and it seems to be running ok as we speak, I will report back how it goes.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 6:01 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Girkers wrote:
Thanks for the heads up Mick, I just checked mine and it only had two days of data left. I ran shepard at the command line and found that it updated all but one grabber (rex). After it updated I then ran mythfilldatabase and it seems to be running ok as we speak, I will report back how it goes.


Well, gosh darn it, you are totally correct. After I'd written that post I realised that Shepherd was updating itself to the latest version and thus totally failing to grab anything.

Back to my script then.

As myth, do this:

su -c "wget http://www.better-access.com/KM/tv_grab_au -O /usr/bin/tv_grab_au"
<enter root password>

Here you will find a problem with the config file creation, and I just cannot find out how to pass authentication in Perl.

I've written a very short script to set up your config file in bash (because it bloody well works, that's why!)
Code:
#!/bin/bash
#post channel scan
CHANNELS=''
for j in `grep "channel=" /home/mythtv/.mythtv/digital.xmltv|awk -F= '{print $2}'`
do
CHANNELS="$CHANNELS $j"
done
echo "Please choose an xmltvid from your chosen channels."
echo "Type it in and press enter or just press enter to leave it"
for i in `echo 'select channum,callsign,xmltvid from channel order by channum' | mysql -N -u root mythconverg|sed 's/\ /_/g'|sed 's/\t/=/g'`
do
echo
CHANNUM=`echo $i| awk -F= '{print $1}'`
CHANNAME=`echo $i| awk -F= '{print $2}'`
echo $i| awk -F= '{print "channel " $1 " (" $2 ") currently has xmltvid " $3}'
echo "Choose from:"
echo $CHANNELS
read xmltvid
if [ $xmltvid != '' ]
then echo "UPDATE channel SET xmltvid="$xmltvid" WHERE channum=$CHANNUM" |mysql -u root mythconverg
echo "Channel $CHANNUM has been set to $xmltvid"
else echo "Skipped!"
fi
done

Whack this into a file and run or bash it as user mythtv. In a second or so you will have your config file. After that, the grabber will just work.

The next KM release will incorporate this code into the ausdragon2 setup procedure.

Give me some feedback here. Is Shepherd broken for just Girkers and I, or are we going to see a million views tomorrow when the old version's data runs out?

Mike <-- not Mick

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 22, 2008 6:50 pm 
Offline
Joined: Wed Feb 08, 2006 8:31 pm
Posts: 20
Location: Canberra Australia
Mike

Just discovered mine is kaput as well. I'll try updating as Girkers DID and see what happens.

Cheers

Mick

_________________
BE - GA-K8NSC-939 M/B, AMD Dual 3800 CPU, 1Gb RAM, 1 x WD3000JB, 1 x WD3200JB in LVM, 3 x Dvico Lite/Home tuners, 6200 256Mb video card, old server box
FE - MB TBA, AMD 3300 Sempron CPU, 1Gb RAM, Seagate 80 Gb HD, 6200 256Mb video card


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 23, 2008 12:02 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
mudguts wrote:
Mike

Just discovered mine is kaput as well. I'll try updating as Girkers DID and see what happens.

Cheers

Mick


Thanks Mick. I have also written a script for generating the digital.xmltv file, if you haven't already got one. Have to upload it soon, but you'll have to do it manually ATM. Run the xmltvid script to set them up or use mythweb.

Cheers

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 23, 2008 2:58 pm 
Offline
Joined: Wed Feb 08, 2006 8:31 pm
Posts: 20
Location: Canberra Australia
G'day Mike

Shepherd 1.3.3 seems to be working for me at this stage.

cheers

Mick

_________________
BE - GA-K8NSC-939 M/B, AMD Dual 3800 CPU, 1Gb RAM, 1 x WD3000JB, 1 x WD3200JB in LVM, 3 x Dvico Lite/Home tuners, 6200 256Mb video card, old server box
FE - MB TBA, AMD 3300 Sempron CPU, 1Gb RAM, Seagate 80 Gb HD, 6200 256Mb video card


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 1:48 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
mudguts wrote:
Shepherd 1.3.3 seems to be working for me at this stage.


Did you do something to get it working, or did it just start working again?

Mike

P.S. I'm not willing to take the risk of going back to it as the default.

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 25, 2008 4:53 am 
Offline
Joined: Wed Feb 08, 2006 8:31 pm
Posts: 20
Location: Canberra Australia
I ran the shepherd config and setup again and then mythfilldatabase. Which worked at the time and yesterday but has not worked today. I will not get time to play with this for couple a days. I'd suggest not changing just yet.

Mick

_________________
BE - GA-K8NSC-939 M/B, AMD Dual 3800 CPU, 1Gb RAM, 1 x WD3000JB, 1 x WD3200JB in LVM, 3 x Dvico Lite/Home tuners, 6200 256Mb video card, old server box
FE - MB TBA, AMD 3300 Sempron CPU, 1Gb RAM, Seagate 80 Gb HD, 6200 256Mb video card


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 3:43 am 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
I am using RC14 at the mo as well and tonight I discovered that tv_grab_au is symlinked to the wrong file. In the default setup it is linked to /usr/bin/shepherd, but I found when I ran shepherd by hand it said the symlink should be pointing to /home/myth/.shepherd/shepherd

Once I corrected this and a couple of minor shepherd config things (mainly personal preferences) I ran mythfilldatabase and away she went.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 02, 2008 5:59 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Hi all,

The folks at oztivo.net changed their url without telling anyone.

This basically breaks everything, so if you're finding that everything's broken, I have written an updated tv_grab_au at http://www.better-access.com/KM/tv_grab_au

Cheers

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 166 posts ] 
Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 46 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