Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

schedulesdirect not working

 

 

First page Previous page 1 2 3 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded


greg at gregandeva

Apr 30, 2012, 11:24 AM

Post #51 of 60 (834 views)
Permalink
Re: schedulesdirect not working [In reply to]

On Sun, 2012-04-29 at 14:00 -0600, Greg Woods wrote:

> >
> > Not trying to stomp on the activity in your Trac ticket,
> > but your 2nd POST is returning realm="gregandeva.net"
> > instead of the correct realm="TMSWebServiceRealm".

My ticket on this issue has been closed as an Upstream Bug.

It turns out that this is a bug in Qt version 4.7.1, which happens to be
the version that comes with Fedora 14. If your SchedulesDirect username
has an "@" in it, then it will use the part to the right of the @ as the
realm, which is totally broken. For me, I haven't any idea what this
even means, and I've had the same SD username (and the same version of
Qt) for a long time now.

But I would like to express my appreciation to beirdo for the amount of
time he put into figuring this out. Who would have thought that a
graphical tool kit would cause a bug in logging into a web site from a
command line application?

As I understand it, there are three ways to work around this:

1) Use a SchedulesDirect username that doesn't have an @-sign in it.
2) Use a different version of Qt (the problem is specific to 4.7.1)
3) Use something other than mythfilldatabase to do the grabbing, then
use "mythfilldatabase --file" to load the data.

Right now I am using #3, but will switch to #1 as soon as I have time to
play with it. In the longer term, I am well aware that Fedora 14 is past
end-of-life, but upgrading the OS on my backend is a huge project that I
haven't got time for now, and probably won't for a couple of months
(I'll wait until Fedora 17 is released), and otherwise, upgrading Qt is
very difficult, so I will use the workarounds until I find time for the
"correct" fix.

--Greg


_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Apr 30, 2012, 11:46 AM

Post #52 of 60 (838 views)
Permalink
Re: schedulesdirect not working [In reply to]

On 04/30/2012 02:24 PM, Greg Woods wrote:
> My ticket on this issue has been closed as an Upstream Bug.
>
> It turns out that this is a bug in Qt version 4.7.1, which happens to be
> the version that comes with Fedora 14. If your SchedulesDirect username
> has an "@" in it, then it will use the part to the right of the @ as the
> realm, which is totally broken. For me, I haven't any idea what this
> even means, and I've had the same SD username (and the same version of
> Qt) for a long time now.
>
> But I would like to express my appreciation to beirdo for the amount of
> time he put into figuring this out.

+1

> Who would have thought that a
> graphical tool kit would cause a bug in logging into a web site from a
> command line application?

FWIW, Qt is far more than a graphical toolkit--it is an entire
development framework for C++. It provides a higher-level library/API
for C++ code than basic system/standard libraries.

> As I understand it, there are three ways to work around this:
>
> 1) Use a SchedulesDirect username that doesn't have an @-sign in it.
> 2) Use a different version of Qt (the problem is specific to 4.7.1)
> 3) Use something other than mythfilldatabase to do the grabbing, then
> use "mythfilldatabase --file" to load the data.

No, that will break your data. No one should /ever/ use
mythfilldatabase --file with Schedules Direct data.
http://www.gossamer-threads.com/lists/mythtv/users/515388#515388

That said, now that the breakage is understood, #3 (even with --dd-file)
should not be used by anyone, anymore. #1 is the quickest, easiest
solution (taking only seconds to implement).

