MinimServer Forum
string index out of bounds exception error - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: string index out of bounds exception error (/showthread.php?tid=6431)

Pages: 1 2


string index out of bounds exception error - aspaceintime - 18-12-2021 18:49

My MAC instance started getting this error this AM. I have include the log..
Any help would be greatly appreciated...


RE: string index out of bounds exception error - simoncn - 18-12-2021 22:11

Please post your added-dates.txt file. You can find this in the ~/Library/MinimServer/recent folder.


RE: string index out of bounds exception error - aspaceintime - 18-12-2021 23:29

(18-12-2021 22:11)simoncn Wrote:  Please post your added-dates.txt file. You can find this in the ~/Library/MinimServer/recent folder.
here you go...


RE: string index out of bounds exception error - simoncn - 19-12-2021 10:50

Line 159 in this file [2021-12-17 11:24:02.983 /Volumes/music/CD Rips/Lennerockers, The/The Lennerockers and Friends/12 The Lennerockers feat. Francois Polanski....] contains Unicode characters that aren't being handled correctly by MinimServer. If you delete this line, this should enable MinimServer to start. I will work on a fix for this.


RE: string index out of bounds exception error - aspaceintime - 19-12-2021 14:25

(19-12-2021 10:50)simoncn Wrote:  Line 159 in this file [2021-12-17 11:24:02.983 /Volumes/music/CD Rips/Lennerockers, The/The Lennerockers and Friends/12 The Lennerockers feat. Francois Polanski....] contains Unicode characters that aren't being handled correctly by MinimServer. If you delete this line, this should enable MinimServer to start. I will work on a fix for this.
I removed that line and it now works...Thanks !
Nice job adding these new features, they are cool !!!.


RE: string index out of bounds exception error - simoncn - 21-12-2021 22:46

I have found the cause of this problem with some lines causing StringIndexOutOfBoundsException. It will be fixed in the next MinimServer update.


RE: string index out of bounds exception error - aspaceintime - 21-12-2021 23:20

(21-12-2021 22:46)simoncn Wrote:  I have found the cause of this problem with some lines causing StringIndexOutOfBoundsException. It will be fixed in the next MinimServer update.
OK, thanks for the help...


RE: string index out of bounds exception error - simoncn - 22-12-2021 21:05

The fix for this problem is available now in MinimServer update 207.


RE: string index out of bounds exception error - aspaceintime - 22-12-2021 22:25

(22-12-2021 21:05)simoncn Wrote:  The fix for this problem is available now in MinimServer update 207.
I just tried to install and I got an error - Incorrect date & time on line 199 of played-files.txt. I can delete line 199, but is there a way to add line numbers so I don't have to count to 199?


RE: string index out of bounds exception error - aspaceintime - 22-12-2021 22:44

(22-12-2021 22:25)aspaceintime Wrote:  
(22-12-2021 21:05)simoncn Wrote:  The fix for this problem is available now in MinimServer update 207.
I just tried to install and I got an error - Incorrect date & time on line 199 of played-files.txt. I can delete line 199, but is there a way to add line numbers so I don't have to count to 199?
I deleted line 199 and now the error moved to line 197...It looks line is same error as before:

2021-12-22 14:01:46.068 /Volumes/music/CD Rips/Lennerockers, The/The Lennerockers and Friends/12 The Lennerockers feat. Francois Polanski & Thomas Locke Kae
ssens
- Tennessee Whiskey.flac. I deleted it again... and it worked