Page 20 of 88

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

Posted: July 27th, 2010, 4:12 pm
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.

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

Posted: July 27th, 2010, 4:19 pm
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)

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

Posted: July 27th, 2010, 4:23 pm
by gaz777
Im quite sure it did, or maybe I was going delusional...

Either way thanks!  ;)

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

Posted: July 27th, 2010, 4:25 pm
by RuudBurger
Or maybe I'm delusional and that doesn't fix the problem at all, so let me know :D

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

Posted: July 27th, 2010, 5:56 pm
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  :'(

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

Posted: July 27th, 2010, 6:00 pm
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!

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

Posted: July 27th, 2010, 6:37 pm
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!

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

Posted: July 27th, 2010, 6:42 pm
by RuudBurger
Let me know if it happens to you again (after you save settings or something).
Then I'll look into it.

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

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

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

Posted: July 27th, 2010, 7:13 pm
by RuudBurger
Well, it is :P
But I think I fixed it. Will be in the next Windows build ;)

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

Posted: July 27th, 2010, 7:35 pm
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)),

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

Posted: July 27th, 2010, 7:40 pm
by RuudBurger
What was the search url?
Thinks there is old cached stuff in the NZBMatrix feed.

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

Posted: July 27th, 2010, 11:15 pm
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

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

Posted: July 28th, 2010, 3:18 am
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!  ;)

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

Posted: July 28th, 2010, 4:13 am
by RuudBurger
@chokomon:
NZBMatrix doesn't remove nzbs from rss.. how useful...

@gaz777
fixed in next release :P