CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
vdown
Release Testers
Release Testers
Posts: 38
Joined: January 30th, 2008, 8:01 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by vdown »

Im trying to run this as a service on Windows Home Server. However it always spawns 2 couch potato processes, which I think is giving me some file corruption issues, but that's another issue.

I just used instsrv to create the service same as for sab itself based on the instrctions in the sab wiki, anyone got this to work OK, or am I just doing something stupid.
b1scu1t
Release Testers
Release Testers
Posts: 83
Joined: January 29th, 2008, 6:19 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by b1scu1t »

I used anyserviceinstaller to install this as a service in my whs.  But I am also using the source rather than the exe provided by ruudburger.  I have no issues with 2 instances starting up too.

The only problem I have is using git to check out the latest source.




vdown wrote: Im trying to run this as a service on Windows Home Server. However it always spawns 2 couch potato processes, which I think is giving me some file corruption issues, but that's another issue.

I just used instsrv to create the service same as for sab itself based on the instrctions in the sab wiki, anyone got this to work OK, or am I just doing something stupid.
Mrkennedy
Newbie
Newbie
Posts: 39
Joined: May 18th, 2010, 7:29 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by Mrkennedy »

Also got this working on on WHS no issues here
chokomon
Newbie
Newbie
Posts: 47
Joined: January 27th, 2008, 4:45 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by chokomon »

RuudBurger wrote: @chokomon:
NZBMatrix doesn't remove nzbs from rss.. how useful...
Still getting the same error with the latest version (just updated now).  Is this a nzbmatrix problem, a CouchPotato problem, or a random problem with just this one movie?
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Mostly NZBMatrix, partly CP :P
I don't check NZBMatrix yet if the NZB is available before sending it to SAB.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
b1scu1t
Release Testers
Release Testers
Posts: 83
Joined: January 29th, 2008, 6:19 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by b1scu1t »

I am not sure whether this is an issue with git or the way CouchPotato resides in the git servers.  I made sure I shut down my instance of CouchPotato and tried to pull the latest build, here is the error message I am getting.  I am not sure what the error is.  I just have a CouchPotato.bat file located in addition to the db and ini file in the CouchPotato directory.  Btw, the CouchPotato is remote cfs mounted from a Windows machine on my mac, where I have git installed and run it out of.

I initially installed git/turtlegit on the windows home server but I was running into the same issues there, hence this cross OS solution.

Any thoughts?

Mac:CouchPotato Tesla$ git pull
remote: Counting objects: 88, done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 65 (delta 52), reused 0 (delta 0)
Unpacking objects: 100% (65/65), done.
error: Couldn't set refs/remotes/origin/master
From git://github.com/RuudBurger/CouchPotato
! c722ab7..c84ea47  master     -> origin/master  (unable to update local ref)
Last edited by b1scu1t on July 28th, 2010, 6:27 pm, edited 1 time in total.
swakel
Newbie
Newbie
Posts: 3
Joined: July 23rd, 2010, 11:55 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by swakel »

