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

panic error on indexer #41

Open
ghost opened this issue Jun 12, 2020 · 0 comments
Open

panic error on indexer #41

ghost opened this issue Jun 12, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 12, 2020

Hi,

Hope you are all well !

If I index several websites, after some point I have this error:

Depth: 1 - Queued: 3977
panic: runtime error: index out of range [1] with length 0

goroutine 27 [running]:
github.com/nwihardjo/SpaghettiSearch/indexer.Index(0xc00c3e0000, 0xc52be, 0xffe00, 0xc0000f4070, 0x7ffe1107d10f, 0x1d, 0x0, 0xed38f5121, 0x0, 0x0, ...)
	/home/ubuntu/x0rzkov/SpaghettiSearch/indexer/indexer.go:44 +0x3261
github.com/nwihardjo/SpaghettiSearch/crawler.Crawl(0xc0000926e0, 0x0, 0x0, 0x7ffe1107d10f, 0x1d, 0xc00000fb20, 0xc0001bee70, 0xc000024ce0, 0xc00000fb00, 0xc000026870, ...)
	/home/ubuntu/x0rzkov/SpaghettiSearch/crawler/crawler.go:176 +0xb68
created by main.main
	/home/ubuntu/x0rzkov/SpaghettiSearch/cmd/crawl/start_crawl.go:144 +0xdb3

Is there something wrong with badger ? How to fix it ? Any ideas ?

Cheers,
X

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

0 participants