Comments (1)
This panic occurs when scanning .git
directories.
panic: decoding charset: IBM424_ltr: ianaindex: invalid encoding name
goroutine 1 [running]:
github.com/ianlewis/todos/internal/scanner.FromBytes({0xc012038d90, 0x68}, {0xc012030c00, 0xe6, 0x200})
/usr/local/google/home/ianlewis/src/todos/internal/scanner/scanner.go:108 +0x733
github.com/ianlewis/todos/internal/scanner.FromFile(0xc000b048b0)
/usr/local/google/home/ianlewis/src/todos/internal/scanner/scanner.go:81 +0xf3
github.com/ianlewis/todos/internal/walker.(*TODOWalker).scanFile(0xc00087db18, 0xc000b048b0)
/usr/local/google/home/ianlewis/src/todos/internal/walker/walker.go:234 +0x2a
github.com/ianlewis/todos/internal/walker.(*TODOWalker).processFile(0xc00087db18, {0xc011c7b900, 0x36}, {0xc012038d90?, 0x4c8e2f?}, 0x9c4d40?)
/usr/local/google/home/ianlewis/src/todos/internal/walker/walker.go:230 +0x74
github.com/ianlewis/todos/internal/walker.(*TODOWalker).walkFunc(0xc00087db18, {0xc011c7b900, 0x36}, {0x6c30b8, 0xc011c3a940}, {0x0?, 0x0?})
/usr/local/google/home/ianlewis/src/todos/internal/walker/walker.go:183 +0x3d3
io/fs.walkDir({0x6c2100, 0xc0002719c0}, {0xc011c7b900, 0x36}, {0x6c30b8, 0xc011c3a940}, 0xc00087da28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:73 +0x78
io/fs.walkDir({0x6c2100, 0xc0002719c0}, {0xc011c36440, 0xf}, {0x6c30b8, 0xc000beaf80}, 0xc00087da28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:95 +0x2e6
io/fs.walkDir({0x6c2100, 0xc0002719c0}, {0xc001a212e0, 0xc}, {0x6c30b8, 0xc00020a3c0}, 0xc00087da28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:95 +0x2e6
io/fs.walkDir({0x6c2100, 0xc0002719c0}, {0xc00001aeb8, 0x4}, {0x6c30b8, 0xc000031f40}, 0xc00087da28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:95 +0x2e6
io/fs.walkDir({0x6c2100, 0xc0002719c0}, {0x6bf578, 0x1}, {0x6c3080, 0xc0002719d0}, 0xc00087da28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:95 +0x2e6
io/fs.WalkDir({0x6c2100, 0xc0002719c0}, {0x6bf578, 0x1}, 0xc0000a7a28)
/usr/local/google/home/ianlewis/opt/go/src/io/fs/walk.go:122 +0xde
github.com/ianlewis/todos/internal/walker.(*TODOWalker).walkDir(...)
/usr/local/google/home/ianlewis/src/todos/internal/walker/walker.go:134
github.com/ianlewis/todos/internal/walker.(*TODOWalker).Walk(0xc00087db18)
/usr/local/google/home/ianlewis/src/todos/internal/walker/walker.go:117 +0x1a5
main.newTODOsApp.func1(0xc000031740)
/usr/local/google/home/ianlewis/src/todos/internal/cmd/todos/app.go:107 +0x13a
github.com/urfave/cli/v2.(*Command).Run(0xc0002691e0, 0xc000031740, {0xc000016040, 0x2, 0x2})
/usr/local/google/home/ianlewis/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:274 +0x9eb
github.com/urfave/cli/v2.(*App).RunContext(0xc0002fc000, {0x6c2e88?, 0xc00001a0c8}, {0xc000016040, 0x2, 0x2})
/usr/local/google/home/ianlewis/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x616
github.com/urfave/cli/v2.(*App).Run(...)
/usr/local/google/home/ianlewis/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:309
main.main()
/usr/local/google/home/ianlewis/src/todos/internal/cmd/todos/main.go:22 +0x45
exit status 2
from todos.
Related Issues (20)
- issue-reopener-subdir pre-submit test issue HOT 1
- issue-reopener-dry-run pre-submit test issue
- issue-reopener-subdir pre-submit test issue HOT 1
- issue-reopener-basic pre-submit test issue HOT 1
- issue-reopener-vanityURLs pre-submit test issue HOT 1
- issue-reopener-basic pre-submit test issue HOT 1
- issue-reopener-dry-run pre-submit test issue
- issue-reopener-vanityURLs pre-submit test issue HOT 1
- issue-reopener-subdir pre-submit test issue HOT 1
- issue-reopener-dry-run pre-submit test issue
- issue-reopener-subdir pre-submit test issue HOT 1
- issue-reopener-vanityURLs pre-submit test issue HOT 1
- issue-reopener-basic pre-submit test issue HOT 1
- issue-reopener-dry-run pre-submit test issue
- issue-reopener-basic pre-submit test issue HOT 1
- issue-reopener-subdir pre-submit test issue HOT 1
- issue-reopener-vanityURLs pre-submit test issue HOT 1
- [bug] Use GitHub Actions output by default when GITHUB_ACTIONS=true
- [bug] `--exclude-dir` does not exclude directory with `/` at the end
- [feature] Show creator of a todo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todos.