Error retrieving objects using python and javascript client

13 views
Skip to first unread message

roberto.d.

unread,
Jun 15, 2012, 7:26:10 AM6/15/12
to FluidDB Users
Hi everyone,
I cannot retrieve anymore the data from fluidinfo db. I'm using the
python and javascript client and both don't work.
To reproduce the error I developed this simple script:

import fluidinfo
fluidinfo.login(myusername,mypassword)
headers, response = fluidinfo.post('/objects')
id = response['id']
namespace = '/objects/'+id+'/'+myusername+'/test/'
fluidinfo.put(namespace+'value',1)
headers, content = fluidinfo.call('GET', '/values',tags=[myusername+'/
test/value'],query=myusername+'/test/value = 1')

I get this output:
#PUT :
({'status': '204', 'server': 'nginx/0.7.65', 'connection': 'keep-
alive', 'cache-control': 'no-cache', 'date': 'Fri, 15 Jun 2012
10:41:05 GMT', 'content-type': 'text/html'}, u'')
#GET
#{'status': '500', 'date': 'Fri, 15 Jun 2012 11:02:46 GMT',
'connection': 'keep-alive', 'transfer-encoding': 'chunked', 'x-fluiddb-
error-class': 'InternalServerError', 'content-type': 'text/html', 'x-
fluiddb-request-id': 'API-9004-20120615-110238-002861', 'server':
'nginx/0.7.65'}

Any help would be appreciated.
Thanks.
Roberto

Terry Jones

unread,
Jun 15, 2012, 8:40:48 AM6/15/12
to fluidd...@googlegroups.com
Hi Roberto

Thanks for the error report. We see the same error you do, and we're
looking into it now.

Terry

Terry Jones

unread,
Jun 15, 2012, 1:27:31 PM6/15/12
to fluidd...@googlegroups.com, dilauro...@gmail.com
Hi Roberto

We've just spent time digging into what was going wrong with querying. It
was fallout from the Amazon EBS incident last night.

Your query should work now. I couldn't test it directly as I don't know
your Fluidinfo username, but other queries are working. Please let me know
if you have any problem.

Thanks again for the email & I apologize for the very long unavailability
of querying. As usual, we're always improving things, and we'll definitely
put more effort into being more robust in the face of these kinds of
problems.

Terry

roberto.d.

unread,
Jun 15, 2012, 2:03:43 PM6/15/12
to fluidd...@googlegroups.com, dilauro...@gmail.com, te...@fluidinfo.com
Hi Terry,
now it works perfectly.
Thanks a lot for time spent to resolve the issue.
All my best,
 Roberto
Reply all
Reply to author
Forward
0 new messages