You are not logged in.
Pages: 1
Hi!
I allready posted this issue in the ng google.public.support.general, but I got no answer. Maybe here is the right place to solve my problem.
I'm not able to configure gcalcli to use a proxy. If I only set
http_proxy, following error occurs.
~% gcalcli calm
Traceback (most recent call last):
File "/usr/bin/gcalcli", line 1140, in <module>
DoooooItHippieMonster()
File "/usr/bin/gcalcli", line 1051, in DoooooItHippieMonster
borderColor=borderColor)
File "/usr/bin/gcalcli", line 333, in __init__
self.allCals = self.gcal.GetAllCalendarsFeed()
File "/usr/lib/python2.5/site-packages/gdata/calendar/service.py",
line 72, in GetAllCalendarsFeed
return self.Get(uri,
converter=gdata.calendar.CalendarListFeedFromString)
File "/usr/lib/python2.5/site-packages/gdata/service.py", line 513, in
Get
extra_headers=extra_headers)
File "/usr/lib/python2.5/site-packages/atom/service.py", line 316, in
HttpRequest
connection.endheaders()
File "/usr/lib/python2.5/httplib.py", line 860, in endheaders
self._send_output()
File "/usr/lib/python2.5/httplib.py", line 732, in _send_output
self.send(msg)
File "/usr/lib/python2.5/httplib.py", line 699, in send
self.connect()
File "/usr/lib/python2.5/httplib.py", line 683, in connect
raise socket.error, msg
socket.error: (111, 'Connection refused')
If I set https_proxy additionally, gcalcli outputs 'Error:
Failed to authenticate with Google Calendar!' and die.
I told the script to be kindly more informative and find out that the
throwed error was (111, 'Connection refused') again..
Linux o508 2.6.25-ARCH
Python 2.5.2
python-gdata-1.1.1-1
python-dateutil-1.4-2
Any ideas?
Thanks in advance
Felix
--
Given a choice between dancing pigs and security,
users will pick dancing pigs every time.
Offline
So what are you setting the proxy environment variable to? I've tested gcalcli against tinyproxy and it worked fine when just setting the "http_proxy" variable. See the following: http://code.google.com/p/gcalcli/wiki/HowTo
I'm the author of gcalcli btw... I hope you like it.
Offline
So what are you setting the proxy environment variable to? I've tested gcalcli against tinyproxy and it worked fine when just setting the "http_proxy" variable. See the following: http://code.google.com/p/gcalcli/wiki/HowTo
Well I know this page and read it before. I set http_proxy to the proxy 'proxy.hadiko.de:3128' in my local network (no authentication needed). wget etc works.. If I increase the "debuglevel"-variable in the class HTTPResponse (/usr/lib/python2.5/httplib.py) it outputs following lines above the traceback additionally.
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: text/plain
header: Cache-control: no-cache, no-store
header: Pragma: no-cache
header: Expires: Mon, 01-Jan-1990 00:00:00 GMT
header: Date: Thu, 04 Sep 2008 18:27:47 GMT
header: Content-Length: 626
header: Server: GFE/1.3
None
The strange thing is that if I use a wrong username/pass he outputs
Error: Failed to authenticate with Google Calendar!
Consequently gcalcli communicates with Google Calendar succesfully, at least the first time. Maybe its an issue with cookies and/or the port of the proxy..
I'm the author of gcalcli btw... I hope you like it.
Oh thats perfect. Sadly, my hippie monster doooes nothing useful right now..
Offline
Pages: 1