zenzo0410 / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Google CL crashes on v0.9.9 #253

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Google CL latest code
2. Upload from Windows 

What is the expected output? What do you see instead?
Upload file to Google Docs

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Pything v2.7 .. Gdata v2.0.11 .. Google CL v0.9.9

Please provide any additional information below.

D:\1SanjayStuff>C:\infraApps\googlecl\v0.99\google docs upload PUMA.txt
Please specify user: sanjayjairam541
Traceback (most recent call last):
  File "google", line 577, in <module>
  File "google", line 571, in main
  File "google", line 392, in run_once
  File "googlecl\docs\service.pyo", line 404, in request_access
  File "googlecl\service.pyo", line 303, in request_access
  File "gdata\service.pyo", line 416, in FetchOAuthRequestToken
  File "atom\http.pyo", line 163, in request
  File "httplib.pyo", line 860, in endheaders
  File "httplib.pyo", line 732, in _send_output
  File "httplib.pyo", line 699, in send
  File "httplib.pyo", line 1134, in connect
  File "<string>", line 1, in connect
socket.gaierror: (11004, 'getaddrinfo failed')

Original issue reported on code.google.com by sanjayja...@gmail.com on 12 Aug 2010 at 9:05

GoogleCodeExporter commented 8 years ago
Sounds like a proxy error. Are you behind a proxy? If so, check the FAQ: 
http://code.google.com/p/googlecl/wiki/FAQ

I haven't tested GoogleCL with Python 2.7, but that shouldn't be the issue.

Errors from httplib are typically caused by your internet connection settings, 
so if the fix for proxies does not work, your best bet is to search online for 
a solution.

Original comment by tom.h.mi...@gmail.com on 12 Aug 2010 at 1:58

GoogleCodeExporter commented 8 years ago
The link you give explains the problem but doesn't solve it. All files within 
libary.zip are pyo files, which as far as I can see can not be edited with a 
standard editor. Am I missing some config-file or where do I have to change 
these proxy settings? (this is all on windows, without administrative rights)

Original comment by verbeke....@gmail.com on 1 Sep 2010 at 8:49

GoogleCodeExporter commented 8 years ago
Are you using the exe from the .zip file, or the source code from the .tar.gz? 
I think you can set the proxy settings for the current shell with the following 
commands:

set http_proxy=http://<my_proxy>:<my_port>
set https_proxy=https://<my_proxy>:<my_port>

So my guess is: get the source code version, set those variables, then try the 
command. Someone with more Windows experience may be able to tell you how to 
set the variables for use with the .exe

You may need to set use HTTP_proxy and HTTPS_proxy instead/also.

Original comment by tom.h.mi...@gmail.com on 1 Sep 2010 at 6:59