Thanks again for the updated poster version. Looks great. Keep up the good work. Here is a bug report if you want it. Adding this movie (Harlan: In the Shadow of Jew Suess (2008) http://www.imdb.com/title/tt1327726/) from IMDB with the extension causes Couch Potato to crash. I had to restore from a backed up copy.
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Could someone test this build for me please: One-dir Build
I want to make the Windows Build update the same way, the Git version can. But have to make sure it runs like normal.

Let me know the results! Thanks

@swakel
Fixed in latest GIT
Last edited by RuudBurger on July 28th, 2010, 8:46 pm, edited 1 time in total.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
gaz777
Newbie
Newbie
Posts: 14
Joined: July 26th, 2010, 7:59 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by gaz777 »

RuudBurger wrote: Could someone test this build for me please: One-dir Build
I would but like the other windows builds for me it doesn't work, this and the other builds load once then if I try to refresh or go to the soon page it just loads forever.
Not sure why it doesn't work properly, logs don't show anything wrong. I'm using Win 7 Ultimate x64.
The git version, run using python.exe or pythonw.exe, runs perfectly.


I also decided to add "Harlan: In the Shadow of Jew Suess", Just to test and found the dimmed 'themoviedb' icon is hyperlinked to "http://www.themoviedb.org/movie/None", which then loads a 404 page.
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

It's dimmed for a reason ;)

Could you try the following build: http://cl.ly/1oDr
It has console turned on, and should give more info.
Open CMD (start menu, type "cmd", hit enter)
Drag the exe in the CMD
Hit enter, and see what happens.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
chokomon
Newbie
Newbie
Posts: 47
Joined: January 27th, 2008, 4:45 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by chokomon »

RuudBurger wrote: Mostly NZBMatrix, partly CP :P
I don't check NZBMatrix yet if the NZB is available before sending it to SAB.
Not sure if this is a change you made, but it's working differently now: the log shows it doing the search in nzbmatrix, finding the movie, but then nothing happens.  (Maybe due to check you added?  But if so, the log doesn't show it.)  If this was a change you made, I would suggest having CP search the next provider (nzbs.org) upon a failure like this, rather than just stopping as it does now. 

(As always, thanks again for the great program!!!  ;D )
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

How stupid of me, you are totally right.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
gaz777
Newbie
Newbie
Posts: 14
Joined: July 26th, 2010, 7:59 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by gaz777 »

RuudBurger wrote: It's dimmed for a reason ;)
Sorry I didn't really say what i meant, what I meant was that i wouldn't of expect the image to be hyper-linked if greyed out.
RuudBurger wrote: Could you try the following build: http://cl.ly/1oDr
It has console turned on, and should give more info.
It's doing what it used do..load once then not again.

the console is showing the GET commands for the first load but on refresh or similar the console and log isn't showing anything new.

This isn't a problem for me as i prefer using the python script directly.


Just tested the One-dir build on a Laptop running XP and it seemed to run perfectly, with no problems.
Jim
Newbie
Newbie
Posts: 49
Joined: October 31st, 2009, 10:15 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by Jim »

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "..\build\pyi.win32\CouchPotato\outPYZ1.pyz/cherrypy._cprequest", line 660, in respond
  File "..\build\pyi.win32\CouchPotato\outPYZ1.pyz/cherrypy.lib.encoding", line 193, in __call__
  File "C:/Users/XBMC/AppData/Local/Temp/_MEI41722\app\config\render.py", line 13, in __call__
    env.update(self.next_handler())
  File "..\build\pyi.win32\CouchPotato\outPYZ1.pyz/cherrypy._cpdispatch", line 25, in __call__
  File "C:/Users/XBMC/AppData/Local/Temp/_MEI41722\app\controllers\movie.py", line 23, in index
    return self.render({'movies': movies, 'snatched':snatched, 'downloaded':downloaded})
  File "C:/Users/XBMC/AppData/Local/Temp/_MEI41722\app\controllers\__init__.py", line 44, in render
    self.updateGlobals()
  File "C:/Users/XBMC/AppData/Local/Temp/_MEI41722\app\controllers\__init__.py", line 38, in updateGlobals
    self.globals['nextCheck'] = self.cron.get('yarr').nextCheck()
  File "C:/Users/XBMC/AppData/Local/Temp/_MEI41722\app\lib\cron\cronYarr.py", line 214, in nextCheck
    tm = time.gmtime(t)
ValueError: (22, 'Invalid argument')

Powered by CherryPy 3.2.0rc1 
W7 ultimate x64

i've killed the cp.exe process and restarted it but it keeps giving an internal server error.
Last edited by Jim on July 29th, 2010, 5:58 pm, edited 1 time in total.
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Thanks, fixed in latest GIT
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Post Reply