Hi,
I came across the below error which is quite infrequent and sporadic when I query the web server. Not sure why this occurs.
JavaScript
[TSTSERVER1] *** lua run error [string " local ae='TSTSERVER1';..."]:9: attempt to index local 'r' (a nil value) in ' local ae='TSTSERVER1'; local q2=DicomObject:new(); q2.QueryRetrieveLevel='IMAGE' q2.StudyInstanceUID='<STUDYUID>' q2.SeriesInstanceUID='<SERIESUID>' q2.SOPInstanceUID='' q2['9999,0202']='-Private,7FE0,30060039' local r = dicomget(ae, 'IMAGE', q2) r = r:Serialize(true,false,true) local s=tempfile('.txt') local f=io.open(s, "wb") f:write(r) returnfile=s f:close() '
Could you please guide me on how to debug this? Not familiar with Lua. Thanks.