Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Issue 501 in googlecl: Google docs d/l not working from inside Python script or OSX batch file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
googl...@googlecode.com  
View profile  
 More options Oct 31 2012, 7:43 am
From: googl...@googlecode.com
Date: Wed, 31 Oct 2012 11:43:33 +0000
Local: Wed, Oct 31 2012 7:43 am
Subject: Issue 501 in googlecl: Google docs d/l not working from inside Python script or OSX batch file
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 501 by cty.jga...@gmail.com: Google docs d/l not working from  
inside Python script or OSX batch file
http://code.google.com/p/googlecl/issues/detail?id=501

What steps will reproduce the problem?
1. Running "google docs get "Reassessment Request" --format csv  
/users/myaccount/Desktop" from inside OSX shell script
2.
3.

What is the expected output? What do you see instead?
Both don't seem to allow the script time to complete. There's a Python  
error:
"Traceback (most recent call last):
   File "/Users/myaccount/Desktop/reassess2.py", line 17, in <module>
     subprocess.call('google docs get "Reassessment Request" --format csv  
/Users/myaccount/Desktop')

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess .py",  
line 493, in call
     return Popen(*popenargs, **kwargs).wait()

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess .py",  
line 679, in __init__
     errread, errwrite)

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess .py",  
line 1249, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory"

When I run the shell script (running the command line above), I get:
?/Users/myaccount/Desktop/ReScript.sh ; exit;
.csvloading Reassessment Request to /users/myaccount/Desktop
logout

[Process completed]",
but no file is actually downloaded.

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
OSX Mountain Lion; 0.9.13 cl; 2.0.17 gdata (I think - not the most recent,  
but the one that works with cl)

Please provide any additional information below.

Thanks for the help!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »