Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mythtv: Mythfilldatabase not working
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Sat Jun 05, 2004 9:45 pm    Post subject: Mythtv: Mythfilldatabase not working Reply with quote

Hey guys. I just upgraded my MythTV from .14 to .15 following he guide in the forums. At the step where you run mythfilldatabase, I keep getting these errors:

Code:
--16:42:22--  http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.

gzip: stdin: unexpected end of file
--16:42:22--  http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.

gzip: stdin: unexpected end of file
--16:42:22--  http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
           => `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.

gzip: stdin: unexpected end of file


What is weird is that I am configured to use DataDirect, which I have an account for and I had used before in .14. My username and password worked then, and it works on their site now, but it doesn't work with mythfilldatabase.

I thought I would try to configure the url to the DataDirect service to include http://user:password@url/, but I can't find which file the url is in. Any ideas?
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
dcstimm
Guru
Guru


Joined: 19 Jun 2002
Posts: 321

PostPosted: Mon Jun 07, 2004 5:53 am    Post subject: Reply with quote

I have the same problem
Back to top
View user's profile Send private message
fozzy
n00b
n00b


Joined: 28 Dec 2003
Posts: 29
Location: philadelphia, pa

PostPosted: Mon Jun 07, 2004 8:10 pm    Post subject: hmmm.... Reply with quote

no problems here....upgraded from .13 to .15 a few days ago, and it was pretty seamless....

i'd ask on the myth forums/mailing lists

- fozz
_________________
i'm lost...help me....
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Mon Jun 07, 2004 9:50 pm    Post subject: Reply with quote

I asked them, but no good answers yet. Perhaps there is some use flag that needs to be set for compile? Fozzy, what are your use flags set to?
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
garion911
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 88

PostPosted: Tue Jun 08, 2004 12:02 am    Post subject: Reply with quote

I upgraded a while ago from mythtv CVS...

It seems that for North America anyways that they have switched serivces for getting the listings... Its now ZapIt or something like that.. You will have to sign up for an account, but its free.. You will have to renew the account occasionally by filling out surveys..

see here.

--Garion
Back to top
View user's profile Send private message
vts
n00b
n00b


Joined: 04 Dec 2002
Posts: 24

PostPosted: Tue Jun 08, 2004 1:48 am    Post subject: Reply with quote

Yes, well I'm having the same problem. Still... I have upgraded to zap2it, doing the sign on and everything. But when I run mythfilldatabase I get:

--21:37:44-- http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
=> `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.


a bunch of times. When I run tv_grab_na_dd I see all the xml data fly by (after a bit of a wait). When I go to the url that mythfilldatabase prints I get a login box, but apparently it doesn't like my login/password on THAT URL even though it works fine when I start at labs.zap2it.com and login there. I even created a new login on zap2it, same thing.
_________________
AMD Athlon 2000+ VIA KT333
512 MB PC2700
GeForce 4 Ti 4200
ATI TV-Wonder VE
Plextor DVD/CDR/CDRW
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 1:52 am    Post subject: Reply with quote

Already done that. I migrated to DataDirect with .14, so the same information should work in .15, but it doesn't.
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
vts
n00b
n00b


Joined: 04 Dec 2002
Posts: 24

PostPosted: Tue Jun 08, 2004 2:02 am    Post subject: Reply with quote

found the problem... Go back into mythsetup, look in video source setup, and add your login/password in the xml tv listings grabber boxes. I thought it was picking up my login/password from $HOME/.xmltv/tv_grab_na_dd.conf. :oops:
_________________
AMD Athlon 2000+ VIA KT333
512 MB PC2700
GeForce 4 Ti 4200
ATI TV-Wonder VE
Plextor DVD/CDR/CDRW
Back to top
View user's profile Send private message
fozzy
n00b
n00b


Joined: 28 Dec 2003
Posts: 29
Location: philadelphia, pa

PostPosted: Tue Jun 08, 2004 2:20 am    Post subject: Reply with quote

i think vts may be right. I didn't upgarde to datadirect until this version, cause i never used .14. I think the place where the login, etc. is stored may be different between .14 and .15.
_________________
i'm lost...help me....
Back to top
View user's profile Send private message
vts
n00b
n00b


Joined: 04 Dec 2002
Posts: 24

PostPosted: Tue Jun 08, 2004 2:27 am    Post subject: Reply with quote

I also didn't upgrade to DataDirect until this version of MythTV (when I noticed the old xmltv stuff wasn't working this weekend). I don't remember setting up a login/password for the old xmltv stuff, but it's been a LONG time since I did it.
_________________
AMD Athlon 2000+ VIA KT333
512 MB PC2700
GeForce 4 Ti 4200
ATI TV-Wonder VE
Plextor DVD/CDR/CDRW
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 3:03 am    Post subject: Reply with quote

