tag:blogger.com,1999:blog-3174686716735347205.post2295771625186952719..comments2016-11-24T08:16:34.489-05:00Comments on public int: Setup GoogleCL on WinXPAnonymoushttp://www.blogger.com/profile/08318781574135029585[email protected]Blogger37125tag:blogger.com,1999:blog-3174686716735347205.post-61863983234613356202012-04-11T12:54:35.298-04:002012-04-11T12:54:35.298-04:00Did anyone tried the Discovery APIs with GoogleCL....Did anyone tried the Discovery APIs with GoogleCL. There is a description on http://code.google.com/p/googlecl/wiki/DiscoveryManual but I don't get it to workETStudenthttps://www.blogger.com/profile/16730393713873738931[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-22900204333245236142010-07-20T21:05:44.518-04:002010-07-20T21:05:44.518-04:00Update on auth_browser on Windows. You can also u...Update on auth_browser on Windows. You can also use forward slashes.<br /><br />auth_browser = C:/Users/johnma/AppData/Local/Google/Chrome/Application/chrome.exe' %s<br /><br />This issue with webbrowser.py is discussed at:<br /><br />http://comments.gmane.org/gmane.comp.python.tutor/45076HeatfanJohnhttps://www.blogger.com/profile/17982875695424774278[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-42852116120880422122010-07-20T15:15:38.893-04:002010-07-20T15:15:38.893-04:00Using Python 2.7 on Windows Vista and GoogleCL 0.9...Using Python 2.7 on Windows Vista and GoogleCL 0.9.8 I had to enclose the string for my path to chrome inside of single quotes and also add %s to the end. See my auth_browser below:<br /><br />auth_browser = 'C:\Users\johnma\AppData\Local\Google\Chrome\Application\chrome.exe' %s<br /><br /><br />I did a lot of standalone testing with webbrowser and found that it uses shlex which was removing all the backslashes from the browser string. The only way I found to avoid that was to enclose the string in single quotes. I also had to add %s otherwise webbrowser would try to clone a new chrome "controller" from its default list of controllers, however there isn't a default chrome controller, so this would also fail.HeatfanJohnhttps://www.blogger.com/profile/17982875695424774278[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-47579972112957097772010-06-25T22:23:24.053-04:002010-06-25T22:23:24.053-04:00If anyone's interested, I did manage to make G...If anyone's interested, I did manage to <a href="http://publicint.blogspot.com/2010/06/build-talking-calendar-with-googlecl.html" rel="nofollow">make GoogleCL work on Android</a>.Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-85338875986629612962010-06-24T22:28:47.253-04:002010-06-24T22:28:47.253-04:00@Jared E Hildebrandt: The GoogleCL wiki page on Sy...@Jared E Hildebrandt: The GoogleCL wiki page on System Requirements says Python 2.5 or 2.6 is required.<br /><br />http://code.google.com/p/googlecl/wiki/SystemRequirementsAnonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-29706649333341253152010-06-24T10:29:53.690-04:002010-06-24T10:29:53.690-04:00Has anyone tried this with python-3.1.2? I am run...Has anyone tried this with python-3.1.2? I am running XP SP3. I received many errors when attempting to install gdata-2.0.10.Jared E Hildebrandthttps://www.blogger.com/profile/15706176718927841493[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-71320579389885685002010-06-24T08:35:57.695-04:002010-06-24T08:35:57.695-04:00@KrishnaPrasad PB: I downloaded gdata and googlecl...@KrishnaPrasad PB: I downloaded gdata and googlecl from the links above, unzipped each to their respective directories, and then ran their setup.py files from a command prompt. At which step are you running into problems?<br /><br />@jimy: Did you see the section I wrote on creating a google.cmd script? That's what I use myself. With that script on your PATH, running GoogleCL is easy:<br /><br />> google docs listAnonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-59600965382956404632010-06-24T06:28:28.199-04:002010-06-24T06:28:28.199-04:00Hello, I have installed every software successfull...Hello, I have installed every software successfully. Can u give me a detail explanation that how should i run the command of googlecl............jimyhttps://www.blogger.com/profile/14820601290570526634[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-91112100967170473422010-06-23T14:06:47.753-04:002010-06-23T14:06:47.753-04:00Hello, Can you please explain in detail how to con...Hello, Can you please explain in detail how to configure the GoogleCL on WinXP. I have unable to configure it properly. I used win XP2. <br /><br />I have installed python at C:\Python26<br />and I could not install other 2 softwares. Please explain in detail. <br /><br />Thanks<br />KrishnaAnonymoushttps://www.blogger.com/profile/00959911192658336337[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-22554321255807453542010-06-22T14:25:12.938-04:002010-06-22T14:25:12.938-04:00@Lexicorro: At a command line, you can type set ht...@Lexicorro: At a command line, you can type set http_proxy=http://proxy:port<br /><br />Replacing proxy and port with your actual information. I think you can also set this up in the Environment Variables part of the System control panel item.Unknownhttps://www.blogger.com/profile/09526692613381339616[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-59244750708020363612010-06-22T09:29:24.060-04:002010-06-22T09:29:24.060-04:00@Tony and Julee Huy - What's the error?
@Lexi...@Tony and Julee Huy - What's the error?<br /><br />@Lexicorro - Sorry, I don't know either. I haven't had any need for a proxy so far.Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-30573975581902788502010-06-22T05:47:56.384-04:002010-06-22T05:47:56.384-04:00installed in winxp fine but have socket error. thi...installed in winxp fine but have socket error. think it needs telling to go thru proxy but haven't managed to find out how to do that yet.Skypiratehttps://www.blogger.com/profile/12737361025486180158[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-57385556257100649092010-06-22T03:29:21.011-04:002010-06-22T03:29:21.011-04:00install seems to work fine, but when i go and type...install seems to work fine, but when i go and type "google doc list", it does not open up a browser. Instead, it returns with a prompt "Please specify user:". When i put that in, it errors out<br /><br />Any ideas?Julee Huyhttps://www.blogger.com/profile/04338515143942103361[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-49770239957800353512010-06-21T16:36:04.904-04:002010-06-21T16:36:04.904-04:00With Python 2.6, after following the instructions ...With Python 2.6, after following the instructions here, my final working version of the google.cmd script is <br /><br />@echo off<br />SET googlecl_home=C:\Python26\Scripts<br /><br />python %googlecl_home%\google %*Keithhttps://www.blogger.com/profile/00944306985946416073[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-52145736503963472572010-06-21T13:50:40.357-04:002010-06-21T13:50:40.357-04:00Thanks, Joe! That sounds like a bug to me, so I pl...Thanks, Joe! That sounds like a bug to me, so I played around with it a bit and updated <a href="http://code.google.com/p/googlecl/issues/detail?id=51" rel="nofollow">issue #51</a> with my findings. I'll update these instructions as well.Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-29642709438428421092010-06-21T13:34:53.450-04:002010-06-21T13:34:53.450-04:00You might want to update the article to reflect th...You might want to update the article to reflect the fact that GoogleCL now (0.9.7) automatically launches the default browser for authorization. If you've already added the "auth_browser = " line in your config file, it will say "unable to find runnable browser".<br /><br />I tried entering the paths to Chrome, Firefox, and IE, then gave up and deleted the line in frustration - only to find out that that was exactly what I'd needed to do.Joe Ledvinahttps://www.blogger.com/profile/11796046248451472588[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-39239322700167160332010-06-21T11:24:39.576-04:002010-06-21T11:24:39.576-04:00Thanks for the post Isaac. Vijay / Shiroi, Did get...Thanks for the post Isaac. Vijay / Shiroi, Did get the following error<br />C:\Python26\python.exe: can't find '__main__.py' in 'C:\\googlecl-0.9.7\\src'<br /><br />On checking round that I had not extracted googlecl-0.9.7 to under the Python directory but to a different location. Re-extracted the tar to under C:\Python26, ran setup.py install, added C:\Python26 to %PATH% env variable and created a google.cmd as mentioned by Isaac under C:\. Got rid of the error, and if i run google docs list, it shows me a prompt to specify user.Remahttps://www.blogger.com/profile/00654732347415412037[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-56716458689804839542010-06-21T10:33:17.855-04:002010-06-21T10:33:17.855-04:00Thanks for the write-up!
0.9.7 should make launch...Thanks for the write-up!<br /><br />0.9.7 should make launching the browser much easier (as well as provide a less frightening message during authentication.)<br /><br />Re: filename expansion (aka "globbing") -- another user suggested Cygwin. Unfortunately, I have no experience with it, so I can't help beyond mentioning it.Tomhttps://www.blogger.com/profile/05263559079714378721[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-91922757165689874952010-06-21T08:38:38.353-04:002010-06-21T08:38:38.353-04:00@Vijay Challa
What's the command you're en...@Vijay Challa<br />What's the command you're entering? It looks like you're trying to run "googlecl-0.9.7\src" which is a directory instead of "googlecl-0.9.7\src\google" which is the actual file.Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-41016744703510933972010-06-21T02:24:15.026-04:002010-06-21T02:24:15.026-04:00I'm running andLinux on XP, so googleCL can ru...I'm running andLinux on XP, so googleCL can run under that.Unknownhttps://www.blogger.com/profile/07000959718932451951[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-42415820626745741492010-06-20T23:58:59.112-04:002010-06-20T23:58:59.112-04:00Hmmm...installing on windows is painful
If I use ...Hmmm...installing on windows is painful<br /><br />If I use python 2.5, I get<br />python: can't open file 'C:\googlecl\googlecl-0.9.7\src': [Errno 13] Permission<br />denied<br /><br />If I use python 2.6, I get <br />C:\python\python.exe: can't find '__main__.py' in 'C:\\googlecl\\googlecl-0.9.7\<br />\src'<br /><br />Any cluess on what I can do to make my life any better....Vijay Challahttps://www.blogger.com/profile/01507356421779881989[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-89265633048062622332010-06-19T20:41:17.558-04:002010-06-19T20:41:17.558-04:00DominixZ said...
I can use everything fine but I c...DominixZ said...<br />I can use everything fine but I cannot use *.jpg in command i don't know why like<br />"google picasa post --title 'Natural' *.jpg"<br /><br />---<br /><br />bialix said...<br />IIRC *.jpg won't work because windows command prompt won't expand wildcards.<br /><br />---<br /><br />Basically, yes, Windows is not a friendly scripting environment.<br /><br />You could do something like this:<br /><br />FOR %%i IN (*.jpg) DO google picasa post --title 'Natural' %%i<br /><br />That should post each image one at a time. Not great, I know. I think there will need to be either enhancements to GoogleCL (such as expanding wildcards) to accommodate Windows users or Windows wrappers written around GoogleCL if it hopes to be as useful on this platform.Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-33765536193592428232010-06-19T20:34:58.852-04:002010-06-19T20:34:58.852-04:00Shiroi Hane said...
I've installed Python 2.6 ...Shiroi Hane said...<br />I've installed Python 2.6 (on 64-bit Windows 7) and it seemed to go OK up until first trying "google docs list", where I get an error "C:\Python26\python.exe: can't find '__main__.py' in 'C:\\Python26\\googlecl-0.9<br />5\\src'"<br /><br />---<br /><br />I'm not familiar with Windows 7, but I could hazard a guess that it might be related to file permissions. But to be honest, I'm not that familiar with python troubleshooting either, so I could be way off base. :)Anonymoushttps://www.blogger.com/profile/08318781574135029585[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-11161532368760632662010-06-19T15:58:28.724-04:002010-06-19T15:58:28.724-04:00Warning about install_requires could be from absen...Warning about install_requires could be from absence of setuptools. Try to install it before installing google's libraries.<br /><br />http://pypi.python.org/pypi/setuptools/0.6c11bialixhttps://www.blogger.com/profile/03276301722234350242[email protected]tag:blogger.com,1999:blog-3174686716735347205.post-5298550047445731272010-06-19T15:56:10.202-04:002010-06-19T15:56:10.202-04:00IIRC *.jpg won't work because windows command ...IIRC *.jpg won't work because windows command prompt won't expand wildcards.bialixhttps://www.blogger.com/profile/03276301722234350242[email protected]