marguerite / linux-bing-wallpaper

set Bing Wallpaper of the Day as your Linux Desktop's wallpaper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible Bug: panic: fork/exec /usr/bin/file: no such file or directory

Saijin-Naib opened this issue · comments

~/Sources/linux-bing-wallpaper/linux-bing-wallpaper
Started linux-bing-wallpaper
upstream uri:http://bing.com/th?id=OHR.IvishakRiver_EN-US1566710821_1920x1200.jpg
panic: fork/exec /usr/bin/file: no such file or directory

goroutine 1 [running]:
main.errChk(...)
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:46
main.imageChk(0xc0000a88a0, 0x52, 0x67cdb, 0x67cdb)
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:86 +0x2e7
main.downloadWallpaper(0xc00001e7d0, 0x46, 0xc000024300, 0x23, 0x0, 0x0)
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:137 +0x54d
main.main.func1.1(0xc000060f60)
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:461 +0x9c
main.main.func1(0xc00012c9a0, 0x0, 0x0)
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:469 +0x449
github.com/urfave/cli.HandleAction(0x7c8940, 0x8606e0, 0xc00012c9a0, 0xc00012c9a0, 0x0)
	/home/alpine/Sources/linux-bing-wallpaper/vendor/github.com/urfave/cli/app.go:526 +0x105
github.com/urfave/cli.(*App).Run(0xc00014a380, 0xc000012220, 0x1, 0x1, 0x0, 0x0)
	/home/alpine/Sources/linux-bing-wallpaper/vendor/github.com/urfave/cli/app.go:288 +0x675
main.main()
	/home/alpine/Sources/linux-bing-wallpaper/bing-wallpaper.go:510 +0x68c