search for: _json

Displaying 5 results from an estimated 5 matches for "_json".

Did you mean: json
2009 Jul 05
2
JSON data not decoded in Rails
...= $H({name: ''Violet'', occupation: ''character'', age: 25 }).toJSON(); new Ajax.Request(send_data_url, { method: ''post'', parameters: json_parameters, contentType: ''application/json;'' }); } Rails: def change() debugger my_json = ActiveSupport::JSON.decode(params["_json"]) render :text => my_json end I''ve checked with the debugger that the json data that is sent to the server is the following: {"_json"=>"%7B%22name%22%3A%20%22Violet%22%2C%20%22occupation%22%3A%20%22charact er%22%2C...
2009 Nov 28
3
When and Where does is the Method Override parsed?
I''m trying to figure out when and where the method override is parsed and dealt with. This works curl ''http://www.whatsayye.com/questions/3.json'' \ -X "POST" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "X-HTTP-Method-Override: PUT" \ -d "{
2015 May 21
2
Re: [nbdkit python]: unable to locate modules
...t.so: undefined symbol: PyFloat_Type > nbdkit: error: /tmp/gcs.py: error running this script > > A smallest possible reproducer is to have a file that has a single line: > > import json I can fix it (for my simple json case) by doing: LD_PRELOAD=/usr/lib64/python2.7/lib-dynload/_json.so nbdkit python script=/tmp/json.py I wonder why Python doesn't dlopen the correct shared libraries? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtua...
2015 May 21
2
[nbdkit python]: unable to locate modules
I'm working on a python plugin for nbdkit that treats Google Cloud Storage as a block device. I have a library, gcs.py, that implements simple commands: list, get, put, delete; source is here: https://github.com/wspeirs/cldblkdev/blob/master/gcs.py When I attempt to run nbdkit I get the following error: nbdkit python script=/home/wspeirs/src/cldblkdev/cldblkdev.py Traceback (most recent call
2012 May 30
10
[xen-unstable test] 12988: regressions - FAIL
flight 12988 xen-unstable real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/12988/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-i386-oldkern 4 xen-build fail REGR. vs. 12979 Regressions which are regarded as allowable (not blocking): test-amd64-amd64-xl-qemuu-win7-amd64 12