{"action":"created","issue":{"url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/37","repository_url":"https://api.github.com/repos/Edzelf/Esp-radio","labels_url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/37/comments","events_url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/37/events","html_url":"https://github.com/Edzelf/Esp-radio/issues/37","id":187945345,"number":37,"title":"Panic & reboot","user":{"login":"jammoyano","id":21952568,"avatar_url":"https://avatars.githubusercontent.com/u/21952568?v=3","gravatar_id":"","url":"https://api.github.com/users/jammoyano","html_url":"https://github.com/jammoyano","followers_url":"https://api.github.com/users/jammoyano/followers","following_url":"https://api.github.com/users/jammoyano/following{/other_user}","gists_url":"https://api.github.com/users/jammoyano/gists{/gist_id}","starred_url":"https://api.github.com/users/jammoyano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jammoyano/subscriptions","organizations_url":"https://api.github.com/users/jammoyano/orgs","repos_url":"https://api.github.com/users/jammoyano/repos","events_url":"https://api.github.com/users/jammoyano/events{/privacy}","received_events_url":"https://api.github.com/users/jammoyano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-08T09:46:57Z","updated_at":"2016-11-24T20:49:59Z","closed_at":null,"body":"It's unable to play or use the radio .... just reboot after reboot.\r\n\r\nHere is the serial monitor ... ¿any idea?\r\n\r\n`D: /config.html                     -   3817\r\nD: /favicon.ico                     -    766\r\nD: /index.html                      -   6769\r\nD: /radio.ini                       -    538\r\nD: Added SSID 00 = Wlan_99d5_2 to acceptable networks\r\nD: * Scan Networks *\r\nD: Number of available networks: 7\r\nD:  1 - ONO_2016                  Signal: -87 dBm Encryption Auto  \r\nD:  2 - _AUTO_ONOWiFi             Signal: -86 dBm Encryption None  \r\nD:  3 - Orange-5F28               Signal: -89 dBm Encryption Auto  \r\nD:  4 - Ptv Maria Jose            Signal: -91 dBm Encryption Auto  \r\nD:  5 - MOVISTAR_B888             Signal: -93 dBm Encryption WPA   \r\nD:  6 - Wlan_99d5_2               Signal: -82 dBm Encryption WPA2  Acceptable\r\nD:  7 - Ptv_4729_2                Signal: -83 dBm Encryption WPA2  \r\nD: --------------------------------------\r\nD: Command: mqttbroker with parameter broker.hivemq.com\r\nD: Command: mqttport with parameter 1883\r\nD: Command: mqttuser with parameter none\r\nD: Command: mqttpasswd with parameter none\r\nD: Command: mqtttopic with parameter espradio\r\nD: Command: mqttpubtopic with parameter espradioIP\r\nD: Command: wifi_00 with parameter Wlan_99d5_2/xxxxxxx\r\nD: Starting ESP Version 22-oct-2016...  Free memory 16880\r\nD: Sketch size 321056, free size 724992\r\nD: Reset VS1053...\r\nD: End reset VS1053...\r\nD: Slow SPI,Testing VS1053 read/write registers...\r\nD: Fast SPI, Testing VS1053 read/write registers again...\r\nD: endFillByte is 0\r\nD: Selected network: Wlan_99d5_2              \r\nD: Try WiFi Wlan_99d5_2\r\nD: IP = 10.0.0.70\r\nD: Start server for commands\r\nD: list request from browser\r\n\r\nPanic C:\\Users\\Jose\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.3.0\\cores\\esp8266\\core_esp8266_main.cpp:98 __yield\r\n\r\nctx: sys \r\nsp: 3ffff840 end: 3fffffb0 offset: 01b0\r\n\r\n>>>stack>>>\r\n3ffff9f0:  3fff7ac8 00000007 3ffffa40 40216b35  \r\n3ffffa00:  0000000a 3ffffa58 3ffffa40 402153a5  \r\n3ffffa10:  3ffe0070 0000021a 3ffffa58 4021434d  \r\n3ffffa20:  3ffe8be0 3fff865c 3ffffa40 402143db  \r\n3ffffa30:  00000000 3fff865c 3fff8bc4 4020858e  \r\n3ffffa40:  3fff8ac4 0000001f 0000001e 40214139  \r\n3ffffa50:  00000000 00000000 3ffea0d8 00000000  \r\n3ffffa60:  000003e8 00003b60 3fff921c 3fff8b94  \r\n3ffffa70:  3ffe90fc 3fff0ad4 3fff0298 3fff925c  \r\n3ffffa80:  0000005f 0000005a 3fff9314 0000005f  \r\n3ffffa90:  0000005a 3fff87ec 0000000f 0000000a  \r\n3ffffaa0:  3fff8ac0 3fff2bcc 3fff865c 00003b56  \r\n3ffffab0:  00000002 00000001 3fff865c 40209715  \r\n3ffffac0:  00000000 00000000 00000000 3fff0aac  \r\n3ffffad0:  00000010 3ffffb60 3ffea0d8 00000000  \r\n3ffffae0:  000003e8 3ffffb98 00000000 00000000  \r\n3ffffaf0:  00000010 3ffffb80 00000000 3fff2abc  \r\n3ffffb00:  0000000f 00000001 3fff2bcc 0000000f  \r\n3ffffb10:  00000004 00000003 3ffffb60 00000000  \r\n3ffffb20:  00000000 3ffffb80 3ffffb80 4021490c  \r\n3ffffb30:  3ffe8ca0 00000000 3ffffb80 00000002  \r\n3ffffb40:  00000002 3fff865c 3fff865c 40216288  \r\n3ffffb50:  3fff8670 3fff8804 3ffffb80 4020eb69  \r\n3ffffb60:  3ffe8ca0 3fff8804 3fff8670 402148ac  \r\n3ffffb70:  3fff8670 3fff292c 3fff8670 40214b2d  \r\n3ffffb80:  00000000 3ffeb9c0 3fff865c 4020d000  \r\n3ffffb90:  00000002 3ffeb9c0 3fff8670 40214b90  \r\n3ffffba0:  3ffeb9c0 00000000 00000000 00000002  \r\n3ffffbb0:  00000002 3ffeb9c0 3fff865c 4020d3f6  \r\n3ffffbc0:  3fff8670 3fff292c 3fff8670 00000018  \r\n3ffffbd0:  0000001a 3ffeb9a8 3fff865c 4020d036  \r\n3ffffbe0:  3fff8670 3ffeb9a8 3fff8670 40214b90  \r\n3ffffbf0:  3ffeb9a8 00000000 00000000 00000018  \r\n3ffffc00:  0000001a 3ffeb9a8 3fff865c 4020d228  \r\n3ffffc10:  3fff8670 3fff292c 3fff8670 0000001c  \r\n3ffffc20:  00000036 3ffeb98c 3fff865c 4020d036  \r\n3ffffc30:  3fff8670 3ffeb98c 3fff8670 40214b90  \r\n3ffffc40:  3ffeb98c 00000000 00000000 0000001c  \r\n3ffffc50:  00000036 3ffeb98c 3fff865c 4020d228  \r\n3ffffc60:  3fff8670 3fff292c 3fff8670 00000020  \r\n3ffffc70:  00000056 3ffeb96c 3fff865c 4020d036  \r\n3ffffc80:  3fff8670 3ffeb96c 3fff8670 40214b90  \r\n3ffffc90:  3ffeb96c 00000000 00000000 00000020  \r\n3ffffca0:  00000056 3ffeb96c 3fff865c 4020d228  \r\n3ffffcb0:  3fff8670 3fff292c 3fff8670 00000036  \r\n3ffffcc0:  0000008c 3ffeb936 3fff865c 4020d036  \r\n3ffffcd0:  3fff8670 3ffeb936 3fff8670 40214b90  \r\n3ffffce0:  3ffeb936 00000000 00000000 00000036  \r\n3ffffcf0:  0000008c 3ffeb936 3fff865c 4020d228  \r\n3ffffd00:  3fff8670 3fff292c 3fff8670 00000049  \r\n3ffffd10:  000000d5 3ffeb8ed 3fff865c 4020d036  \r\n3ffffd20:  3fff8670 3ffeb8ed 3fff8670 40214b90  \r\n3ffffd30:  3ffeb8ed 00000000 00000000 00000049  \r\n3ffffd40:  000000d5 3ffeb8ed 3fff865c 4020d228  \r\n3ffffd50:  3fff8670 00000001 3fff8670 00000057  \r\n3ffffd60:  0000012c 3ffeb896 3fff865c 4020d036  \r\n3ffffd70:  3fff8670 3ffeb896 3fff8670 40214b90  \r\n3ffffd80:  3ffeb896 00000000 00000000 00000057  \r\n3ffffd90:  0000012c 3ffeb896 3fff865c 4020d228  \r\n3ffffda0:  3ffe8ca0 3fff8670 3fff8670 00000011  \r\n3ffffdb0:  0000013d 3ffeb885 3fff865c 4020d036  \r\n3ffffdc0:  3fff8670 3ffeb885 3fff8670 40214b90  \r\n3ffffdd0:  3ffeb885 00000000 00000000 00000011  \r\n3ffffde0:  0000013d 3ffeb885 3fff865c 4020d228  \r\n3ffffdf0:  00000002 40100fab 3fff8670 00000033  \r\n3ffffe00:  00000170 3ffeb852 3fff865c 4020cfa9  \r\n3ffffe10:  3fff8670 3ffeb852 3fff8670 40214b90  \r\n3ffffe20:  3ffeb852 3ffee370 3ffffe70 00000033  \r\n3ffffe30:  00000170 3ffeb852 3fff865c 4020d228  \r\n3ffffe40:  3ffeb16c 00000000 00000000 4010068c  \r\n3ffffe50:  00000000 00e7c449 4010292a 00000100  \r\n3ffffe60:  3fff8670 3ffeb16c 3ffeb16c 00000001  \r\n3ffffe70:  00000001 00007fff 000000d6 3fff2b60  \r\n3ffffe80:  00000001 3fff2a8c 3fff2b0c 4020d421  \r\n3ffffe90:  3fffc278 401026c4 3fff2b0c 4020b50c  \r\n3ffffea0:  3fff85a4 3fff07d8 3fff85a4 402350d1  \r\n3ffffeb0:  3fff23c4 3fff23d0 00000006 3fff21d8  \r\n3ffffec0:  3fff85a4 3fff21e0 3fff21dc 4020b55f  \r\n3ffffed0:  3fff85a4 3fff21e0 3fff21dc 4023a84c  \r\n3ffffee0:  00000170 4600000a 00000018 00000170  \r\n3ffffef0:  00000018 00000000 3fff2c8c 40106d84  \r\n3fffff00:  00000000 00000000 3ffeb84a 3fff23c8  \r\n3fffff10:  3ffeb82a 3fff23d0 3fff2a8c 40238d45  \r\n3fffff20:  3fff2104 3fff2c44 3fff2c44 3ffef490  \r\n3fffff30:  00000000 3fff2a8c 0000001c 3fff2c44  \r\n3fffff40:  3ffeb81c 00000000 3fff2a8c 40238141  \r\n3fffff50:  0700000a 000001ce 00000000 00000014  \r\n3fffff60:  00000002 0000001a 40218b8b 3ffee370  \r\n3fffff70:  3ffeb7f4 3fffdcc0 3ffea9c0 3ffea9c0  \r\n3fffff80:  40218afe 3ffee370 00000000 3fff2c94  \r\n3fffff90:  3fffdc80 00000000 3fff2a8c 4022cbcf  \r\n3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49  \r\n<<<stack<<<\r\n\r\n ets Jan  8 2013,rst cause:2, boot mode:(3,7)\r\n\r\nload 0x4010f000, len 1384, room 16 \r\ntail 8\r\nchksum 0x2d\r\ncsum 0x2d\r\nv3de0c112\r\n~ld\r\n…CáD: FS Total 2949250, used 14056\r\n`"},"comment":{"url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/comments/262843079","html_url":"https://github.com/Edzelf/Esp-radio/issues/37#issuecomment-262843079","issue_url":"https://api.github.com/repos/Edzelf/Esp-radio/issues/37","id":262843079,"user":{"login":"Pavulon87","id":23641103,"avatar_url":"https://avatars.githubusercontent.com/u/23641103?v=3","gravatar_id":"","url":"https://api.github.com/users/Pavulon87","html_url":"https://github.com/Pavulon87","followers_url":"https://api.github.com/users/Pavulon87/followers","following_url":"https://api.github.com/users/Pavulon87/following{/other_user}","gists_url":"https://api.github.com/users/Pavulon87/gists{/gist_id}","starred_url":"https://api.github.com/users/Pavulon87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pavulon87/subscriptions","organizations_url":"https://api.github.com/users/Pavulon87/orgs","repos_url":"https://api.github.com/users/Pavulon87/repos","events_url":"https://api.github.com/users/Pavulon87/events{/privacy}","received_events_url":"https://api.github.com/users/Pavulon87/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T20:49:59Z","updated_at":"2016-11-24T20:49:59Z","body":"Quick workaround:\r\n\r\n`\r\nvoid getpresets ( AsyncWebServerRequest *request )\r\n{\r\n  String              path ;                           // Full file spec as string\r\n  File                inifile ;                        // File containing URL with mp3\r\n  String              line ;                           // Input line from .ini file\r\n  String              linelc ;                         // Same, but lowercase\r\n  int                 inx ;                            // Position of search char in line\r\n  int                 i ;                              // Loop control\r\n  AsyncResponseStream *response ;                      // Response to client\r\n\r\n  response = request->beginResponseStream ( \"text/plain\" ) ;\r\n  path = String ( INIFILENAME ) ;                      // Form full path\r\n  inifile = SPIFFS.open ( path, \"r\" ) ;                // Open the file\r\n\r\n  if ( inifile )\r\n  {\r\n    int fileSize = inifile.size();\r\n    int readBytes = 0;\r\n    char c[1];\r\n    \r\n    while ( inifile.available() && readBytes < fileSize  )\r\n    {\r\n      line = \"\";\r\n      while ( readBytes < fileSize && inifile.readBytes(c, 1) )\r\n      {\r\n        readBytes++;\r\n        \r\n        if ( c[0] == '\\n' )\r\n        {\r\n          break;\r\n        }\r\n        \r\n        line += c[0];\r\n      }\r\n      \r\n      //line = inifile.readStringUntil ( '\\n' ) ;        // Read next line\r\n      linelc = line ;                                  // Copy for lowercase\r\n      linelc.toLowerCase() ;                           // Set to lowercase\r\n      if ( linelc.startsWith ( \"preset_\" ) )           // Found the key?\r\n      {\r\n        i = linelc.substring(7, 9).toInt() ;           // Get index 00..99\r\n        inx = line.indexOf ( \"#\" ) ;                   // Get position of \"#\"\r\n        if ( inx > 0 )                                 // Equal sign present?\r\n        {\r\n          line.remove ( 0, inx + 1 ) ;                 // Yes, remove non-comment part\r\n        }\r\n        else\r\n        {\r\n          inx = line.indexOf ( \"=\" ) ;                 // Get position of \"=\"\r\n          line.remove ( 0, inx + 1 ) ;                 // Yes, remove first part of line\r\n        }\r\n        line = chomp ( line ) ;                        // Remove garbage\r\n        response->printf ( \"%02d%s|\", i,\r\n                           line.c_str() ) ;            // 2 digits plus description\r\n      }\r\n    }\r\n    inifile.close() ;                                  // Close the file\r\n  }\r\n  \r\n  request->send ( response ) ;\r\n}\r\n`"}}
{"actor":{"display_login":"Pavulon87"}}