Skip to content
New issue

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

Search success but search results not visible #184

Open
MatthewTrout opened this issue Nov 18, 2024 · 0 comments
Open

Search success but search results not visible #184

MatthewTrout opened this issue Nov 18, 2024 · 0 comments

Comments

@MatthewTrout
Copy link

As of the last week, I get no search results, but I do get the messages (logged in, search accepted into queue, found 10 results for your query), so it appears as though it's working, but having an issue parsing the response(?)
checking the logs, I see:

openbooks-1  | 2024/11/18 20:45:23 CLIENT (Matthew): SEARCH Message Received
openbooks-1  | panic: runtime error: slice bounds out of range [38:15]
openbooks-1  |
openbooks-1  | goroutine 66 [running]:
openbooks-1  | github.com/evan-buss/openbooks/core.parseLineV2.func3({0x40001fa7d0, 0x43})
openbooks-1  | 	/go/src/core/search_parser.go:234 +0x20c
openbooks-1  | github.com/evan-buss/openbooks/core.parseLineV2({0x40001fa7d0, 0x43})
openbooks-1  | 	/go/src/core/search_parser.go:264 +0xac
openbooks-1  | github.com/evan-buss/openbooks/core.ParseSearchV2({0x709100, 0x40001920d8})
openbooks-1  | 	/go/src/core/search_parser.go:170 +0x148
openbooks-1  | github.com/evan-buss/openbooks/core.ParseSearchFile({0x40001fa550?, 0xc?})
openbooks-1  | 	/go/src/core/search_parser.go:73 +0xcc
openbooks-1  | github.com/evan-buss/openbooks/server.(*Client).searchResultHandler.func1({0x40001f4240, 0x82})
openbooks-1  | 	/go/src/server/irc_events.go:35 +0x120
openbooks-1  | created by github.com/evan-buss/openbooks/core.StartReader
openbooks-1  | 	/go/src/core/reader.go:98 +0x4e8
openbooks-1 exited with code 0

running the latest docker image (b5b092cf1464).

Will see if I can dig a bit deeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant