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

[Crash] interface conversion #12

Closed
SegFault42 opened this issue Dec 21, 2021 · 1 comment
Closed

[Crash] interface conversion #12

SegFault42 opened this issue Dec 21, 2021 · 1 comment

Comments

@SegFault42
Copy link

Hi !

I'm got a crash when i'm running the tool.
I'm not familiar with interfaces in golang and I cant debug it.

Can you take a look please

panic: interface conversion: jobtracker.Context is *workers.RecursiveDownloadContext, not workers.RecursiveDownloadContext

goroutine 25 [running]:
github.com/deletescape/goop/internal/workers.RecursiveDownloadWorker(0xc0000c81c0, 0xc0000b41b0, 0xa, 0x14e3700, 0xc0000af5f0)
/Users/segfault42/Documents/goop/internal/workers/recursivedownload.go:22 +0xf49
github.com/deletescape/jobtracker.workRoutine(0xc0000c81c0, 0x15c5470, 0x14e3700, 0xc0000af5f0)
/Users/segfault42/go/pkg/mod/github.com/deletescape/jobtracker@v0.0.0-20211024175651-68fbc3d60d80/jobtracker.go:132 +0x92
created by github.com/deletescape/jobtracker.(*JobTracker).StartAndWait
/Users/segfault42/go/pkg/mod/github.com/deletescape/jobtracker@v0.0.0-20211024175651-68fbc3d60d80/jobtracker.go:74 +0x85

@nyancrimew
Copy link
Owner

this should be fixed now

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

2 participants