junalmeida / Sick-Beard

Sick-Beard is a PVR & episode guide that downloads and manages all your TV shows. You must have rights to the TV Shows being downloaded. Always observe network regulations and laws in your country.
GNU General Public License v3.0
143 stars 72 forks source link

/usr/bin/env: ‘python\r’: No such file or directory #312

Closed britishben closed 7 years ago

britishben commented 7 years ago

Getting the following error when I try to run: /usr/bin/env: ‘python\r’: No such file or directory

Opening the SickBeard.py file in vim, I have the little ^Ms at the end of every line, so I suspect it's just a dos/unix file format issue.

Entering :%s/^M// into vim fixed it (with Ctrl-V, Ctrl-M to make the ^M).

VeNoMouS commented 7 years ago

indeed, I will clean this up, how ever you can run dos2unix ./SickBeard.py , I'll clean it up and run a PR for @junalmeida on all the files..

Looking at SickBeard.py history, it seems this may have been around for a number of years, as typically SickBeard was started via python ./SickBeard.py in the init scripts

VeNoMouS commented 7 years ago

PR #313

VeNoMouS commented 7 years ago

@junalmeida close please.