> Right now I am using #3, but will switch to #1 as soon as I have time to
> play with it. In the longer term, I am well aware that Fedora 14 is past
> end-of-life, but upgrading the OS on my backend is a huge project that I
> haven't got time for now, and probably won't for a couple of months
> (I'll wait until Fedora 17 is released), and otherwise, upgrading Qt is
> very difficult, so I will use the workarounds until I find time for the
> "correct" fix.

Yeah, #1 is a good approach for someone on a distro that doesn't provide
the option to upgrade the Qt version.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


brandon.l.rogers at gmail

Apr 30, 2012, 11:55 AM

Post #53 of 60 (830 views)
Permalink
Re: schedulesdirect not working [In reply to]

>> Gavin traced it down to a bug in Qt 4.7.1, fixed in 4.7.2. The
workaround is to change your schedules direct login name to something
without an "@" sign in it.

Are we sure this is the problem? My SD login name does not have an "@" in
it and I still have this issue...

In any case, I'll see if I can upgrade to 4.7.2, and see how that goes.

Thanks,
Brandon


mtdean at thirdcontact

Apr 30, 2012, 12:02 PM

Post #54 of 60 (837 views)
Permalink
Re: schedulesdirect not working [In reply to]

On 04/30/2012 02:55 PM, Brandon Rogers wrote:
> >> Gavin traced it down to a bug in Qt 4.7.1, fixed in 4.7.2. The
> workaround is to change your schedules direct login name to something
> without an "@" sign in it.
> Are we sure this is the problem? My SD login name does not have an
> "@" in it and I still have this issue...
> In any case, I'll see if I can upgrade to 4.7.2, and see how that goes.
>

That was the problem in the case that was investigated.

You may have another problem.

Then again, you may have the same problem, but with a different
character that hasn't been reported as causing failures. You'd have to
let us know what your login name is for us to do more than guess.
Especially if you're on 4.7.1, though, you almost definitely have the
same problem.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


gjhurlbu at gmail

Apr 30, 2012, 12:28 PM

Post #55 of 60 (824 views)
Permalink
Re: schedulesdirect not working [In reply to]

On Mon, Apr 30, 2012 at 11:55 AM, Brandon Rogers
<brandon.l.rogers [at] gmail> wrote:
>>> Gavin traced it down to a bug in Qt 4.7.1, fixed in 4.7.2.  The
>>> workaround is to change your schedules direct login name to something
>>> without an "@" sign in it.
>
> Are we sure this is the problem?  My SD login name does not have an "@" in
> it and I still have this issue...

No, I'd say that maybe you still have *an* issue, not necessarily
*this* issue. For me to be able to investigate it, I'll need a full
logfile from mythfilldatabase run with -v file,network --loglevel
debug, AND a pcap file of it failing. To get that, see ticket #10662
where I gave the commandline for tcpdump.

> In any case, I'll see if I can upgrade to 4.7.2, and see how that goes.

That is still likely your best bet.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


bc-mythtv at comcast

Apr 30, 2012, 12:42 PM

Post #56 of 60 (829 views)
Permalink
Re: schedulesdirect not working [In reply to]

On 04/30/2012 03:28 PM, Gavin Hurlbut wrote:
> On Mon, Apr 30, 2012 at 11:55 AM, Brandon Rogers
>> In any case, I'll see if I can upgrade to 4.7.2, and see how that goes.
>
> That is still likely your best bet.

Fedora 14 packages for Qt 4.7.2 are still available here:

http://kojipkgs.fedoraproject.org/packages/qt/4.7.2/8.fc14/

There is even 4.7.4:

http://kojipkgs.fedoraproject.org/packages/qt/4.7.4/7.fc14/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


joehenley at kc

Jul 19, 2012, 3:59 PM

Post #57 of 60 (628 views)
Permalink
Re: schedulesdirect not working [In reply to]

Hi,

I'm having this problem as I'm trying to move from MythTV 0.23 to 0.25.
I'm also moving from CentOS 5.5 to FC-16. I cannot get Schedules Direct
data to load as described in these posts.

I have changed my username at SD to remove the "@", no joy. I've read
Mike's admonition against solution 3, using something besides
mythfilldata base to get the data; thus no joy. I've updated my FC-16
version of QT to 4.8.2, well clear of 4.7.1, and no joy.

I looked at the mythtv.spec file for Axel's FC-16 mythtv 0.25 version on
his ATRPMS site and it calls for >= 4.6. Could it be that he used 4.7.1
and this be why I can't get SD to load info in response to
mythfilldatabase? I'm pretty much dead-in-the-water for my update right
now.

Any thoughts and/or suggestions would be appreciated. Thanks!

Joe Henley



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


joe at thefrys

Jul 19, 2012, 7:36 PM

Post #58 of 60 (622 views)
Permalink
Re: schedulesdirect not working [In reply to]

>
> I'm having this problem as I'm trying to move from MythTV 0.23 to 0.25.
> I'm also moving from CentOS 5.5 to FC-16. I cannot get Schedules Direct
> data to load as described in these posts.
>
> I have changed my username at SD to remove the "@", no joy. I've read
> Mike's admonition against solution 3, using something besides mythfilldata
> base to get the data; thus no joy. I've updated my FC-16 version of QT to
> 4.8.2, well clear of 4.7.1, and no joy.
>
> I looked at the mythtv.spec file for Axel's FC-16 mythtv 0.25 version on
> his ATRPMS site and it calls for >= 4.6. Could it be that he used 4.7.1
> and this be why I can't get SD to load info in response to
> mythfilldatabase? I'm pretty much dead-in-the-water for my update right
> now.
>
> Any thoughts and/or suggestions would be appreciated. Thanks!
>
>
I had the exact same problem yesterday... mythtv-setup wouldn't even load
my lineups when setting it up. I'm not sure if the nightly from the day
before was the issue, and I had to reboot to clear some 'residue' or what.
I did notice that it would continually display the lineup I had
previously, even after I deleted it from SchedulesDirect... it was almost
like some sort of caching was in place.

What ended up fixing it for me was as simple as a reboot...

I hope you get it working.


mtdean at thirdcontact

Jul 19, 2012, 7:44 PM

Post #59 of 60 (622 views)
Permalink
Re: schedulesdirect not working [In reply to]

On 07/19/2012 06:59 PM, Joe Henley wrote:
> I'm having this problem as I'm trying to move from MythTV 0.23 to
> 0.25. I'm also moving from CentOS 5.5 to FC-16. I cannot get
> Schedules Direct data to load as described in these posts.
>
> I have changed my username at SD to remove the "@", no joy. I've read
> Mike's admonition against solution 3, using something besides
> mythfilldata base to get the data; thus no joy. I've updated my FC-16
> version of QT to 4.8.2, well clear of 4.7.1, and no joy.

FWIW, Mike was telling people that if they use tv_grab_na_dd to get
data, they should /never/ let it convert the data to XMLTV format or
they will break their data/lose information.

http://www.gossamer-threads.com/lists/mythtv/users/515732#515732 was the
post, note that it said:
---
No, that will break your data. No one should /ever/ use mythfilldatabase
--file with Schedules Direct data.
http://www.gossamer-threads.com/lists/mythtv/users/515388#515388
---

And then I followed up to say that there's no need to do that if your
problem is the one that had been identified as being caused by the @ in
a Schedules Direct username, since you could change the username.

> I looked at the mythtv.spec file for Axel's FC-16 mythtv 0.25 version
> on his ATRPMS site and it calls for >= 4.6. Could it be that he used
> 4.7.1 and this be why I can't get SD to load info in response to
> mythfilldatabase?

Regardless of what version MythTV was compiled against, the version it's
run against will determine if you encounter the Qt bug. So, since
you've updated to 4.8.2, you don't have the @ bug.

> I'm pretty much dead-in-the-water for my update right now.
>
> Any thoughts and/or suggestions would be appreciated. Thanks!

logs?
mythbackend --version ?

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


circushair at boyum

Jul 19, 2012, 7:49 PM

Post #60 of 60 (624 views)
Permalink
Re: schedulesdirect not working [In reply to]

> FWIW, Mike was telling people that if they use tv_grab_na_dd to get data, they should /never/ let it convert the data to XMLTV format or they will break their data/lose information.
>

We've got Mr. Dean referring to himself in the third person. This
can't be good. :)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

First page Previous page 1 2 3 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.