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

handle path not available #5

Open
TsotosA opened this issue Apr 16, 2022 · 0 comments
Open

handle path not available #5

TsotosA opened this issue Apr 16, 2022 · 0 comments
Labels
add to changelog bug Something isn't working

Comments

@TsotosA
Copy link
Owner

TsotosA commented Apr 16, 2022

scanForMovieFiles & scanForTvShowFiles

Apr 16 10:48:59 alxnt-ms systemd[1]: Started AT Media Manager.
Apr 16 10:48:59 alxnt-ms atmm-linux[23246]: {"level":"info","time":"2022-04-16T10:48:59.914Z","caller":"atmm/main.go:30","msg":"::: app start :::"}
Apr 16 10:48:59 alxnt-ms atmm-linux[23246]: {"level":"info","time":"2022-04-16T10:48:59.916Z","caller":"atmm/main.go:31","msg":"version:[v0.1.5]"}
Apr 16 10:48:59 alxnt-ms atmm-linux[23246]: {"level":"info","time":"2022-04-16T10:48:59.916Z","caller":"atmm/db.go:27","msg":"opened db"}
Apr 16 10:48:59 alxnt-ms atmm-linux[23246]: {"level":"info","time":"2022-04-16T10:48:59.916Z","caller":"atmm/db.go:29","msg":"Trying to create buckets"}
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: panic: runtime error: invalid memory address or nil pointer dereference
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x723a32]
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: goroutine 11 [running]:
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: main.ScanForMovieFiles.func1({0xc0000183c0, 0x2b}, {0x0, 0x0}, {0x0?, 0x0?})
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/Desktop/repos/github/atmm/movie_service.go:14 +0x52
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: path/filepath.WalkDir({0xc0000183c0, 0x2b}, 0xc00003eb60)
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Program Files/Go/src/path/filepath/path.go:467 +0x50
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: main.ScanForMovieFiles({0xc0000183c0?, 0x0?}, 0x0?)
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/Desktop/repos/github/atmm/movie_service.go:13 +0x3a
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: main.HandleMovies()
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/Desktop/repos/github/atmm/movie.go:13 +0xac
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: main.RunMoviesAsCronJob()
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/Desktop/repos/github/atmm/main.go:71 +0x17
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: github.com/robfig/cron/v3.FuncJob.Run(0x2?)
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136 +0x1a
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: github.com/robfig/cron/v3.(*Cron).startJob.func1()
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312 +0x6a
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]: created by github.com/robfig/cron/v3.(*Cron).startJob
Apr 16 10:53:59 alxnt-ms atmm-linux[23246]:         C:/Users/Alex/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:310 +0xad
Apr 16 10:53:59 alxnt-ms systemd[1]: atmm.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 16 10:53:59 alxnt-ms systemd[1]: atmm.service: Failed with result 'exit-code'.
@TsotosA TsotosA added bug Something isn't working add to changelog labels Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant