iOS Question job.getstring error/failure

John Woodsmall

Active Member
Licensed User
Longtime User
I use the job.getstring function to take a web page and then parse it apart and speak the results.
is there a size limit on getstring? or a way to make it larger?

0.) spoken_text = Job.Getstring
1.) the new page is larger, still a web page.
2.) it fails with:

Application_Start
Application_Active
response success
JobName = Job1, Success = true
Error occurred on line: 134 (HttpJob)
Error decoding data as string.
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
AstroMatch_Voice -[B4ICommon BytesToString::::] + 398
AstroMatch_Voice -[B4IHttpResponse GetString2:] + 238
AstroMatch_Voice -[b4i_httpjob _getstring2::] + 732
AstroMatch_Voice -[b4i_httpjob _getstring:] + 622
AstroMatch_Voice -[b4i_main _jobdone:] + 1752
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
AstroMatch_Voice +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
AstroMatch_Voice -[B4ICommon CallSubDebug4::::] + 940
AstroMatch_Voice -[B4ICommon CallSubDebug2::::] + 254
AstroMatch_Voice -[b4i_httpjob _complete::] + 992
AstroMatch_Voice -[b4i_httputils2service _completejob::::] + 1680
AstroMatch_Voice -[b4i_httputils2service _hc_responsesuccess::] + 1104
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
AstroMatch_Voice +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
AstroMatch_Voice -[B4IShell runMethod:] + 574
AstroMatch_Voice -[B4IShell raiseEventImpl:method:args::] + 2212
AstroMatch_Voice -[B4IShellBI raiseEvent:event:params:] + 1442
AstroMatch_Voice __61-[B4IHttp URLSession:downloadTask:didFinishDownloadingToURL:]_block_invoke + 240
libdispatch.dylib <redacted> + 498
libdispatch.dylib <redacted> + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF + 1532
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1590
CoreFoundation CFRunLoopRunSpecific + 516
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
AstroMatch_Voice main + 108
libdyld.dylib <redacted> + 2
)
 
Top