Re: [BangPypers] Python-yql error

2010-10-17 Thread JAGANADH G
On Sun, Oct 17, 2010 at 10:21 PM, Senthil Kumaran wrote: > On Sat, Oct 16, 2010 at 02:33:05PM +0530, JAGANADH G wrote: > > >> >>> y.execute('select * from flickr.photos.search where text="panda" > limit > > >> 3') > > '{"error":{"lang":"en-US","description":"Syntax error(s) [line 1:59 > > expectin

Re: [BangPypers] Python-yql error

2010-10-17 Thread Senthil Kumaran
On Sat, Oct 16, 2010 at 02:33:05PM +0530, JAGANADH G wrote: > >> >>> y.execute('select * from flickr.photos.search where text="panda" limit > >> 3') > '{"error":{"lang":"en-US","description":"Syntax error(s) [line 1:59 > expecting limit got \'=\']"}}') Just listen to this error message. It says it

Re: [BangPypers] Python-yql error #solved

2010-10-16 Thread JAGANADH G
Finally the issue solved. Removed the old httplib2. The once again I did python setup.py install for python-yql. It downloaded the lated httplib2. And finally python-yql got working . Thanks Anand for the help -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___

Re: [BangPypers] Python-yql error

2010-10-16 Thread JAGANADH G
On Sat, Oct 16, 2010 at 2:29 PM, JAGANADH G wrote: > > > On Thu, Oct 14, 2010 at 7:03 PM, Anand Balachandran Pillai < > abpil...@gmail.com> wrote: > >> Runs fine for me. >> >> Python 2.7 (r27:82500, Oct 8 2010, 14:07:56) >> [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 >> Type "help", "copyr

Re: [BangPypers] Python-yql error

2010-10-16 Thread JAGANADH G
On Thu, Oct 14, 2010 at 7:03 PM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > Runs fine for me. > > Python 2.7 (r27:82500, Oct 8 2010, 14:07:56) > [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import yq

Re: [BangPypers] Python-yql error

2010-10-14 Thread Anand Balachandran Pillai
Runs fine for me. Python 2.7 (r27:82500, Oct 8 2010, 14:07:56) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import yql >>> y = yql.Public() >>> y.execute('select * from flickr.photos.search where text="panda" limit 3'

[BangPypers] Python-yql error

2010-10-13 Thread JAGANADH G
Dear All I was trying to run the following code >>> import yql >>> y = yql.Public() >>> query = 'select * from flickr.photos.search where text="panda" limit 3'; >>> result = y.execute(query) When i execute the fourth line I am getting the error http://pastebin.com/HryAZVEA . Any clue how to resol