Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sd3420625 opened this issue Sep 18, 2024 · 0 comments

Comments

@sd3420625
Copy link

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.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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant