CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
gaz777
Newbie
Newbie
Posts: 14
Joined: July 26th, 2010, 7:59 am

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

Post by gaz777 »

Hi, im having a few problems updating...
I'm running it though python on windows, current verison says: f278c96

When i click Update now it seems to be doing it but then it stops, and just says update now again.

In the log i get this:

Code: Select all

21:53:43,585 INFO  [app.config.updater] Update available
21:53:48,279 INFO  [app.config.updater] Updating
21:53:49,163 INFO  [app.config.updater] Removing old updates.
21:53:49,164 INFO  [app.config.updater] Downloading RuudBurger-CouchPotato-42aba9f.tar.gz.
21:54:00,055 INFO  [app.config.updater] Extracting.
and in the console window which i currently have showing to try solve this problem appears this:

Code: Select all

  File "C:\Python27\lib\tarfile.py", line 2319, in next
    tarinfo = self.tarinfo.fromtarfile(self)
  File "C:\Python27\lib\tarfile.py", line 1237, in fromtarfile
    buf = tarfile.fileobj.read(BLOCKSIZE)
  File "C:\Python27\lib\gzip.py", line 243, in read
    self._read(readsize)
  File "C:\Python27\lib\gzip.py", line 294, in _read
    uncompress = self.decompress.decompress(buf)
error: Error -3 while decompressing: invalid distance too far back
From my understanding some problem with extracting.

Updating through this way has worked a few times before for me.

Thanks for any help.
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 »

Are you sure it worked before? seems i missed a "binary"-tag on the file write. Windows is stupid and thinks its a text file if that is not set :P
Fixed in latest gitversion. (you have to update manually this time, or do a git pull)
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 »

Im quite sure it did, or maybe I was going delusional...

Either way thanks!  ;)
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 »

Or maybe I'm delusional and that doesn't fix the problem at all, so let me know :D
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Jim
Newbie
Newbie
Posts: 49
Joined: October 31st, 2009, 10:15 am

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

Post by Jim »

Jim wrote: great script!

are you going to add subtitle selection?
that would be excellent.
oh and an option where you can select audio (ac3, dts, wma pro, dts hd, etc) would be nice as well since my old amp doesn't handle 7.1 stuff  :'(
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: Or maybe I'm delusional and that doesn't fix the problem at all, so let me know :D
Must be me, just did another update and it seemed to work perfectly, console and log show no errors. Great!
gaz777
Newbie
Newbie
Posts: 14
Joined: July 26th, 2010, 7:59 am

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

Post by gaz777 »

Got another problem. Not quite sure how it happens...
I think it's where it was just closed instead of being shut down properly.

From Console:

Code: Select all

Traceback (most recent call last):
  File "C:\Python27\Scripts\CouchPotato\CouchPotato.py", line 182, in <module>
    server_start()
  File "C:\Python27\Scripts\CouchPotato\CouchPotato.py", line 68, in server_star
t
    ca = configApp(config)
  File "C:\Python27\Scripts\CouchPotato\app\config\configApp.py", line 15, in __
init__
    self.p.read(file)
  File "C:\Python27\lib\ConfigParser.py", line 297, in read
    self._read(fp, filename)
  File "C:\Python27\lib\ConfigParser.py", line 536, in _read
    raise e
ConfigParser.ParsingError: File contains parsing errors: C:\Python27\Scripts\Cou
chPotato\config.ini
        [line 62]: 'order\n'
        [line 63]: 'templates\n'
There's nothing new in the log file.

At the end of the config file there is:

Code: Select all

[Quality]
hide = brrip,dvdr,dvdrip,scr,r5,tc,ts,cam
default = 720p
order
templates
deleting these 2 lines, or putting an = after each seems to sort the problem.

I hope finding these problems is helpful to you and not just a big nuisance.

Thanks again!
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 »

Let me know if it happens to you again (after you save settings or something).
Then I'll look into it.
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 »

ok, seems like I was able to make it do it again a few times in a row.
It seems that if i open settings then save with no changes it adds them to the config file.
I also tested by changing a setting and it did the same thing again.

probably something to do with windows again I guess...

its not really a problem as i don't change my settings often.
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 »

Well, it is :P
But I think I fixed it. Will be in the next Windows build ;)
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 »

Having problems with nzbmatrix - CouchPotato finds a movie and sends it to SAB, but SAB shows the following error in history:

http://nzbmatrix.com/api-nzb-download.p ... xxxxxxxxxx - URL Fetching failed; (Problem accessing nzbmatrix server (error:no_nzb_found)),
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 »

What was the search url?
Thinks there is old cached stuff in the NZBMatrix feed.
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 »

This was the search URL that led to the NZB error:

19:48:53,889 INFO  [app.lib.provider.yarr.sources.nzbmatrix] Searching: http://rss.nzbmatrix.com/rss.php?userna ... &subcat=42
gaz777
Newbie
Newbie
Posts: 14
Joined: July 26th, 2010, 7:59 am

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

Post by gaz777 »

Seems like the config bug is fixed.

While doing a few tests I noticed if you delete a movie listed under downloaded, it will delete it from the list but it takes you to a blank page.

You doing great work, and I really think this is the best bit of software I've used for a while.
I'll have to send you a donation some time soon!  ;)
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 »

@chokomon:
NZBMatrix doesn't remove nzbs from rss.. how useful...

@gaz777
fixed in next release :P
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Post Reply