hoshsadiq / m3ufilter

ABANDONED - A tool that allows to filter specific items from an m3u filter designed for IPTV.
GNU General Public License v2.0
48 stars 18 forks source link

Fixed split calls. see #16 #18

Closed Surfoo closed 4 years ago

hoshsadiq commented 4 years ago

I've pushed a fix, will merge when the build is done.

hoshsadiq commented 4 years ago

@Surfoo actually before I merge, can you check that it works?

Surfoo commented 4 years ago

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
hoshsadiq commented 4 years ago

I'm unable to reproduce that. Can you ensure you pull your own latest master branch?

Surfoo commented 4 years ago

Yes, my master branch is up to date. I don't understand why f.File is about logrus...

hoshsadiq commented 4 years ago

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.

stale[bot] commented 4 years ago

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.

hoshsadiq commented 4 years ago

@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.