We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tt connect
table/ttable
>\set output table >{}
>\set output table
>{}
tt/cli/formatter/table.go
Line 286 in f13b13e
whoops! It looks like something is wrong with this version of Tarantool CLI. Error: Unhandled internal error: runtime error: index out of range [0] with length 0 Version: Tarantool CLI version 2.7.0, linux/amd64. commit: f13b13e Stacktrace: goroutine 1 [running]: runtime/debug.Stack() /opt/hostedtoolcache/go/1.22.11/x64/src/runtime/debug/stack.go:24 +0x5e github.com/tarantool/tt/cli/util.InternalError({0x1502cad, 0x1c}, 0xc0000d89a8?, {0xc0000d8960, 0x1, 0x1}) /home/runner/work/tt/tt/cli/util/util.go:140 +0x98 main.main.func1() /home/runner/work/tt/tt/cli/main.go:18 +0x5a panic({0x145f580?, 0xc00003a0a8?}) /opt/hostedtoolcache/go/1.22.11/x64/src/runtime/panic.go:770 +0x132 github.com/tarantool/tt/cli/formatter.renderEqualMaps({0x0, 0x0, 0xc0000d8c68?}, 0x0, {0xc0?, 0xc000012150?, 0xc0004b0fe0?}) /home/runner/work/tt/tt/cli/formatter/table.go:286 +0x885 github.com/tarantool/tt/cli/formatter.renderArraysAsTable({0x211ac80?, 0x18?, 0x194?}, 0x0, {0x80?, 0x10?, 0x10?}) /home/runner/work/tt/tt/cli/formatter/table.go:181 +0x23f github.com/tarantool/tt/cli/formatter.renderArrays({0xc0004b1010?, 0x130dac0?, 0x2?}, 0x10?, {0x10?, 0xc0000d8e00?, 0x41d0d8?}) /home/runner/work/tt/tt/cli/formatter/table.go:149 +0x85 github.com/tarantool/tt/cli/formatter.renderBatch({0xc0004b1010?, 0xc0004b1010?, 0xc0000d8ef8?}, 0xfe?, {0x10?, 0x135a9e0?, 0x20b1401?}) /home/runner/work/tt/tt/cli/formatter/table.go:404 +0x8f1 github.com/tarantool/tt/cli/formatter.renderBatches({0xc0000121b0?, 0xc0004b0fe0?, 0x1?}, 0x0, {0xe0?, 0xc0004b0ef0?, 0x30?}) /home/runner/work/tt/tt/cli/formatter/table.go:415 +0x7b github.com/tarantool/tt/cli/formatter.makeTableOutput({0xc0000141d0?, 0xc00011b500?}, 0x0, {0x90?, 0x131ece0?, 0x67b36c01?}) /home/runner/work/tt/tt/cli/formatter/table.go:543 +0xaad github.com/tarantool/tt/cli/formatter.MakeOutput(0x1656f60?, {0xc0000141d0?, 0x130cb40?}, {0x30?, 0x0?, 0xc00011b500?}) /home/runner/work/tt/tt/cli/formatter/format.go:71 +0x89 github.com/tarantool/tt/cli/connect.getExecutor.func1({0xc0005ca022, 0x2}) /home/runner/work/tt/tt/cli/connect/console.go:267 +0x533 github.com/tarantool/go-prompt.(*Prompt).Run(0xc0001ad400) /home/runner/go/pkg/mod/github.com/tarantool/[email protected]/prompt.go:156 +0x667 github.com/tarantool/tt/cli/connect.(*Console).Run(0xc0005162c0) /home/runner/work/tt/tt/cli/connect/console.go:172 +0x196 github.com/tarantool/tt/cli/connect.runConsole({{0x14e2418, 0x4}, {0x7ffdb7940d7d, 0x32}, {0x0, 0x0}, {0x0, 0x0}, {{0x0, 0x0}, ...}}, ...) /home/runner/work/tt/tt/cli/connect/connect.go:156 +0x133 github.com/tarantool/tt/cli/connect.Connect({{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0}, ...}, ...) /home/runner/work/tt/tt/cli/connect/connect.go:83 +0x67 github.com/tarantool/tt/cli/cmd.internalConnectModule(0x20b0280, {0xc000045a30, 0x1, 0x1}) /home/runner/work/tt/tt/cli/cmd/connect.go:240 +0x458 github.com/tarantool/tt/cli/modules.RunCmd(0x20b0280, {0xc000015940, 0xa}, 0x91f797d00000000?, 0x1656290, {0xc000045a30, 0x1, 0x1}) /home/runner/work/tt/tt/cli/modules/run.go:36 +0xb2 github.com/tarantool/tt/cli/cmd.NewConnectCmd.func1(0xc000608008, {0xc000045a30, 0x1, 0x1}) /home/runner/work/tt/tt/cli/cmd/connect.go:66 +0x94 github.com/spf13/cobra.(*Command).execute(0xc000608008, {0xc000118230, 0x1, 0x1}) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:987 +0xab1 github.com/spf13/cobra.(*Command).ExecuteC(0xc0005f8308) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039 github.com/tarantool/tt/cli/cmd.Execute() /home/runner/work/tt/tt/cli/cmd/root.go:213 +0x1e main.main() /home/runner/work/tt/tt/cli/main.go:23 +0x35
The text was updated successfully, but these errors were encountered:
Thank you, it looks bad.
Sorry, something went wrong.
formatter: fix rendering empty maps
7d68b90
Closes #1102
formatter: fix rendering of empty maps
f46371a
d3aeeb9
e91b608
b9767dd
f37087d
patapenka-alexey
Successfully merging a pull request may close this issue.
>\set output table
>{}
tt/cli/formatter/table.go
Line 286 in f13b13e
The text was updated successfully, but these errors were encountered: