Changeset 9e59131ec in mythtv


Ignore:
Timestamp:
Apr 30, 2012, 4:43:07 PM (12 years ago)
Author:
Gavin Hurlbut <ghurlbut@…>
Branches:
fixes/0.25
Children:
7fbcfb4b8
Parents:
b9e60ffc62
git-author:
Gavin Hurlbut <ghurlbut@…> (04/30/12 16:43:07)
git-committer:
Gavin Hurlbut <ghurlbut@…> (05/08/12 01:10:46)
Message:

Add more debug logs in the DataDirect? and MythDLMgr code

Refs #10662

Turns out the problem we are seeing is a known bug in Qt 4.7.1 that is fixed
in 4.7.2 (and wasn't there before 4.7.1).

In particular, if your Schedules Direct username is an email address, Qt4.7.1
stupidly puts the username as the part before the @ and the realm as the
portion after the @, even though the realm was already provided.

SO, if you have a Schedules Direct username that is an email address, either
upgrade to 4.7.2 (or higher), or downgrade to 4.7.0 (or lower).
(cherry picked from commit e778f23d0eeabf99be23121cebc190191aa7041f)

Location:
mythtv/libs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mythtv/libs/libmythbase/mythdownloadmanager.cpp

    rb9e60ffc62 r9e59131ec  
    769769
    770770    if (dlInfo->m_authCallback)
     771    {
     772        LOG(VB_FILE, LOG_DEBUG, "Calling auth callback");
    771773        dlInfo->m_authCallback(reply, authenticator, dlInfo->m_authArg);
     774    }
    772775}
    773776
     
    818821        if ((dlInfo->m_reply) &&
    819822            (dlInfo->m_errorCode == QNetworkReply::NoError))
     823        {
     824            LOG(VB_FILE, LOG_DEBUG,
     825                LOC + QString("Aborting download - lack of data transfer"));
    820826            dlInfo->m_reply->abort();
     827        }
    821828    }
    822829    else if (deleteInfo)
     
    848855            // this shouldn't happen
    849856            if (dlInfo->m_reply)
     857            {
     858                LOG(VB_FILE, LOG_DEBUG,
     859                    LOC + QString("Aborting download - user request"));
    850860                dlInfo->m_reply->abort();
     861            }
    851862            lit.remove();
    852863            delete dlInfo;
     
    860871        if (dlInfo->m_reply)
    861872        {
     873            LOG(VB_FILE, LOG_DEBUG,
     874                LOC + QString("Aborting download - user request"));
    862875            m_downloadReplies.remove(dlInfo->m_reply);
    863876            dlInfo->m_reply->abort();
  • mythtv/libs/libmythtv/datadirect.cpp

    rb9e60ffc62 r9e59131ec  
    976976                                                 QAuthenticator *auth)
    977977{
     978    LOG(VB_FILE, LOG_DEBUG, "DataDirect auth callback");
    978979    (void)reply;
    979980    auth->setUser(GetUserID());
Note: See TracChangeset for help on using the changeset viewer.