status-im / nim-chronicles-tail Goto Github PK
View Code? Open in Web Editor NEWInteractive filtering and visualization tool for Chronicles' JSON outputs
Interactive filtering and visualization tool for Chronicles' JSON outputs
/tmp/nimble_503177/githubcom_statusimnimchroniclestail/webui/server.nim(103, 34) Error: 'ws' is of type which cannot be captured as it would violate memory safety, declared here: /tmp/nimble_503177/githubcom_statusimnimchroniclestail/webui/server.nim(99, 7); using '-d:nimWorkaround14447' helps in some cases
Building chronicles_tail/ctail using c backend
Tip: 161 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: chronicles_tail
... Details:
... Execution failed with exit code 1
... Command: "/home/beta/.nimble/bin/nim" c --noNimblePath -d:NimblePkgVersion=0.1.0 -d:release --path:"/tmp/nimble_88293/githubcom_cheatfateasynctools" --path:"/home/beta/.nimble/pkgs/chronicles-0.7.0" --path:"/home/beta/.nimble/pkgs/json_serialization-0.1.0" --path:"/home/beta/.nimble/pkgs/serialization-0.1.0" --path:"/home/beta/.nimble/pkgs/faststreams-0.1.0" --path:"/home/beta/.nimble/pkgs/stew-0.1.0" --path:"/home/beta/.nimble/pkgs/stew-0.1.0" --path:"/home/beta/.nimble/pkgs/stew-0.1.0" --path:"/tmp/nimble_88293/githubcom_statusimnimranges" --path:"/home/beta/.nimble/pkgs/unicodedb-0.7.2" --path:"/tmp/nimble_88293/githubcom_surf1nb1rdnimprompt" --path:"/tmp/nimble_88293/githubcom_pragmagickarax" --path:"/tmp/nimble_88293/githubcom_nivwebsocketnim" --path:"/tmp/nimble_88293/githubcom_stisajswebsockets/src" -o:"/tmp/nimble_88293/githubcom_statusimnimchroniclestail/ctail" "/tmp/nimble_88293/githubcom_statusimnimchroniclestail/ctail.nim"
... Output: Hint: used config file '/home/beta/.choosenim/toolchains/nim-1.2.0/config/nim.cfg' [Conf]
... Hint: used config file '/etc/nim/config.nims' [Conf]
... Hint: used config file '/tmp/nimble_88293/githubcom_statusimnimchroniclestail/ctail.nim.cfg' [Conf]
... Hint: system [Processing]
... Hint: widestrs [Processing]
... Hint: io [Processing]
... Hint: ctail [Processing]
... Hint: tables [Processing]
... Hint: hashes [Processing]
... Hint: math [Processing]
... Hint: bitops [Processing]
... Hint: macros [Processing]
... Hint: algorithm [Processing]
... Hint: parseopt [Processing]
... Hint: os [Processing]
... Hint: strutils [Processing]
... Hint: parseutils [Processing]
... Hint: unicode [Processing]
... Hint: pathnorm [Processing]
... Hint: osseps [Processing]
... Hint: posix [Processing]
... Hint: times [Processing]
... Hint: options [Processing]
... Hint: typetraits [Processing]
... Hint: sequtils [Processing]
... Hint: json [Processing]
... Hint: lexbase [Processing]
... Hint: streams [Processing]
... Hint: parsejson [Processing]
... Hint: re [Processing]
... Hint: pcre [Processing]
... Hint: rtarrays [Processing]
... Hint: terminal [Processing]
... Hint: strformat [Processing]
... Hint: colors [Processing]
... Hint: termios [Processing]
... Hint: osproc [Processing]
... Hint: strtabs [Processing]
... Hint: cpuinfo [Processing]
... Hint: threadpool [Processing]
... Hint: cpuload [Processing]
... Hint: parsesql [Processing]
... Hint: asyncdispatch [Processing]
... Hint: heapqueue [Processing]
... Hint: asyncstreams [Processing]
... Hint: asyncfutures [Processing]
... Hint: deques [Processing]
... Hint: cstrutils [Processing]
... Hint: monotimes [Processing]
... Hint: nativesockets [Processing]
... Hint: net [Processing]
... Hint: sets [Processing]
... Hint: ssl_certs [Processing]
... Hint: ospaths [Processing]
... Hint: selectors [Processing]
... Hint: epoll [Processing]
... Hint: browsers [Processing]
... Hint: prompt [Processing]
... Hint: lists [Processing]
... Hint: widths [Processing]
... Hint: widths_data [Processing]
... Hint: chronicles [Processing]
... Hint: scope_helpers [Processing]
... Hint: options [Processing]
... Hint: dynamic_scope [Processing]
... Hint: log_output [Processing]
... Hint: dynamic_scope_types [Processing]
... Hint: output_stream [Processing]
... Hint: ptr_arith [Processing]
... Hint: ptrops [Processing]
... Hint: strings [Processing]
... Hint: writer [Processing]
... Hint: serialization [Processing]
... Hint: faststreams [Processing]
... Hint: input_stream [Processing]
... Hint: memfiles [Processing]
... Hint: object_serialization [Processing]
... Hint: macros [Processing]
... Hint: objects [Processing]
... Hint: errors [Processing]
... Hint: topics_registry [Processing]
... Hint: pipes [Processing]
... Hint: asyncpipe [Processing]
... Hint: ptr_arith [Processing]
... Hint: server [Processing]
... Hint: random [Processing]
... Hint: asynchttpserver [Processing]
... Hint: asyncnet [Processing]
... Hint: uri [Processing]
... Hint: httpcore [Processing]
... Hint: websocket [Processing]
... Hint: shared [Processing]
... Hint: oids [Processing]
... Hint: endians [Processing]
... Hint: client [Processing]
... Hint: base64 [Processing]
... Hint: httpclient [Processing]
... Hint: mimetypes [Processing]
... Hint: asyncfile [Processing]
... Hint: server [Processing]
... Hint: sha1 [Processing]
... Hint: hex [Processing]
... Hint: configuration [Processing]
... /tmp/nimble_88293/githubcom_statusimnimchroniclestail/webui/server.nim(37, 27) template/generic instantiation of `async` from here
... /tmp/nimble_88293/githubcom_statusimnimchroniclestail/webui/server.nim(43, 69) Error: type mismatch: got <string, HeaderVerificationError>
... but expected one of:
... proc `&`(x, y: string): string
... first type mismatch at position: 2
... required type for y: string
... but expression 'error' is of type: HeaderVerificationError
... proc `&`(x: string; y: char): string
... first type mismatch at position: 2
... required type for y: char
... but expression 'error' is of type: HeaderVerificationError
... proc `&`[T](x: T; y: seq[T]): seq[T]
... first type mismatch at position: 2
... required type for y: seq[T]
... but expression 'error' is of type: HeaderVerificationError
... 4 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them
... expression: "Websocket negotiation failed: " & error
As a workaround to #3 we can slow down cat output to feed chronicles-tail for example with
ctail perl -pe "system 'sleep .003'" local_testnet0_data/log0.txt (this is very bad as it forks but well ...)
However the time that is displayed in the log is the current time not the logged time in the json
a ctail cat local_testnet_data/log0.txt
can lead to resource exhaustion.
Log produced by https://github.com/status-im/nim-beacon-chain/blob/c548b90a0e73df89a6ae73c2b9beef4209d7767a/scripts/launch_local_testnet.sh (for a successful finalization so it's not the assert).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.