HTTP 400 Bad Response

  • Randy

    Randy - 2007-08-24

    Just running the, it asks for username and password and then returns:
    Please wait, logging in...
    HTTP Error 400: Bad Request
    Login successful.

    No messages found

    Traceback (most recent call last):
      File "C:\Python25\Lib\libgmail-0.1.6\", line 1600, in <module>
        quotaInfo = ga.getQuotaInfo()
      File "C:\Python25\Lib\libgmail-0.1.6\", line 508, in getQuotaInfo
        return self._cachedQuotaInfo[0][:3]
    TypeError: 'NoneType' object is unsubscriptable

    Any Ideas?

    • GradeAWarrior

      GradeAWarrior - 2007-08-27

      I believe I encountered a similar problem just a few moments ago. What I was doing was debugging a related issue using python2.5.1 (on cygwin) and libgmail-0.1.6. I was seeing the same 400 exception when trying to login with "ga.login()".

      The resolution in my case was to download the latest release in the download section. There may have been other factors, but I believe this was the root problem.


Log in to post a comment.