blizzless-diiis icon indicating copy to clipboard operation
blizzless-diiis copied to clipboard

The error "Encountered unescaped ']' token at position 24" is reported after the server is started.

Open sd3420625 opened this issue 5 months ago • 0 comments

My system environment is arm64 server and ubuntu22 system. After successfully compiling the program file and starting it, this error will appear every once in a while, causing the service to crash. Is there any solution?

An unhandled exception occured at initialization. Please report this to the developers. System.InvalidOperationException: Encountered unescaped ']' token at position 24 at bool Spectre.Console.MarkupTokenizer.ReadText() in //src/Spectre.Console/Internal/Text/Markup/MarkupTokenizer.cs:32
at Paragraph Spectre.Console.MarkupParser.Parse(string text, Style style) in /
/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:59
at void DiIiS_NA.Core.Logging.AnsiTarget.AddRow(Level level, string logger, string message, string exMessage, bool isError, bool exFormat) in
/home/ubuntu/diablo/src/DiIiS-NA/Core/Logging/AnsiTarget.cs:175
at void DiIiS_NA.Core.Logging.AnsiTarget.LogMessage(Level level, string logger, string message) in /home/ubuntu/diablo/src/DiIiS-NA/Core/Logging/AnsiTarget.cs:143 at void DiIiS_NA.Core.Logging.LogRouter.RouteMessage(Level level, string logger, string message) in /home/ubuntu/diablo/src/DiIiS-NA/Core/Logging/LogRouter.cs:29
at void DiIiS_NA.Core.Logging.Logger.Info(string message) in /home/ubuntu/diablo/src/DiIiS-NA/Core/Logging/Logger.cs:160
at void DiIiS_NA.REST.RestSession.ReadHandler(int transferredBytes) in /home/ubuntu/diablo/src/DiIiS-NA/REST/RestSession.cs:74
at void DiIiS_NA.REST.SocketBase.ReadHandlerInternal(SocketAsyncEventArgs args) in /home/ubuntu/diablo/src/DiIiS-NA/REST/SocketBase.cs:101
at void DiIiS_NA.REST.SocketBase.<AsyncRead>b__7_0(object sender, SocketAsyncEventArgs args) in /home/ubuntu/diablo/src/DiIiS-NA/REST/SocketBase.cs:50
at void System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state)
at void System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state)
at void System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
at bool System.Threading.ThreadPoolWorkQueue.Dispatch()
at void System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

sd3420625 avatar Sep 18 '24 07:09 sd3420625