Page 21 of 88

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

Posted: July 28th, 2010, 4:20 am
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.

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

Posted: July 28th, 2010, 6:00 am
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.

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

Posted: July 28th, 2010, 7:19 am
by Mrkennedy
Also got this working on on WHS no issues here

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

Posted: July 28th, 2010, 3:24 pm
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?

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

Posted: July 28th, 2010, 3:26 pm
by RuudBurger
Mostly NZBMatrix, partly CP :P
I don't check NZBMatrix yet if the NZB is available before sending it to SAB.

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

Posted: July 28th, 2010, 6:07 pm
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)

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

Posted: July 28th, 2010, 6:10 pm
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.

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

Posted: July 28th, 2010, 8:33 pm
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

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

Posted: July 29th, 2010, 5:05 am
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.

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

Posted: July 29th, 2010, 5:15 am
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.

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

Posted: July 29th, 2010, 10:28 am
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 )

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

Posted: July 29th, 2010, 10:31 am
by RuudBurger
How stupid of me, you are totally right.

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

Posted: July 29th, 2010, 11:55 am
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.

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

Posted: July 29th, 2010, 5:54 pm
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.

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

Posted: July 29th, 2010, 7:49 pm
by RuudBurger
Thanks, fixed in latest GIT