New B

Help
2006-04-06
2013-05-21
  • Kasthuri reddy

    Kasthuri reddy - 2006-04-06

    I would kile to know how to install libgmail and any other prerequsite softwares, like some googel software, if any.

    when I run libgmail, I got following error?.
    any kind of help will be apreciated.

    C:\Documents and Settings\XXX\Desktop\GMAIL-PYTHON\libgmail-0.1.4>libgmail.py
    Gmail account name: YYY@gmail.com
    Password:

    Please wait, logging in...
    Traceback (most recent call last):
      File "C:\Documents and Settings\XXX\Desktop\GMAIL-PYTHON\libgmail-0.1.
    4\libgmail.py", line 1535, in ?
        ga.login()
      File "C:\Documents and Settings\XXX\Desktop\GMAIL-PYTHON\libgmail- 0.1.
    4\libgmail.py", line 303, in login
        pageData = self._retrievePage(req)
      File "C:\Documents and Settings\XXX\Desktop\GMAIL-PYTHON\libgmail-0.1.
    4\libgmail.py", line 333, in _retrievePage
        resp = urllib2.urlopen(req)
      File "C:\Python24\lib\urllib2.py", line 130, in urlopen
        return _opener.open(url, data)
      File "C:\Python24\lib\urllib2.py", line 358, in open
        response = self._open(req, data)
      File "C:\Python24\lib\urllib2.py", line 381, in _open
        'unknown_open', req)
      File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
        result = func(*args)
      File "C:\Python24\lib\urllib2.py", line 1053, in unknown_open
        raise URLError('unknown url type: %s' % type)
    urllib2.URLError: <urlopen error unknown url type: https>

    C:\Documents and Settings\XXX\Desktop\GMAIL-PYTHON\libgmail-0.1.4>

    Thanks,
    KK.

     
    • Anonymous - 2006-04-06

      Just a guess. Do you have some proxy setting on this machine with https url?

      Raghu.

       
    • Kasthuri reddy

      Kasthuri reddy - 2006-04-12

      I do not think I have proxy on my machine.

      -
      Kasthuri

       
      • Anonymous - 2006-04-13

        HI,

        I searched google for "urlopen error unknown url type: https" which seems to bring some useful pointers. You may give it a try.

        Raghu.

         
    • rodericj

      rodericj - 2007-02-14

      After looking at the code I see that there may be an error at line 318.
      Tracing through execution shows that the code returns a URL similar to jibberish. Without looking too deep into it, I'd say that the Regular Expression they used was incorrect or the urllib.unquote() does not do what they expect it to do.

       
    • Loïc

      Loïc - 2007-04-03

      All is ok until I get an error message which ends with “Error: expected string without null bytes”. I renewed the operation, same error message.
      In addition I do not see, during the connection, any file created. Is this normal?
      Thank you.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks