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
Upstream fm crashes when running the app in $HOME. Steps to reproduce:
fm
$HOME
go install
main
cd ~
right
--enable-logging
Additional info:
go version go1.22.9 linux/amd64
tput cols && tput lines # 113 32
echo $TERM $LSCOLORS # tmux-256color Gxfxcxdxbxegedabagacad
Caught panic: runtime error: index out of range [0] with length 0 Restoring terminal... goroutine 1 [running]: runtime/debug.Stack() /usr/lib/golang/src/runtime/debug/stack.go:24 +0x5e runtime/debug.PrintStack() /usr/lib/golang/src/runtime/debug/stack.go:16 +0x13 github.com/charmbracelet/bubbletea.(*Program).Run.func1() /home/adam/.go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:478 +0x91 panic({0x9459c0?, 0xc000154b28?}) /usr/lib/golang/src/runtime/panic.go:770 +0x132 github.com/mistakenelf/fm/filetree.Model.Update({{0x0, 0x0, 0x0}, 0x0, 0x0, 0x1b, 0x1c, 0x38, 0x0, 0x1, ...}, ...) /home/adam/.go/pkg/mod/github.com/mistakenelf/[email protected]/filetree/update.go:176 +0x68f2 github.com/mistakenelf/fm/internal/tui.model.Update({{{0x0, 0x0, 0x0}, 0x0, 0x0, 0x1b, 0x1c, 0x38, 0x0, 0x1, ...}, ...}, ...) /home/adam/.go/pkg/mod/github.com/mistakenelf/[email protected]/internal/tui/update.go:177 +0x999 github.com/charmbracelet/bubbletea.(*Program).eventLoop(0xc0002a6c30, {0xcc3958?, 0xc0000cd508?}, 0xc0001173e0) /home/adam/.go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:411 +0x5e2 github.com/charmbracelet/bubbletea.(*Program).Run(0xc0002a6c30) /home/adam/.go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:543 +0x86b github.com/mistakenelf/fm/cmd.init.func1(0x100cd20, {0x108c5c0?, 0x7?, 0x96f176?}) /home/adam/.go/pkg/mod/github.com/mistakenelf/[email protected]/cmd/root.go:88 +0x8a5 github.com/spf13/cobra.(*Command).execute(0x100cd20, {0xc00010e060, 0x0, 0x0}) /home/adam/.go/pkg/mod/github.com/spf13/[email protected]/command.go:987 +0xab1 github.com/spf13/cobra.(*Command).ExecuteC(0x100cd20) /home/adam/.go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /home/adam/.go/pkg/mod/github.com/spf13/[email protected]/command.go:1039 github.com/mistakenelf/fm/cmd.Execute() /home/adam/.go/pkg/mod/github.com/mistakenelf/[email protected]/cmd/root.go:107 +0x211 main.main() /home/adam/.go/pkg/mod/github.com/mistakenelf/[email protected]/main.go:6 +0xf
The text was updated successfully, but these errors were encountered:
May be related to yorukot/superfile#486 and having a file where we can't read the size
Sorry, something went wrong.
No branches or pull requests
Upstream
fm
crashes when running the app in$HOME
. Steps to reproduce:go install
onmain
cd ~
fm
shows the directory as empty, pressingright
causes the program to panic, relevant part of trace below--enable-logging
creates an empty fileAdditional info:
go version go1.22.9 linux/amd64
tput cols && tput lines # 113 32
echo $TERM $LSCOLORS # tmux-256color Gxfxcxdxbxegedabagacad
The text was updated successfully, but these errors were encountered: