Closed Surfoo closed 4 years ago
@Surfoo actually before I merge, can you check that it works?
hum, I still have the issue:
$ go run cmd/m3u-filter/main.go -config=config.yaml
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/hoshsadiq/m3ufilter/logger.Get.func1(0xc0000c04b0, 0x0, 0x82741a, 0x3, 0xb7ab40)
/home/user/git/m3ufilter2/logger/logger.go:26 +0x314
And a Println of f.File
and appPath
:
f.File: /home/baptiste/go/pkg/mod/github.com/sirupsen/logrus@v1.4.2/entry.go
appPath: /home/baptiste/git/m3ufilter2
I'm unable to reproduce that. Can you ensure you pull your own latest master branch?
Yes, my master branch is up to date.
I don't understand why f.File
is about logrus...
Me either, are you able to clear your pkg dir and clone from scratch and see if that helps? If not, it would be good to see if you can debug it and see where that call comes from.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@Surfoo I've merged it for now as I'd like to keep these changes anyway, if it still hasn't been resolved please feel free to propose a solution or alternatively provide step by step instructions on how you're trying to compile it. Without reproducing these changes I'm unable to provide a fix.
I've pushed a fix, will merge when the build is done.