JSON not parsing.

JSON not parsing.

kdg1972kdg1972 Posts: 5Questions: 0Answers: 0
edited February 2012 in General
Here is my JSON:

{
"sEcho": 0,
"iTotalRecords": 1640,
"iTotalDisplayRecords": 1640,
"aaData": [
[
"2012-02-02 00:57:13",
"2012-02-02 00:57:13",
"00:00:00",
"RackB09",
"0",
"31",
"TestPowerCheckpoint.py",
"--powerport=0 --runtime=900 --device=0 --force",
null,
"2007005002 ",
"SandForce[377731] ",
"CX6ABBF0",
"255",
"255",
"93789360",
"512",
null,
null,
null,
null,
"4293844353",
"__\n self.__canShowDiagnosticDeviceInfo)\n File \"/mnt/ssdt/code/python/Test_AD/Libs/Utilities/TestLogData.py\", line 336, in __init__\n canShowDiagnosticDeviceInfo = canShowDiagnosticDeviceInfo and not device.IsInRomMode()\n File \"/mnt/ssdt/code/python/Test_AD/Libs/SATA/Device.py\", line 1383, in IsInRomMode\n return( self.GetDeviceMode().isRomMode )\n File \"/mnt/ssdt/code/python/Test_AD/Libs/SATA/Device.py\", line 1323, in GetDeviceMode\n identifyData = self.IdentifyDevice()\n File \"/mnt/ssdt/code/python/Test_AD/Libs/SATA/Device.py\", line 627, in IdentifyDevice\n self.SendATACommand(taskFile, logData, 1 * 512, flags, protocols)\n File \"/mnt/ssdt/code/python/Test_AD/Libs/SATA/Device.py\", line 253, in SendATACommand\n return( self.__ssdtDevice.SendATACommand(taskFile,dataBuff,bufferSize,flags,protocols))\nRuntimeError: CommandTimeoutError: Error in IOCTL SEND ATA Call. Error Code = 80C00001\n****SSDT Driver Error: Begin****\nATA Command failed \nata1: status=0xec { Busy }\n\n****SSDT Driver Error: End****\n\n",
null,
"3"
]
]
}

It passed thru JSON LINT ok. But fails with the grid. What am I doing wrong.

Thanks,

Kevin.

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    sEcho should never be 0 if you are using server-side processing. It should be the same as what it sent to the server (parsed as an integer to prevent security issues).

    Allan
This discussion has been closed.