Prometheus icon indicating copy to clipboard operation
Prometheus copied to clipboard

[BUG]

Open larevio opened this issue 2 years ago • 1 comments

i got this error for obfuscation

lua: /root/Prometheus/src/logger.lua:54: Lexing Error at Position 197:3689, Unexpected char "\096"! stack traceback: [C]: in function 'error' /root/Prometheus/src/logger.lua:54: in function 'errorCallback' /root/Prometheus/src/logger.lua:57: in function 'error' /root/Prometheus/src/prometheus/tokenizer.lua:503: in function 'next' /root/Prometheus/src/prometheus/tokenizer.lua:509: in function 'scanAll' /root/Prometheus/src/prometheus/parser.lua:143: in function 'parse' /root/Prometheus/src/prometheus/pipeline.lua:178: in function 'apply' /root/Prometheus/src/cli.lua:148: in main chunk [C]: in function 'require' /root/Prometheus/cli.lua:12: in main chunk [C]: ? Command execution failed with error: lua: /root/Prometheus/src/logger.lua:54: Lexing Error at Position 197:3689, Unexpected char "\096"! stack traceback: [C]: in function 'error' /root/Prometheus/src/logger.lua:54: in function 'errorCallback' /root/Prometheus/src/logger.lua:57: in function 'error' /root/Prometheus/src/prometheus/tokenizer.lua:503: in function 'next' /root/Prometheus/src/prometheus/tokenizer.lua:509: in function 'scanAll' /root/Prometheus/src/prometheus/parser.lua:143: in function 'parse' /root/Prometheus/src/prometheus/pipeline.lua:178: in function 'apply' /root/Prometheus/src/cli.lua:148: in main chunk [C]: in function 'require' /root/Prometheus/cli.lua:12: in main chunk [C]: ?

larevio avatar Aug 10 '23 11:08 larevio

It looks like you are trying to use LuaU string interpolation. This is currently not supported by the prometheus parser.

levno-710 avatar Aug 17 '23 17:08 levno-710