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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-04-06
Just a guess. Do you have some proxy setting on this machine with https url?
Raghu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Just a guess. Do you have some proxy setting on this machine with https url?
Raghu.
I do not think I have proxy on my machine.
-
Kasthuri
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.
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.
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.