Page 38 of 88

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

Posted: September 21st, 2010, 3:15 pm
by RuudBurger
@Meilu
yeah, will make some kind of check in there. Thanks

@fanclerks
Log and your settings would be nice, yes. You could PM them, to keep the thread clean :D

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

Posted: September 21st, 2010, 10:58 pm
by chokomon
I'm currently getting the message below when I try to go to the CP page.  Been working fine until now.

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 "/home/****/CouchPotato/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/home/****/CouchPotato/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/home/****/CouchPotato/app/config/render.py", line 14, in __call__
    return self.template.render_unicode(**env)
  File "/home/****/CouchPotato/library/mako/template.py", line 198, in render_unicode
    as_unicode=True)
  File "/home/****/CouchPotato/library/mako/runtime.py", line 403, in _render
    _render_context(template, callable_, context, *args, **_kwargs_for_callable(callable_, data))
  File "/home/****/CouchPotato/library/mako/runtime.py", line 434, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/home/****/CouchPotato/library/mako/runtime.py", line 457, in _exec_template
    callable_(context, *args, **kwargs)
  File "_base_html", line 61, in render_body
  File "/home/****/CouchPotato/app/config/updater.py", line 88, in checkForUpdate
    self.updateAvailable = update.get('name').replace('.tar.gz', '') not in history
AttributeError: 'bool' object has no attribute 'get'
EDIT:

Weird.  I reset the system and now CP seems to be back up and working fine.

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

Posted: September 22nd, 2010, 6:26 am
by MrAcid
Ruud, could you consider adding a button in the "downloaded" section to indicate that the downloaded release was not what you were looking for.

CP just downloaded a movie that turned out to be crappy quality, but the naming suggested it was a good rip.

A button to re-add it to my wanted list, but not the same release again would fix this for the future. Right now if I re-add it, the same release will be downloaded again. :)

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

Posted: September 22nd, 2010, 6:28 am
by RuudBurger
Yeah, I was thinking of that today, because I had trouble with "The Expendables 720p".
A "try another nzb"-button next to the "re-add"-button.

Will see how I could implement this.

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

Posted: September 22nd, 2010, 7:00 am
by MrAcid
Haha, I also had the problem with The Expendables 720p. ;)

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

Posted: September 23rd, 2010, 3:27 am
by TheCaptain
Having trouble with a movie...

I want "Dark House (2009)" which is not available yet, but it keeps downloading "The Dark House (2009)".

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

Posted: September 23rd, 2010, 3:45 am
by RuudBurger
Can't do much about same name, same year movies, as NZBs.org doesn't support IMDBid searching.
This will be less of a "bug" when I implement the "try another nzb"-button, mentioned above.

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

Posted: September 23rd, 2010, 7:08 am
by RuudBurger
Small update:
Fixed a bug, where a movie with unknown year was found.
Optimized search speed. Before a search for a movie with 2 qualities, took about 35s. Now it takes around 13s ;) So if you have 80+ movies like me, it won't take about hour to search, but around 20minutes.
A single search using the reload-button next to the movie name, will take about 6, depending on the number of qualities it has to search.

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

Posted: September 24th, 2010, 2:08 am
by sacretagent
[me=sacretagent]whistles [/me]


293 wanted  211 snatched  124 downloaded  Show details
Wanted


takes me more time to search LOL

anyway upgrading when r22 comes out ;)

are you willing to add 2 tabs to the main page ? one for downloaded and one for snatched
so that not everything is on one page ?
i guess it will save on queries to display the main page too  and the main page wouldn't be so long  to scroll all the way down

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

Posted: September 24th, 2010, 5:52 pm
by davidtm
Orbi wrote:
Bigmonty wrote: Has anyone got this running on an unraid server yet?  I have Sabnzdb and Sickbeard running fine but I cannot for the life of me get this to run?

All I have done is add "python /mydirectory/CouchPotato.py to my "Go" file but it throws back some error install loggers taking onyl 2 arguements not three or something similar.

Any help appreciated.
Install the latest dependencies package 2.0 from the unraid forum. The Lockstockmod uses 1.3.
If it still doesn't work, maybe CP is launched while the dependencies have not been completely loaded. Try to insert "sleep 10" (without "") in your go file between the dependencies line and nohup python /mydirectory/CouchPotato.py -d &. The sleep command will tell the OS to wait 10 seconds before processing the rest of the script.
I'm having exactly the problem of the first quote and don't quite understand the second quote  :-[
Can anyone help?

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

Posted: September 25th, 2010, 4:44 am
by csop19
You need to use python26 or later. You can install several python versions at once.

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

Posted: September 25th, 2010, 10:07 am
by davidtm
Hmm, I have Python 2.7 but still getting the error message attached.
Any suggestions?

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

Posted: September 25th, 2010, 10:09 am
by RuudBurger
Maybe python 2.7 isn't the default python? try running it from terminal.
"python2.7 CouchPotato.py"

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

Posted: September 25th, 2010, 2:28 pm
by davidtm
i get "CouchPotato" is not defined when i try that.

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

Posted: September 25th, 2010, 3:58 pm
by RuudBurger
You have to run that command from your CP directory of course.