Well bummer. Below is my corresponing logcat. Where I get a: 05-30 12:53:20.185 3777 4829 D SWORD : received response from makeRequest with .length(): 88609 05-30 12:53:20.209 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 332 : ****** Returned from request to: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/; result
you get a: 05-30 21:17:38.942 16343 16561 D SWORD : received response from makeRequest with .length(): 88609 05-30 21:17:38.973 16343 16343 D SystemWebChromeClient: : Line 1 : Uncaught SyntaxError: Invalid or unexpected token 05-30 21:17:38.973 16343 16343 I chromium: [INFO:CONSOLE(1)] "Uncaught SyntaxError: Invalid or unexpected token", source: (1) Line 332 is just before we send the buffer to be parsed as XML. I would think I would still get the output showing that we returned from the request, but maybe the console log wasn't flushed before the error was thrown. It could also be that the actual debug line which prints out the result is causing the error :) Maybe the line is too big to be printed out. Who knows. I've changed a few more things right around that code. I am no longer outputting the entire buffer, but instead just the size of the buffer. I have also surrounded the xml parse call with a try catch block and added a few more debug lines. Sorry for asking again, but any chance I can get another logcat from the latest beta? :) Also, I've added a baseline text reading for the Digital ECM feature which shows up only for Acts in the Variant Study menu. Acts was the first volume released at the INTF after we started building their digital tools. Eventually, we'd like to get the other existing volumes in system, but we only have Acts data right now. http://crosswire.org/~scribe/bishop.apk Troy 05-30 12:53:16.200 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 330 : ****** Making request to: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/; params: {"biblicalContent":"Jas.1.1","detail":"page","limit":40} 05-30 12:53:16.200 3777 3777 I chromium: [INFO:CONSOLE(330)] "****** Making request to: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/; params: {"biblicalContent":"Jas.1.1","detail":"page","limit":40}", source: file:///android_asset/www/js/versestudy.js (330) 05-30 12:53:16.200 3777 3885 D SWORD : about to spawn thread makeRequest(url: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/, postData: biblicalContent=Jas.1.1&detail=page&limit=40, method: 1 05-30 12:53:16.200 3777 4829 D SWORD : makeRequest(url: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/, postData: biblicalContent=Jas.1.1&detail=page&limit=40, method: 1 05-30 12:53:16.200 3777 4829 D SWORD : about to add postData length to header 05-30 12:53:16.200 3777 4829 D SWORD : finished adding postData length to header 05-30 12:53:16.200 3777 4829 D SWORD : adding any given headers 05-30 12:53:16.200 3777 4829 D SWORD : done adding any given headers 05-30 12:53:16.200 3777 4829 D SWORD : opening connection 05-30 12:53:16.200 3777 4829 D SWORD : setting request method 05-30 12:53:16.200 3777 4829 D SWORD : setting request properties 05-30 12:53:16.200 3777 4829 D SWORD : sending post data 05-30 12:53:16.384 3777 4829 D SWORD : getting response code 05-30 12:53:19.060 3777 4829 D SWORD : response code: 200 05-30 12:53:19.060 3777 4829 D SWORD : getting response 05-30 12:53:20.185 3777 4829 D SWORD : finished. returning response with .length(): 88609 05-30 12:53:20.185 3777 4829 D SWORD : received response from makeRequest with .length(): 88609 05-30 12:53:20.209 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 332 : ****** Returned from request to: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/; result: "<manuscripts count=\"248\" pagecount=\"258\" partial=\"true\"><manuscript docID=\"10074\" primaryName=\"P74\" gaNum=\"P74\" v11n=\"\" lang=\"g\" userID=\"\" groupID=\"\"><originYear early=\"600\" late=\"699\">VII</originYear><contentOverview>Act 1,2-28,31+; Jc 1,1-5,20+; 1P 1,1-2.7-8.13.19-20.25; 2,6-7.11-12.18.24; 3,4-5; 2P 2,21; 3,4.11. 16; 1J 1,1.6; 2,1-2.7.13-14.18-19. 25-26; 3,1-2.8. 14.19-20; 4,1.6-7.12.16-17; 5,3-4.9-10.17; 2J 1.6-7.13; 3J 6.12; Jd 3.7.12. 18.24</contentOverview><leavesDescription>(124)</leavesDescription><columns columnsMin=\"1\">1</columns><lineCount lineCountMin=\"30\" lineCountMax=\"35\"></lineCount><height heightMin=\"320\" /><width widthMin=\"200\" /><shelfInstances><shelfInstance shelfID=\"61\" instID=\"0\" instName=\"Bibliotheca Bodmeriana\" instPlace=\"Cologny/Genf\" instCountry=\"Switzerland\" instLogoURL=\"\" instURL=\"http://www.fondationbodmer.org/\"><shelfNumber>P. Bodmer XVII</shelfNumber><formerGANumber></formerGANumber><contentOverview></contentOverview><leavesDescription></leavesDescription><originYearDescription></originYearDescription></shelfInstance></shelfInstances><pages count=\"1\"><page pageID=\"1890\" shelfID=\"\" folio=\"189\" biblicalContent=\"Jas 1:1-6\" indexContent=\"Jas 1:1-6\" indexedBy=\"lakmann\" sortOrder=\"01890\"><images><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_10.jpg\" webFriendlyURL=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" protected=\"true\" accessLevel=\"1\" protectLevel=\"0\" instID=\"49\" surrID=\"10\" userName=\"\" uri=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/10\"><attribution><a target="_blank" href="http://ntvmr.uni-muenster.de/liste"><div>Images ©<br/>The Holding Institution</div></a> &nbsp; <a target="_blank" href="http://egora.uni-muenster.de/intf/"><div>Photos Digitized by<br/>INTF for Research Purposes</div></a></attribution></image><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_20.jpg\" webFriendlyURL=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" protected=\"true\" accessLevel=\"1\" protectLevel=\"0\" instID=\"49\" surrID=\"20\" userName=\"\" uri=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/20\"><attribution><a target="_blank" href="http://ntvmr.uni-muenster.de/liste"><div>Images ©<br/>The Holding Institution</div></a> &nbsp; <a target="_blank" href="http://egora.uni-muenster.de/intf/"><div>Photos Digitized by<br/>INTF for Research Purposes</div></a></attribution></image><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_30.jpg\" webFriendlyURL=\"iiif://|https://iiif.unige.ch/manifest/IIIFManifest_1072205356.json|188|https://iiif.unige.ch/iiif/2/1072205356_190\" accessLevel=\"0\" protectLevel=\"0\" instID=\"49\" surrID=\"30\" userName=\"\" uri=\"iiif://|https://iiif.unige.ch/manifest/IIIFManifest_1072205356.json|188|https://iiif.unige.ch/iiif/2/1072205356_190\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/30\"><attribution><a target="_blank" href="http://fondationbodmer.ch/en/foundation/"><img src="http://fondationbodmer.ch/wp/wp-content/themes/fondationbodmer/images/logo2.png"><div>Images ©<br>The Martin Bodmer Foundation, Cologny (Geneva) </div></a></attribution></image></images><transcriptions><transcription uri=\"http://ntvmr.uni-muenster.de/community/vmr/api 05-30 12:53:20.262 3777 3777 I chromium: [INFO:CONSOLE(332)] "****** Returned from request to: http://ntvmr.uni-muenster.de/community/vmr/api/metadata/liste/search/; result: "<manuscripts count=\"248\" pagecount=\"258\" partial=\"true\"><manuscript docID=\"10074\" primaryName=\"P74\" gaNum=\"P74\" v11n=\"\" lang=\"g\" userID=\"\" groupID=\"\"><originYear early=\"600\" late=\"699\">VII</originYear><contentOverview>Act 1,2-28,31+; Jc 1,1-5,20+; 1P 1,1-2.7-8.13.19-20.25; 2,6-7.11-12.18.24; 3,4-5; 2P 2,21; 3,4.11. 16; 1J 1,1.6; 2,1-2.7.13-14.18-19. 25-26; 3,1-2.8. 14.19-20; 4,1.6-7.12.16-17; 5,3-4.9-10.17; 2J 1.6-7.13; 3J 6.12; Jd 3.7.12. 18.24</contentOverview><leavesDescription>(124)</leavesDescription><columns columnsMin=\"1\">1</columns><lineCount lineCountMin=\"30\" lineCountMax=\"35\"></lineCount><height heightMin=\"320\" /><width widthMin=\"200\" /><shelfInstances><shelfInstance shelfID=\"61\" instID=\"0\" instName=\"Bibliotheca Bodmeriana\" instPlace=\"Cologny/Genf\" instCountry=\"Switzerland\" instLogoURL=\"\" instURL=\"http://www.fondationbodmer.org/\"><shelfNumber>P. Bodmer XVII</shelfNumber><formerGANumber></formerGANumber><contentOverview></contentOverview><leavesDescription></leavesDescription><originYearDescription></originYearDescription></shelfInstance></shelfInstances><pages count=\"1\"><page pageID=\"1890\" shelfID=\"\" folio=\"189\" biblicalContent=\"Jas 1:1-6\" indexContent=\"Jas 1:1-6\" indexedBy=\"lakmann\" sortOrder=\"01890\"><images><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_10.jpg\" webFriendlyURL=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" protected=\"true\" accessLevel=\"1\" protectLevel=\"0\" instID=\"49\" surrID=\"10\" userName=\"\" uri=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/10\"><attribution><a target="_blank" href="http://ntvmr.uni-muenster.de/liste"><div>Images ©<br/>The Holding Institution</div></a> &nbsp; <a target="_blank" href="http://egora.uni-muenster.de/intf/"><div>Photos Digitized by<br/>INTF for Research Purposes</div></a></attribution></image><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_20.jpg\" webFriendlyURL=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" protected=\"true\" accessLevel=\"1\" protectLevel=\"0\" instID=\"49\" surrID=\"20\" userName=\"\" uri=\"http://ntvmr.uni-muenster.de/community/images/protected1.png\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/20\"><attribution><a target="_blank" href="http://ntvmr.uni-muenster.de/liste"><div>Images ©<br/>The Holding Institution</div></a> &nbsp; <a target="_blank" href="http://egora.uni-muenster.de/intf/"><div>Photos Digitized by<br/>INTF for Research Purposes</div></a></attribution></image><image thumbURL=\"http://ntmss.info/images/thumbs/10074/1890_49_30.jpg\" webFriendlyURL=\"iiif://|https://iiif.unige.ch/manifest/IIIFManifest_1072205356.json|188|https://iiif.unige.ch/iiif/2/1072205356_190\" accessLevel=\"0\" protectLevel=\"0\" instID=\"49\" surrID=\"30\" userName=\"\" uri=\"iiif://|https://iiif.unige.ch/manifest/IIIFManifest_1072205356.json|188|https://iiif.unige.ch/iiif/2/1072205356_190\" viewURL=\"http://ntvmr.uni-muenster.de/community/modules/papyri/?site=VMR&image=10074/1890/30\"><attribution><a target="_blank" href="http://fondationbodmer.ch/en/foundation/"><img src="http://fondationbodmer.ch/wp/wp-content/themes/fondationbodmer/images/logo2.png"><div>Images ©<br>The Martin Bodmer Foundation, Cologny (Geneva) </div></a></attribution></image></images><transcriptions><transcription uri=\"http://ntvmr.uni-muenster.de/community/vmr/api/transcript/get/?docid=10074&pageID=1890&am 05-30 12:53:20.279 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 334 : ****** parsed XML. 05-30 12:53:20.279 3777 3777 I chromium: [INFO:CONSOLE(334)] "****** parsed XML.", source: file:///android_asset/www/js/versestudy.js (334) 05-30 12:53:20.279 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 340 : ****** No error found. 05-30 12:53:20.279 3777 3777 I chromium: [INFO:CONSOLE(340)] "****** No error found.", source: file:///android_asset/www/js/versestudy.js (340) 05-30 12:53:20.279 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 345 : ****** iterating manuscripts. 05-30 12:53:20.279 3777 3777 I chromium: [INFO:CONSOLE(345)] "****** iterating manuscripts.", source: file:///android_asset/www/js/versestudy.js (345) 05-30 12:53:20.279 3777 3777 D SystemWebChromeClient: file:///android_asset/www/js/versestudy.js: Line 348 : ****** iterating pages. On 5/30/19 12:24 PM, Dominique Corbex wrote: > On Thu, 30 May 2019 09:01:21 -0700 > "Troy A. Griffitts" <scr...@crosswire.org> wrote: > >> New update available > new adb logcat atached. > > Dom > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page