No good. I have set the login and password in mythsetup and when I click 'Retrieve Lineups' I get the same errors on the console and nothing happens. Mythfilldatabase is still failing too.
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 3:06 am    Post subject: Reply with quote

Something else. The mythfilldatabase_dd file I created for using DataDirect with .14 still works, mostly. It connects to DataDirect, downloads the info successfully, writes it to a file, but when it then attempts to use that file with mythfilldatabase it notices I am using .15 and stops.
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Tue Jun 08, 2004 3:09 am    Post subject: Reply with quote

using myth .15 version also,
and same here, I'm getting
"gzip: stdin: unexpected end of file" when I do the command mythfilldatabase
:(
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 3:20 am    Post subject: Reply with quote

I think it would help if everyone posts to the users list here to let them know this is not just me that is having this problem. I believe they think I am crazy. The subject for the thread is:

Re: [mythtv-users] Mythfilldatabase failing on DataDirect connection
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
beastmaster
Apprentice
Apprentice


Joined: 24 May 2004
Posts: 230

PostPosted: Tue Jun 08, 2004 3:51 am    Post subject: Reply with quote

anybody got mythtv working?
in .14 or .15 version?
:cry: :cry:
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 3:58 am    Post subject: Reply with quote

I had .14 working fine, and everything in .15 is working except the channels. After I fix this DataDirect problem my database will get channels from Zap2it and everything should be fine.
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Tue Jun 08, 2004 10:02 pm    Post subject: Reply with quote

So, any of you who have this working wanna post your USE and CHOST flags?
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Jun 09, 2004 3:36 am    Post subject: Reply with quote

Quote:
anybody got mythtv working?
in .14 or .15 version?


Yes. I have .15 working with datadirect. Using a hauppage 250 pvr. The only problem is up until now I do not have lirc working but hopefully this solves my problem: https://forums.gentoo.org/viewtopic.php?t=180725
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
vts
n00b
n00b


Joined: 04 Dec 2002
Posts: 24

PostPosted: Thu Jun 10, 2004 10:06 pm    Post subject: Reply with quote

Working fine, I just checked and stuff I had scheduled to tape last night are there. I did go through mythsetup and have it clear out everything. Just looked to see exact version of myth* and saw something a bit weird:


* media-tv/mythtv
Latest version available: 0.13-r1
Latest version installed: 0.15.1
Size of downloaded files: 3,186 kB
Homepage: http://www.mythtv.org/
Description: Homebrew PVR project.
License: GPL-2

* media-tv/mythfrontend
Latest version available: 0.13
Latest version installed: [ Not Installed ]
Size of downloaded files: 3,186 kB
Homepage: http://www.mythtv.org/
Description: Homebrew PVR project frontend.
License: GPL-2

* x11-themes/mythtv-themes
Latest version available: 0.13
Latest version installed: 0.14
Size of downloaded files: 6,599 kB
Homepage: http://www.mythtv.org/
Description: A collection of themes for the MythTV project.
License: GPL-2

mythfrontend IS installed and working fine, I just now noticed emerge shows it not installed????

Here is the info you asked for:

/etc/make.conf:USE="tif mmx mysql cdr dga dvd gphoto2 mozilla -directfb -quicktime scanner tcltk gnutella gtk2"

CHOST="i686-pc-linux-gnu"


And the output from mythfilldatabase:
$ mythfilldatabase
Refreshing Tomorrow's data
Retrieving datadirect data...
Grabbing data for Thu Jun 10 2004 offset 1
From : Fri Jun 11 04:00:00 2004 To : Sat Jun 12 04:00:00 2004 (UTC)
--17:52:03-- http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
=> `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

[ <=> ] 176,188 58.37K/s

17:52:07 (58.32 KB/s) - `-' saved [176188]

Your subscription expires on 09/06/04 15:25:22
Grab complete. Actual data from Fri Jun 11 04:00:00 2004 to Sat Jun 12 04:00:00 2004 (UTC)
Clearing data for source...
Clearing from Fri Jun 11 00:00:00 2004 to Sat Jun 12 00:00:00 2004 (localtime)
Data for source cleared...
Main temp tables populated. Updating myth channels...
Updating icons for sourceid: 1
Channels updated.. Updating programs...
Data is already present for Thu Jun 10 2004, skipping
Data is already present for Sat Jun 12 2004, skipping
Data is already present for Sun Jun 13 2004, skipping
Data is already present for Mon Jun 14 2004, skipping
Data is already present for Tue Jun 15 2004, skipping
Data is already present for Wed Jun 16 2004, skipping
Data is already present for Thu Jun 17 2004, skipping
Data is already present for Fri Jun 18 2004, skipping
Data is already present for Sat Jun 19 2004, skipping
Data is already present for Sun Jun 20 2004, skipping
Fetching data for Mon Jun 21 2004
Retrieving datadirect data...
Grabbing data for Thu Jun 10 2004 offset 11
From : Mon Jun 21 04:00:00 2004 To : Tue Jun 22 04:00:00 2004 (UTC)
--17:52:26-- http://datadirect.webservices.zap2it.com/tvlistings/xtvdService
=> `-'
Resolving datadirect.webservices.zap2it.com... 206.18.98.160
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Connecting to datadirect.webservices.zap2it.com[206.18.98.160]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

[ <=> ] 175,097 92.01K/s

17:52:29 (91.81 KB/s) - `-' saved [175097]

Your subscription expires on 09/06/04 15:25:22
Grab complete. Actual data from Mon Jun 21 04:00:00 2004 to Tue Jun 22 04:00:00 2004 (UTC)
Clearing data for source...
Clearing from Mon Jun 21 00:00:00 2004 to Tue Jun 22 00:00:00 2004 (localtime)
Data for source cleared...
Main temp tables populated. Updating myth channels...
Updating icons for sourceid: 1
Channels updated.. Updating programs...
Adjusting program database end times...
0 replacements made.


In case anyone wants to know, I'm using a cheapo value edition ATI TV card. It was cheap, it works.
_________________
AMD Athlon 2000+ VIA KT333
512 MB PC2700
GeForce 4 Ti 4200
ATI TV-Wonder VE
Plextor DVD/CDR/CDRW
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Thu Jun 10, 2004 10:24 pm    Post subject: Reply with quote

Mthfrontend is a virtual package to basically build mythtv without the backend. It uses the same files as the normal mythtv package. When you build mythtv, it builds mythbackend and mythfrontend using the mythtv.tar.gz. Mythfrontend just builds mythfrontend, not mythbackend using the same mythv.tar.gz.

What about your CFLAGS? I think I may have found a bug in an athlon compile flag, but I am not sure.
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
vts
n00b
n00b


Joined: 04 Dec 2002
Posts: 24

PostPosted: Fri Jun 11, 2004 1:16 am    Post subject: Reply with quote

8O My CFLAGS are commented out of make.conf!?!?! Wonder how long they've been like that. I used to have them set for my Athlon XP proc, but now it's using the defaults.
_________________
AMD Athlon 2000+ VIA KT333
512 MB PC2700
GeForce 4 Ti 4200
ATI TV-Wonder VE
Plextor DVD/CDR/CDRW
Back to top
View user's profile Send private message
MisterX
n00b
n00b


Joined: 27 May 2003
Posts: 7
Location: Madison, AL

PostPosted: Sat Jun 12, 2004 3:22 am    Post subject: In the same boat Reply with quote

upgraded to .15 and cannot get datadirect to behave. Same symptoms as above.

I've tried wget 1.9-r2 and 1.9.1-r2 and neither of them seem to understand the headers datadirect's webservice is returning. I did some tethereal sniffing just to make sure the basic auth headers were getting sent... they are.

The first web transaction, wget is posting the http basic auth headers, gets a 401 status with a WWWAuthenticate header.

The second transaction, wget posts again, this time completely without an auth header. This one, of course, gets a 401 as well.

Perhaps something we can put in a .wgetrc or something that will honor the header datadirect sends back???
Back to top
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Sat Jun 12, 2004 3:31 am    Post subject: Reply with quote

Hmm. I dunno. I'll post your response to the mythtv boards and see what they have to say. Do you have an athlon by chance?
_________________
Your sig is better than my sig.
Homebrew everything!
Back to top
View user's profile Send private message
MisterX
n00b
n00b


Joined: 27 May 2003
Posts: 7
Location: Madison, AL

PostPosted: Sat Jun 12, 2004 3:38 am    Post subject: Reply with quote

I've got a thread open with Zap2It's tech support, but not much help.

I'm running a PVR 350 on a PII/266 (and it works!) using ivtv's framebuffer for X.


for the record . . .

CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="lirc -arts -cups -foomaticdb -gtk2 -imlib -gnome -libg++ -mikmod \
-motif -nls -opengl -pdflib -quicktime -spell -xmms -ssl -gtk"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
MisterX
n00b
n00b


Joined: 27 May 2003
Posts: 7
Location: Madison, AL

PostPosted: Sat Jun 12, 2004 3:42 am    Post subject: Reply with quote

Dirtboy... you behind a NAT firewall by chance? I am. Could that be hosing something up at Zap2It perhaps??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum