forkineye / ESPixelStick

Firmware for the ESPixelStick
http://forkineye.com/
537 stars 171 forks source link

[FileMgr] ***ERROR: JSON Doc too small to hold the list of SD files*** #702

Closed Terrevue closed 9 months ago

Terrevue commented 10 months ago

--------- Instructions -------- Please provide answers directly below each section. --------- Instructions ---------

ESPixelStick Firmware Version ESPixelStick v4.0-beta5 (Dec 1 2023 - 17:11:40)

Hardware Version QuinLED Quad AE+

Binary release or compiled yourself? Binary release

Operating System (and version) Used both Mac 11.6.4 and Windows 11 Pro

Web Browser (and version) n/a

Access Point n/a

Describe the bug First time the web interface is accessed with an SD card plugged in, the following error is received:

12:08:52: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 12:09:03: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 12:09:06: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 12:09:08: E (33348) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: 12:09:11: E (33348) task_wdt: - async_tcp (CPU 0/1) 12:09:11: E (33348) task_wdt: Tasks currently running: 12:09:11: E (33348) task_wdt: CPU 0: IDLE 12:09:11: E (33348) task_wdt: CPU 1: loopTask 12:09:11: E (33348) task_wdt: Aborting. 12:09:11: 12:09:11: abort() was called at PC 0x40115034 on core 0 12:09:11: 12:09:11: 12:09:11: Backtrace:0x40084181:0x3ffbeaac |<-CORRUPTED 12:09:11: 12:09:11: 12:09:11: 12:09:11: 12:09:11: ELF file SHA256: 0000000000000000 12:09:11: 12:09:11: Rebooting... 12:09:11: ets Jul 29 2019 12:21:46 12:09:11: 12:09:11: rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 12:09:11: configsip: 0, SPIWP:0xee 12:09:11: clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 12:09:11: mode:DIO, clock div:2 12:09:11: load:0x3fff0030,len:1184 12:09:11: load:0x40078000,len:12784 12:09:11: load:0x40080400,len:3032 12:09:11: entry 0x400805e4

I have tried other OS's, different SD cards, reformatting, creating volumes of only 32gb. No matter what, when I add an SD card, this occurs. If I remove the SD card, everything boots fine.

MartinMueller2003 commented 10 months ago

How many files are on the SD card?

Terrevue commented 10 months ago

As a follow up, the same error occurs with a custom compiled version for a seperate ESP32 hardware, based on a source version from Nov.

12:37:04: [ ESP] ESPixelStick v4.x-dev (Nov 16 2023 - 12:45:01) 12:37:04: [ ESP] v4.4.1-1-gb8050b365e

I had issues last year as well that was only resolved by pulling the SD card. I assumed that I had cheap cards so didn't investigate further. This year I'm using high endurance cards and the issue is still occuring, it appears.

Terrevue commented 10 months ago

34 files total

Terrevue commented 10 months ago

Here is the list of files, in case there is a naming issue involved:

pentatonix - Little Drummer Boy - 20231204.fseq linus and lucy-20231204.fseq chipmunk remix - 20231204.fseq Whats This - Normalized - 20231204.fseq Underneath the Tree - 20231204.fseq U2 - Christmas (Baby Please Come Home) - 20231204.fseq Turn Up Ye Merry Gentlemen - 20231204.fseq Snow Miser and Heat Miser - 20231204.fseq Santa Claus is Coming To Town - Sugar Plumb Fairy mix-20231204.fseq Ramones - Merry Christmas (I Don't Want to Fight Tonight) (Official Music Video).fseq Polar Express Mashup - 20231204.fseq Pennies From Heaven-20231204.fseq Nothing For Christmas - 20231204.fseq My Favorite Things - Pentatonix - 20231204.fseq Mad Russian-20231204.fseq Little Drummer Boy (Live) - 20231204.fseq Let It Go-20231204.fseq John Legend - What Christmas Means to Me (Official Audio) ft. Stevie Wonder - with faces - 20231204.fseq John Legend - What Christmas Means to Me (Official Audio) ft. Stevie Wonder - 20231204.fseq It Must've Been Ol Santa Claus - 20231204.fseq Idina Menzel Michael Buble - Baby Its Cold Outside - 20231204.fseq Holiday Road (National Lampoon's Vacation) - 20231204.fseq Have Yourself A Merry Little Christmas.fseq Have Yourself A Merry Little Christmas 2.fseq Happy Christmas.fseq Gwen Stefani - You Make It Feel Like Christmas ft. Blake Shelton - 20231204.fseq Eagles -Please Come Home for Christmas - 20231204.fseq Do they Know it's Christmas ~ Band Aid 1984 - 20231204.fseq Christmas Medley 2018.fseq Cantique De Noel (O Holy Night) - 20231204.fseq AfterHours.fseq 7 song medley - 20231204.fseq 2019 Ariana Grande - Santa Tell Me - 20231204.fseq 08 - Carol of the Bells - 20231204.fseq

MartinMueller2003 commented 10 months ago

Dont think I put that many files on a card. Most shows have 5-8 sequences. Looking at the code, if the total number of file name characters exceeds 2000 bytes then you will get this error.

Terrevue commented 10 months ago

I've always done an individual sequence per song. Is there any way to expand that limit?

Terrevue commented 10 months ago

Total string len of all characters is 1,582

MartinMueller2003 commented 10 months ago

I am looking at the list. It looks like there are some long file names (105B) and parenthesis. Can you zip the drive and upload the image to this dir: https://drive.google.com/drive/folders/1bGrkXSMoGjWtX5iWspPFRogM2G6c1VXu?usp=drive_link

Terrevue commented 10 months ago

Just tried and it doesn't appear I have permissions to upload.

Terrevue commented 10 months ago

Here is a link to the file on my Google drive:
https://drive.google.com/file/d/1T1iGbpLl96qrf1BPULUMwrOvxcoauXWw/view?usp=sharing

Let me know after you have downloaded so I can remove it please.

MartinMueller2003 commented 10 months ago

Done.

I am in the process of rebuilding dist.zip with 25% more filename space. This uses a lot of ram internally so I try to avoid grabbing a large amount in one chunk. The real fix may be to chunk the filename list upload.

Terrevue commented 10 months ago

I just remembered that I can't use XLight's FPP upload because it always crashes. The crash dump just locks up so I just kill the process and manually copy the files to each card (way faster anyway). I never thought anything of it because I always just expect the occasional bug in software. I'll bet these events are related. Now, to figure out which file name it was...

Terrevue commented 10 months ago

The JSON error is gone but it's still rebooting. I removed anything with an apostrophe to be safe and either that or the number of files caused the JSON error to go away. Here is what it states now (Including the reboot file load so you'll see the files currently being loaded)

13:26:55: E (73979) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: 13:27:09: E (73979) task_wdt: - async_tcp (CPU 1) 13:27:09: E (73979) task_wdt: Tasks currently running: 13:27:09: E (73979) task_wdt: CPU 0: IDLE 13:27:09: E (73979) task_wdt: CPU 1: loopTask 13:27:09: E (73979) task_wdt: Aborting. 13:27:09: 13:27:09: abort() was called at PC 0x40115e84 on core 0 13:27:09: 13:27:09: 13:27:09: Backtrace:0x400840b1:0x3ffbea9c |<-CORRUPTED 13:27:09: 13:27:09: 13:27:09: 13:27:09: 13:27:09: ELF file SHA256: 0000000000000000 13:27:09: 13:27:09: Rebooting... 13:27:09: ets Jun 8 2016 00:22:57 13:27:09: 13:27:09: rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 13:27:09: configsip: 0, SPIWP:0xee 13:27:09: clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 13:27:09: mode:DIO, clock div:2 13:27:09: load:0x3fff0030,len:1184 13:27:09: load:0x40078000,len:12784 13:27:09: load:0x40080400,len:3032 13:27:09: entry 0x400805e4 13:27:09: 13:27:09: [ ESP] ESPixelStick v4.x-dev (Nov 16 2023 - 12:45:01) 13:27:09: [ ESP] v4.4.1-1-gb8050b365e 13:27:09: [FileMgr] Flash file system initialized. Used = 233472 out of 327680 13:27:09: [FileMgr] Listing directory: / 13:27:09: [FileMgr] 'UpdRecipe.json': '784' 13:27:09: [FileMgr] 'admininfo.json': '165' 13:27:09: [FileMgr] 'config.json': '558' 13:27:09: [FileMgr] 'input_config.json': '1994' 13:27:09: [FileMgr] 'output_config.json': '20519' 13:27:09: [FileMgr] Listing directory: //www 13:27:10: [FileMgr] 'alexa.html.gz': '146' 13:27:10: [FileMgr] 'apa102.html.gz': '1503' 13:27:10: [FileMgr] 'artnet.html.gz': '385' 13:27:10: [FileMgr] 'ddp.html.gz': '144' 13:27:10: [FileMgr] 'dmx.html.gz': '455' 13:27:10: [FileMgr] 'e1_31.html.gz': '460' 13:27:10: [FileMgr] 'effects.html.gz': '973' 13:27:10: [FileMgr] 'esps.css.gz': '13424' 13:27:10: [FileMgr] 'esps.js.gz': '61179' 13:27:10: [FileMgr] 'favicon.ico': '6450' 13:27:10: [FileMgr] 'fpp_remote.html.gz': '348' 13:27:10: [FileMgr] 'gece.html.gz': '501' 13:27:10: [FileMgr] 'gs8208.html.gz': '1579' 13:27:10: [FileMgr] 'index.html.gz': '4948' 13:27:10: [FileMgr] 'mqtt.html.gz': '656' 13:27:10: [FileMgr] 'relay.html.gz': '507' 13:27:10: [FileMgr] 'renard.html.gz': '528' 13:27:10: [FileMgr] 'serial.html.gz': '619' 13:27:10: [FileMgr] 'servo_pca9685.html.gz': '523' 13:27:10: [FileMgr] 'tls3001.html.gz': '1503' 13:27:10: [FileMgr] 'tm1814.html.gz': '1617' 13:27:10: [FileMgr] 'ucs1903.html.gz': '1580' 13:27:10: [FileMgr] 'ucs8903.html.gz': '1585' 13:27:10: [FileMgr] 'ws2801.html.gz': '1502' 13:27:10: [FileMgr] 'ws2811.html.gz': '1582' 13:27:10: [FileMgr] SD Card Size: 61120MB 13:27:10: [FileMgr] > System Volume Information 13:27:10: [FileMgr] WPSettings.dat - 12 13:27:10: [FileMgr] My Favorite Things - Pentatonix - 20231204.fseq - 10420369 13:27:10: [FileMgr] Nothing For Christmas - 20231204.fseq - 7573398 13:27:10: [FileMgr] Pennies From Heaven-20231204.fseq - 11224543 13:27:11: [FileMgr] pentatonix - Little Drummer Boy - 20231204.fseq - 35053636 13:27:11: [FileMgr] Polar Express Mashup - 20231204.fseq - 17051933 13:27:11: [FileMgr] Santa Claus is Coming To Town - Sugar Plumb Fairy mix-20231204.fseq - 20587857 13:27:11: [FileMgr] Snow Miser and Heat Miser - 20231204.fseq - 10868484 13:27:11: [FileMgr] Turn Up Ye Merry Gentlemen - 20231204.fseq - 6906754 13:27:11: [FileMgr] U2 - Christmas (Baby Please Come Home) - 20231204.fseq - 4167549 13:27:11: [FileMgr] Underneath the Tree - 20231204.fseq - 15383091 13:27:11: [FileMgr] Whats This - Normalized - 20231204.fseq - 19916023 13:27:11: [FileMgr] 7 song medley - 20231204.fseq - 62811431 13:27:11: [FileMgr] 08 - Carol of the Bells - 20231204.fseq - 15784630 13:27:11: [FileMgr] 2019 Ariana Grande - Santa Tell Me - 20231204.fseq - 8278884 13:27:11: [FileMgr] AfterHours.fseq - 1053257 13:27:11: [FileMgr] Cantique De Noel (O Holy Night) - 20231204.fseq - 25959893 13:27:11: [FileMgr] chipmunk remix - 20231204.fseq - 6734835 13:27:11: [FileMgr] Eagles -Please Come Home for Christmas - 20231204.fseq - 8107713 13:27:11: [FileMgr] Gwen Stefani - You Make It Feel Like Christmas ft. Blake Shelton - 20231204.fseq - 9809400 13:27:11: [FileMgr] Happy Christmas.fseq - 4241398 13:27:11: [FileMgr] Have Yourself A Merry Little Christmas.fseq - 22009062 13:27:11: [FileMgr] Idina Menzel Michael Buble - Baby Its Cold Outside - 20231204.fseq - 19734624 13:27:12: [FileMgr] It Must've Been Ol Santa Claus - 20231204.fseq - 14206862 13:27:12: [FileMgr] John Legend - What Christmas Means to Me (Official Audio) ft. Stevie Wonder - 20231204.fseq - 14816227 13:27:12: [FileMgr

MartinMueller2003 commented 10 months ago

I suspect it is taking too long to build the list and then transmit it. I am going to have to chunk the response.

Terrevue commented 10 months ago

It stopped crashing at 15 files (754 characters):

14:14:55: [FileMgr] My Favorite Things - Pentatonix - 20231204.fseq - 10420369 14:14:55: [FileMgr] Nothing For Christmas - 20231204.fseq - 7573398 14:14:55: [FileMgr] Pennies From Heaven-20231204.fseq - 11224543 14:14:55: [FileMgr] pentatonix - Little Drummer Boy - 20231204.fseq - 35053636 14:14:55: [FileMgr] Polar Express Mashup - 20231204.fseq - 17051933 14:14:55: [FileMgr] Snow Miser and Heat Miser - 20231204.fseq - 10868484 14:14:55: [FileMgr] Turn Up Ye Merry Gentlemen - 20231204.fseq - 6906754 14:14:55: [FileMgr] Underneath the Tree - 20231204.fseq - 15383091 14:14:55: [FileMgr] Whats This - Normalized - 20231204.fseq - 19916023 14:14:55: [FileMgr] 7 song medley - 20231204.fseq - 62811431 14:14:55: [FileMgr] 08 - Carol of the Bells - 20231204.fseq - 15784630 14:14:55: [FileMgr] 2019 Ariana Grande - Santa Tell Me - 20231204.fseq - 8278884 14:14:55: [FileMgr] AfterHours.fseq - 1053257 14:14:55: [FileMgr] chipmunk remix - 20231204.fseq - 6734835 14:14:55: [FileMgr] Eagles -Please Come Home for Christmas - 20231204.fseq - 8107713 14:14:55: [FileMgr] Happy Christmas.fseq - 4241398 14:14:55: [FileMgr] Have Yourself A Merry Little Christmas.fseq - 22009062 14:14:55: [FileMgr] Idina Menzel Michael Buble - Baby Its Cold Outside - 20231204.fseq - 19734624 14:14:56: [FileMgr] Let It Go-20231204.fseq - 11518954 14:14:56: [FileMgr] linus and lucy-20231204.fseq - 4408441

Terrevue commented 10 months ago

Below is the final list:

18 total real files (files that would be read into memory) 272,270,971 bytes (total that caused crash) 255,206,750 bytes (total stable)

Snow Miser and Heat Miser - 20231204.fseq 12/5/2023, 8:08:34 AM 10,868,484
* )._Snow Miser and Heat Miser - 20231204.fseq 12/6/2023, 9:20:20 AM 4,096
Underneath the Tree - 20231204.fseq 12/5/2023, 8:10:34 AM 15,383,091
*) ._Underneath the Tree - 20231204.fseq 12/6/2023, 9:22:26 AM 4,096
**) Polar Express Mashup - 20231204.fseq 12/5/2023, 8:07:02 AM 17,051,933
*) ._Polar Express Mashup - 20231204.fseq 12/6/2023, 9:33:48 AM 4,096
My Favorite Things - Pentatonix - 20231204.fseq 12/5/2023, 8:04:46 AM 10,420,369
Nothing For Christmas - 20231204.fseq 12/5/2023, 8:05:32 AM 7,573,398
Pennies From Heaven-20231204.fseq 12/5/2023, 8:06:20 AM 11,224,543
pentatonix - Little Drummer Boy - 20231204.fseq 12/5/2023, 8:14:12 AM 35,053,636
7 song medley - 20231204.fseq 12/5/2023, 7:33:42 AM 62,811,431
08 - Carol of the Bells - 20231204.fseq 12/5/2023, 7:31:14 AM 15,784,630
2019 Ariana Grande - Santa Tell Me - 20231204.fseq 12/5/2023, 7:31:54 AM 8,278,884
AfterHours.fseq 12/5/2023, 7:34:06 AM 1,053,257
chipmunk remix - 20231204.fseq 12/5/2023, 8:11:44 AM 6,734,835
Eagles -Please Come Home for Christmas - 20231204.fseq 12/5/2023, 7:40:18 AM 8,107,713
Happy Christmas.fseq 12/5/2023, 7:41:38 AM 4,241,398
Have Yourself A Merry Little Christmas.fseq 12/5/2023, 7:43:24 AM 22,009,062
Idina Menzel Michael Buble - Baby Its Cold Outside - 20231204.fseq 12/5/2023, 7:44:28 AM 19,734,624
Let It Go-20231204.fseq 12/5/2023, 7:48:52 AM 11,518,954
linus and lucy-20231204.fseq 12/5/2023, 8:12:04 AM 4,408,441
Terrevue commented 10 months ago

Interesting test. I wrote a quick python script that copies and renames all the files incrementally beginning from 001. Although I'm now receiving the JSON error again, it isn't crashing. File Manager only lists the first 20 files as well. Here is the log:

16:43:46: [FileMgr] 001.fseq - 8278884 16:43:46: [FileMgr] ._001.fseq - 4096 16:43:46: [FileMgr] 002.fseq - 15784630 16:43:46: [FileMgr] ._002.fseq - 4096 16:43:46: [FileMgr] 003.fseq - 14776216 16:43:46: [FileMgr] ._003.fseq - 4096 16:43:46: [FileMgr] 004.fseq - 20587857 16:43:46: [FileMgr] ._004.fseq - 4096 16:43:46: [FileMgr] 005.fseq - 18263467 16:43:46: [FileMgr] ._005.fseq - 4096 16:43:46: [FileMgr] 006.fseq - 4408441 16:43:46: [FileMgr] ._006.fseq - 4096 16:43:46: [FileMgr] 007.fseq - 7573398 16:43:46: [FileMgr] ._007.fseq - 4096 16:43:46: [FileMgr] > .Trashes 16:43:46: [FileMgr] > 501 16:43:47: [FileMgr] ._501 - 4096 16:43:47: [FileMgr] 008.fseq - 62811431 16:43:47: [FileMgr] ._008.fseq - 4096 16:43:47: [FileMgr] 009.fseq - 14816227 16:43:47: [FileMgr] ._009.fseq - 4096 16:43:47: [FileMgr] 010.fseq - 8734 16:43:47: [FileMgr] ._010.fseq - 4096 16:43:47: [FileMgr] 011.fseq - 19916023 16:43:47: [FileMgr] ._011.fseq - 4096 16:43:47: [FileMgr] 012.fseq - 19734624 16:43:47: [FileMgr] ._012.fseq - 4096 16:43:47: [FileMgr] 013.fseq - 15383091 16:43:47: [FileMgr] ._013.fseq - 4096 16:43:47: [FileMgr] 014.fseq - 17051933 16:43:47: [FileMgr] ._014.fseq - 4096 16:43:47: [FileMgr] 015.fseq - 4241398 16:43:47: [FileMgr] ._015.fseq - 4096 16:43:47: [FileMgr] 016.fseq - 41573350 16:43:47: [FileMgr] ._016.fseq - 4096 16:43:47: [FileMgr] 017.fseq - 25959893 16:43:47: [FileMgr] ._017.fseq - 4096 16:43:47: [FileMgr] 018.fseq - 8107713 16:43:47: [FileMgr] ._018.fseq - 4096 16:43:47: [FileMgr] 019.fseq - 14206862 16:43:47: [FileMgr] ._019.fseq - 4096 16:43:47: [FileMgr] 020.fseq - 9809400 16:43:47: [FileMgr] ._020.fseq - 4096 16:43:47: [FileMgr] 021.fseq - 11518954 16:43:47: [FileMgr] ._021.fseq - 4096 16:43:47: [FileMgr] 022.fseq - 11224543 16:43:47: [FileMgr] ._022.fseq - 4096 16:43:47: [FileMgr] 023.fseq - 5487705 16:43:47: [FileMgr] ._023.fseq - 4096 16:43:47: [FileMgr] 024.fseq - 10868484 16:43:47: [FileMgr] ._024.fseq - 4096 16:43:47: [FileMgr] 025.fseq - 29470502 16:43:47: [FileMgr] ._025.fseq - 4096 16:43:47: [FileMgr] 026.fseq - 6906754 16:43:47: [FileMgr] ._026.fseq - 4096 16:43:47: [FileMgr] 027.fseq - 35053636 16:43:47: [FileMgr] ._027.fseq - 4096 16:43:47: [FileMgr] 028.fseq - 10420369 16:43:47: [FileMgr] ._028.fseq - 4096 16:43:47: [FileMgr] 029.fseq - 11155350 16:43:47: [FileMgr] ._029.fseq - 4096 16:43:47: [FileMgr] 030.fseq - 4167549 16:43:47: [FileMgr] ._030.fseq - 4096 16:43:47: [FileMgr] Configuration File: '/config.json' loaded. 16:43:48: [FileMgr] Configuration File: '/input_config.json' loaded. 16:43:48: [FileMgr] Configuration File: '/output_config.json' loaded. 16:43:48: [FileMgr] ERROR: Cannot find 'wificonfig.json' for reading. File does not exist. 16:43:49: [FileMgr] SD file: 'wificonfig.json' not found. 16:43:49: [FileMgr] Configuration File: '/admininfo.json' saved 165 bytes. 16:43:49: [FileMgr] Configuration File: '/config.json' saved 558 bytes. 16:43:49: [WiFiDrv] WiFi Entering State: Connecting Using Config Credentials 16:43:50: [WiFiDrv] Using DHCP 16:43:50: [WiFiDrv] Connecting to 'Terrevue' as esps-001 16:43:50: [WiFiDrv] WiFi Entering State: Connected To AP 16:43:52: [WiFiDrv] Connected with IP: 192.168.150.230 16:43:52: [ DDP] Listening on port 4048 16:43:52: [WebMgr] Web server listening on port 80 16:43:52: [ FPPD] FPPDiscovery subscribed to broadcast messages on port: 32320 16:43:52: [ FPPD] FPPDiscovery subscribed to multicast: 239.70.80.80:32320 16:43:52: [ 16482][E][vfs_api.cpp:104] open(): /littlefs/www/index.html does not exist, no permits for creation 16:43:55: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 16:43:57: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 16:43:58: [EthDrv] Entering State: Powering Up 16:43:59: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 16:44:05: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 16:44:10: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files

Screenshot of the end of the file list from File Manager: image

MartinMueller2003 commented 10 months ago

Thanks for the detailed tests. That will help a lot in isolating the issue.

Terrevue commented 10 months ago

No problem. Anything I can do to help.

I'm having another issue that is more related to my fix. Will renaming the fseq files actually work in production? I'm seeing errors like this that makes it appear like it's attempting to self reference based on info in the file itself:

image

MartinMueller2003 commented 10 months ago

That is the name the ESP was given in the FPP sync message.

MartinMueller2003 commented 10 months ago

Just uploaded a version of the code that expands the buffer to 4KB.

Terrevue commented 10 months ago

That is the name the ESP was given in the FPP sync message.

Ahhh. That makes sense. Thanks

Terrevue commented 10 months ago

Just uploaded a version of the code that expands the buffer to 4KB.

Great! I just switched to DPP for the night run, but I'll download and flash either late tonight or in the morning and let you know the outcome. Thanks for the quick fix!

MartinMueller2003 commented 10 months ago

That is not a fix. It is a work around. I am working on a fix but it will take a bit longer.

Terrevue commented 10 months ago

Which hardware do you recommend I use? I tried Generic ESP32 and received the same error:

15:47:24: [FileMgr] ERROR: JSON Doc too small to hold the list of SD files 15:47:30: E (46099) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: 15:47:31: E (46099) task_wdt: - async_tcp (CPU 0/1) 15:47:31: E (46099) task_wdt: Tasks currently running: 15:47:31: E (46099) task_wdt: CPU 0: IDLE 15:47:31: E (46099) task_wdt: CPU 1: loopTask 15:47:31: E (46099) task_wdt: Aborting. 15:47:31: 15:47:31: abort() was called at PC 0x4011b458 on core 0 15:47:31: 15:47:31: 15:47:31: Backtrace:0x40084de9:0x3ffbeb3c |<-CORRUPTED 15:47:31: 15:47:31: 15:47:31: 15:47:31: 15:47:31: ELF file SHA256: 0000000000000000 15:47:31: 15:47:31: Rebooting...

MartinMueller2003 commented 10 months ago

Been working on a fix. First chunk transfers but not the rest.

Terrevue commented 10 months ago

Roger that. No worries. Just wanted to make sure I wasn't doing something wrong. Thanks!

MartinMueller2003 commented 10 months ago

Please download the latest dist.zip from google drive and see if your issue with file names is resolved.

Terrevue commented 10 months ago

Will do. Thanks for all the effort!

Terrevue commented 10 months ago

The JSON error went away but it still crashes:

12:18:23: E (37035) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: 12:18:33: E (37035) task_wdt: - async_tcp (CPU 0/1) 12:18:33: E (37035) task_wdt: Tasks currently running: 12:18:33: E (37035) task_wdt: CPU 0: IDLE 12:18:33: E (37035) task_wdt: CPU 1: loopTask 12:18:33: E (37035) task_wdt: Aborting. 12:18:33: 12:18:33: abort() was called at PC 0x401151a8 on core 0 12:18:33: 12:18:33: 12:18:33: Backtrace:0x40084181:0x3ffbeaac |<-CORRUPTED 12:18:33: 12:18:33: 12:18:33: 12:18:33: 12:18:33: ELF file SHA256: 0000000000000000 12:18:33: 12:18:33: Rebooting... 12:18:33: ets Jul 29 2019 12:21:46

MartinMueller2003 commented 10 months ago

I dont get that crash.

Terrevue commented 10 months ago

It happens when I go to File Manager. I just deleted the files from the SD card and added the updated ones. That caused all of the old files to still be read into File Manager. Let me reformat and add the files so there's nothing extra and give it another shot.

Terrevue commented 10 months ago

Confirmed. Happens when I access Device of File Manager. See attached for full log file. Please let me know if there are any specific tests you'd like me to try. QuinLED02.txt

MartinMueller2003 commented 10 months ago

Not sure where it is crashing. I just added a wdt update in the loop just in case we are taking too much time. New dist in same location.

Terrevue commented 10 months ago

Headed into show time now so I likely won't be able to test until the morning. I'll send the logs as soon as I have them.

Terrevue commented 9 months ago

Been a crazy week so I haven't had a chance to test yet. I hope to have it done by at least tomorrow though.