Active Topics

 



Notices


Reply
Thread Tools
Posts: 50 | Thanked: 37 times | Joined on Nov 2009
#1
I wanted to try the new google command line tool as announced on Ars today.

http://arstechnica.com/open-source/n...b-services.ars

I am a bit of a linux newb and I'm stuck... Hoping someone might have some advice. Here is what I've done so far...

I downloaded the Googlecl.deb (that's not the exact name) here http://code.google.com/p/googlecl/

Then I ran dpkg -i on that file and got a dependency error asking for python-gdata, so I went and dowloaded that too at this site...
http://code.google.com/p/gdata-python-client/

Then after I gunzipped, and unpacked the tar, I ran setup.py like so: "python setup.py install" as per instructions in the help. When I run the install it doesn't give me any errors, but I didn't get a sense that the installer actually installed it... it finishes with some info file.

Well after finishing that, I go back and try to dpkg -i the original googlecl.deb file and I get a message telling me that python-gdata still isn't installed.

Any ideas? I figured some of you would be curious enough to try this out.

Thanks!
 
Posts: 243 | Thanked: 146 times | Joined on Dec 2009 @ Knowhere
#2
I used this method without any hitches at all. Just got to figure out what I'm going to use it for now...
__________________
Please don't clutter the forum with questions that have been answered many times previously. Either use Power Search or check the following useful threads.

http://wiki.maemo.org/Frequently_asked_questions
http://en.wikipedia.org/wiki/Nokia_N900
http://wiki.maemo.org/N900
 
Posts: 70 | Thanked: 39 times | Joined on Mar 2010
#3
Originally Posted by captainqtp View Post
I wanted to try the new google command line tool as announced on Ars today.

http://arstechnica.com/open-source/n...b-services.ars

I am a bit of a linux newb and I'm stuck... Hoping someone might have some advice. Here is what I've done so far...

I downloaded the Googlecl.deb (that's not the exact name) here http://code.google.com/p/googlecl/

Then I ran dpkg -i on that file and got a dependency error asking for python-gdata, so I went and dowloaded that too at this site...
http://code.google.com/p/gdata-python-client/

Then after I gunzipped, and unpacked the tar, I ran setup.py like so: "python setup.py install" as per instructions in the help. When I run the install it doesn't give me any errors, but I didn't get a sense that the installer actually installed it... it finishes with some info file.

Well after finishing that, I go back and try to dpkg -i the original googlecl.deb file and I get a message telling me that python-gdata still isn't installed.

Any ideas? I figured some of you would be curious enough to try this out.

Thanks!
There's already a python gdata packaged for Maemo. You can just go an "apt-get install python-gdata".
 

The Following User Says Thank You to cheungs For This Useful Post:
salinmooch's Avatar
Posts: 39 | Thanked: 26 times | Joined on Mar 2008 @ On the wasatch front, UT USA
#4
I like the potential of googlecl. The picasa and youtube interfaces look interesting for some simple scripts to get your media off the tablets. It would be cool to have a gui wrapper to ease the use of the scripts . . . oh wait

Originally Posted by hellnick View Post
I used this method without any hitches at all. Just got to figure out what I'm going to use it for now...
 
Posts: 289 | Thanked: 83 times | Joined on Jul 2006
#5
Originally Posted by captainqtp View Post
Any ideas? I figured some of you would be curious enough to try this out.
Assuming you already have Python installed on your device, GoogleCL can be installed as follows.

1) Install python-gdata as "apt-get install python-gdata" (cheungs pointed that out).

2) Untar googlecl-0.9.7.tar.gz to say your home directory, then add ~/googlecl-0.9.7/src to your execution path in .profile.

And you are set to go... in xterm, do "google --help" to verify that install is ok... "google" for an interactive session.

--denis
 

The Following 4 Users Say Thank You to delaroca For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#6
Hmm, combined with command execution widget or the honey bee comb widget, this could be extremely useful.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#7
Here's my step by step including "proper" build & install as user. Open xterm and then type these commands (if you are ssh'ed as root you can change to normal user account by "su - user")
  • sudo apt-get install wget python-gdata
  • wget http://googlecl.googlecode.com/files/googlecl-0.9.7.tar.gz
  • tar zxvf googlecl-0.9.7.tar.gz
  • cd googlecl-0.9.7
  • python setup.py install --home=~
  • echo PATH=\"\$PATH:/home/user/bin\" >> ~/.profile
  • echo PYTHONPATH=\"\$PYTHONPATH:/home/user/lib/python\" >> ~/.profile
  • source ~/.profile
  • google

and enjoy
 

The Following 3 Users Say Thank You to stlpaul For This Useful Post:
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#8
GoogleCl allows creating a new album in picasa. This is an advantage over picasaweb sharing plugin wherein only an existing album can only be chosen. If this feature of googlecl could be merged with sharing plugin it would be awesome.
 
Posts: 171 | Thanked: 13 times | Joined on Nov 2009
#9
Anyone using this on a regular basis?
Looking for a auto script to keep my picture folders in sync with my n900?
 
Posts: 129 | Thanked: 32 times | Joined on Jun 2010
#10
Thanks @stlpaul..
However when I type google , it says import error : no module named googlecl found.

When i directly run from the src directory it works!
any pointers?

I am using 0.9.13 with PR1.3 + CSSU updates
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:59.