Page 1 of 1

Par2 files not getting deleted

Posted: September 26th, 2011, 8:09 pm
by Samkook
Version: 0.6.9
OS: Mepis 11.0
Install-type: python source (using python 2.6.6)
Skin: Default(Plush - gold)
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes, happens 100% of the time

This has been happening for a while, but I haven't updated in a long time so I couldn't know if it got resolved. I think it started happening when I switched from windows to linux, but I'm not sure since it's been a while.

The default general option is to not delete anything since I sometime want to keep all files, but I enabled the +Delete option for some categories but none of the par2 files get deleted from those. I know the categories work since the files get moved to the right folder and renamed properly if that applies.

Is this a know bug or did something get screwed up when I updated one time since I've been using the same config file since I switched to linux(during v0.4.x or 0.5.x, not sure exactly which one).

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 7:02 am
by shypike
Check the setting Config->Switches->"Enable Par cleanup".
It can happen that an NZB contains some unrelated par2 files, there are not removed.
You can also setup a clean up filter in Config->General, this is extension-based.

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 9:31 am
by Samkook
I can't do a general one since I want to keep them sometimes, that's why I need to use a category. Also, they are not unrelated par file, it's the one that goes with the set that don't get deleted, ever.

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 11:24 am
by shypike
An NZB and a full debug log of an actual case would be needed to diagnose this.

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 1:15 pm
by Samkook
I took a small random nzb from alt.binaries.test, saved it to my inport folder, did a global pause, manually changed the category to one that should delete the par files and resumed the download.

It got moved to the category folder but the pars files didn't get deleted as usual.

You can get the nzb here if you want, but they all do the same thing on my system: binsearch link to nzb file (select all 3 files and create the nzb)

Here's the section of the log for that file:

Code: Select all

2011-09-27 13:59:45,682::INFO::[dirscanner:311] Trying to import /500GB/Download2/nzb/test.nzb
2011-09-27 13:59:46,684::INFO::[misc:718] Creating directories: /home/aki-san/Downloads/incomplete/test
2011-09-27 13:59:46,709::DEBUG::[__init__:769] Saving data for SABnzbd_nzf_tTZlof in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:46,710::INFO::[nzbstuff:416] File AutoRarPar.vol0+1.par2 added to queue
2011-09-27 13:59:46,711::DEBUG::[__init__:769] Saving data for SABnzbd_nzf_UKr10z in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:46,712::INFO::[nzbstuff:416] File AutoRarPar.rar added to queue
2011-09-27 13:59:46,713::DEBUG::[__init__:769] Saving data for SABnzbd_nzf_66cgGF in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:46,713::INFO::[nzbstuff:416] File AutoRarPar.par2 added to queue
2011-09-27 13:59:46,714::INFO::[__init__:516] Backing up /home/aki-san/.sabnzbd/nzbs/test.nzb.gz
2011-09-27 13:59:46,725::INFO::[__init__:516] Backing up /home/aki-san/Downloads/incomplete/test/__ADMIN__/test.nzb.gz
2011-09-27 13:59:46,730::INFO::[nzbqueue:167] Saving queue
2011-09-27 13:59:46,730::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_1dXoqu in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:46,732::INFO::[__init__:838] Saving data for queue9.sab in /home/aki-san/.sabnzbd/admin/queue9.sab
2011-09-27 13:59:47,734::DEBUG::[nzbstuff:201] Finishing import on AutoRarPar.vol0+1.par2
2011-09-27 13:59:47,735::DEBUG::[__init__:800] Loading data for SABnzbd_nzf_tTZlof from /home/aki-san/Downloads/incomplete/test/__ADMIN__/SABnzbd_nzf_tTZlof
2011-09-27 13:59:47,750::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-09-27 13:59:47,751::DEBUG::[nzbstuff:201] Finishing import on AutoRarPar.rar
2011-09-27 13:59:47,752::DEBUG::[__init__:800] Loading data for SABnzbd_nzf_UKr10z from /home/aki-san/Downloads/incomplete/test/__ADMIN__/SABnzbd_nzf_UKr10z
2011-09-27 13:59:47,752::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-09-27 13:59:47,753::DEBUG::[nzbstuff:201] Finishing import on AutoRarPar.par2
2011-09-27 13:59:47,754::DEBUG::[__init__:800] Loading data for SABnzbd_nzf_66cgGF from /home/aki-san/Downloads/incomplete/test/__ADMIN__/SABnzbd_nzf_66cgGF
2011-09-27 13:59:47,755::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-09-27 13:59:48,757::INFO::[downloader:539] Connecting [email protected]:119 finished
2011-09-27 13:59:48,758::INFO::[downloader:539] Connecting [email protected]:119 finished
2011-09-27 13:59:48,758::INFO::[downloader:539] Connecting [email protected]:119 finished
2011-09-27 13:59:48,944::DEBUG::[decoder:92] Decoding <Article: [email protected], bytes=1222, partnum=1, art_id=None>
2011-09-27 13:59:48,946::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_1dXoqu in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:48,947::INFO::[__init__:838] Saving data for totals9.sab in /home/aki-san/.sabnzbd/admin/totals9.sab
2011-09-27 13:59:48,949::INFO::[assembler:85] Decoding /home/aki-san/Downloads/incomplete/test/AutoRarPar.par2 yenc
2011-09-27 13:59:53,599::DEBUG::[decoder:92] Decoding <Article: [email protected], bytes=395696, partnum=1, art_id=None>
2011-09-27 13:59:53,756::INFO::[downloader:194] Resuming
2011-09-27 13:59:53,757::DEBUG::[__init__:479] PAUSED_ALL inactive
2011-09-27 13:59:53,757::INFO::[downloader:203] Pausing
2011-09-27 13:59:53,758::INFO::[nzbqueue:167] Saving queue
2011-09-27 13:59:53,758::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_1dXoqu in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 13:59:53,760::INFO::[__init__:838] Saving data for queue9.sab in /home/aki-san/.sabnzbd/admin/queue9.sab
2011-09-27 13:59:53,761::INFO::[__init__:838] Saving data for totals9.sab in /home/aki-san/.sabnzbd/admin/totals9.sab
2011-09-27 13:59:53,762::INFO::[__init__:838] Saving data for rss_data.sab in /home/aki-san/.sabnzbd/admin/rss_data.sab
2011-09-27 13:59:53,865::INFO::[__init__:838] Saving data for bookmarks.sab in /home/aki-san/.sabnzbd/admin/bookmarks.sab
2011-09-27 13:59:53,867::INFO::[__init__:838] Saving data for watched_data.sab in /home/aki-san/.sabnzbd/admin/watched_data.sab
2011-09-27 13:59:53,868::INFO::[postproc:83] Saving postproc queue
2011-09-27 13:59:53,869::INFO::[__init__:838] Saving data for postproc1.sab in /home/aki-san/.sabnzbd/admin/postproc1.sab
2011-09-27 13:59:54,600::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 13:59:54,702::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 13:59:54,803::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 13:59:59,286::INFO::[downloader:194] Resuming
2011-09-27 13:59:59,287::DEBUG::[__init__:479] PAUSED_ALL inactive
2011-09-27 13:59:59,287::INFO::[downloader:194] Resuming
2011-09-27 13:59:59,288::DEBUG::[__init__:479] PAUSED_ALL inactive
2011-09-27 14:00:01,290::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-09-27 14:00:01,293::INFO::[downloader:351] [email protected]:119: Initiating connection
2011-09-27 14:00:02,302::INFO::[downloader:539] Connecting [email protected]:119 finished
2011-09-27 14:00:02,303::INFO::[downloader:539] Connecting [email protected]:119 finished
2011-09-27 14:00:02,490::DEBUG::[decoder:92] Decoding <Article: [email protected], bytes=1323, partnum=2, art_id=None>
2011-09-27 14:00:02,492::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_1dXoqu in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 14:00:02,493::INFO::[__init__:838] Saving data for totals9.sab in /home/aki-san/.sabnzbd/admin/totals9.sab
2011-09-27 14:00:02,494::INFO::[assembler:85] Decoding /home/aki-san/Downloads/incomplete/test/AutoRarPar.vol0+1.par2 yenc
2011-09-27 14:00:02,547::DEBUG::[assembler:106] Got md5pack for set AutoRarPar
2011-09-27 14:00:06,600::DEBUG::[decoder:92] Decoding <Article: [email protected], bytes=362924, partnum=1, art_id=None>
2011-09-27 14:00:06,609::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_1dXoqu in /home/aki-san/Downloads/incomplete/test/__ADMIN__
2011-09-27 14:00:06,671::INFO::[__init__:838] Saving data for totals9.sab in /home/aki-san/.sabnzbd/admin/totals9.sab
2011-09-27 14:00:06,673::INFO::[assembler:85] Decoding /home/aki-san/Downloads/incomplete/test/AutoRarPar.rar yenc
2011-09-27 14:00:06,749::INFO::[__init__:827] /home/aki-san/Downloads/incomplete/test/__ADMIN__/SABnzbd_nzo_1dXoqu removed
2011-09-27 14:00:06,749::INFO::[nzbqueue:167] Saving queue
2011-09-27 14:00:06,750::INFO::[__init__:838] Saving data for queue9.sab in /home/aki-san/.sabnzbd/admin/queue9.sab
2011-09-27 14:00:06,750::INFO::[postproc:83] Saving postproc queue
2011-09-27 14:00:06,751::INFO::[__init__:838] Saving data for postproc1.sab in /home/aki-san/.sabnzbd/admin/postproc1.sab
2011-09-27 14:00:06,799::INFO::[postproc:255] Starting PostProcessing on test => Repair:True, Unpack:True, Delete:True, Script:, Cat:tv
2011-09-27 14:00:06,800::INFO::[postproc:498] Par2 check starting on test
2011-09-27 14:00:06,800::INFO::[postproc:513] Running repair on set AutoRarPar
2011-09-27 14:00:06,800::DEBUG::[newsunpack:1256] Quick-check of file AutoRarPar.rar OK
2011-09-27 14:00:06,801::INFO::[newsunpack:756] Quick-check for AutoRarPar is OK, skipping repair
2011-09-27 14:00:06,801::INFO::[postproc:527] Par2 check finished on test
2011-09-27 14:00:06,805::INFO::[misc:718] Creating directories: /500GB/SeriesHD/test
2011-09-27 14:00:06,806::INFO::[postproc:314] Running unpack_magic on test
2011-09-27 14:00:06,807::DEBUG::[newsunpack:1228] build_filelists(): joinables: []
2011-09-27 14:00:06,807::DEBUG::[newsunpack:1229] build_filelists(): zips: []
2011-09-27 14:00:06,808::DEBUG::[newsunpack:1230] build_filelists(): rars: ['/home/aki-san/Downloads/incomplete/test/AutoRarPar.rar']
2011-09-27 14:00:06,808::DEBUG::[newsunpack:1231] build_filelists(): ts: []
2011-09-27 14:00:06,808::INFO::[newsunpack:196] Unrar starting on /home/aki-san/Downloads/incomplete/test
2011-09-27 14:00:06,809::DEBUG::[newsunpack:389] Rar_sets: {'AutoRarPar': ['/home/aki-san/Downloads/incomplete/test/AutoRarPar.rar']}
2011-09-27 14:00:06,809::INFO::[newsunpack:403] Extracting rarfile /home/aki-san/Downloads/incomplete/test/AutoRarPar.rar (belonging to AutoRarPar) to /500GB/SeriesHD/_UNPACK_test
2011-09-27 14:00:06,810::DEBUG::[newsunpack:491] rar_extract(): Extractionpath: /500GB/SeriesHD/_UNPACK_test
2011-09-27 14:00:06,811::DEBUG::[newsunpack:530] Running unrar ['/usr/bin/unrar', 'x', '-idp', '-o-', '-or', '-p-', '/home/aki-san/Downloads/incomplete/test/AutoRarPar.rar', '/500GB/SeriesHD/_UNPACK_test/']
2011-09-27 14:00:06,891::INFO::[newsunpack:644] Skipping unrar file check due to unreliable file names or old unrar
2011-09-27 14:00:06,891::INFO::[newsunpack:649] Unpacked 6 files/folders in 0 seconds
2011-09-27 14:00:06,892::DEBUG::[newsunpack:420] rar_unpack(): Rars: ['/home/aki-san/Downloads/incomplete/test/AutoRarPar.rar']
2011-09-27 14:00:06,893::DEBUG::[newsunpack:421] rar_unpack(): Newfiles: ['/500GB/SeriesHD/_UNPACK_test/AutoRarPar', '/500GB/SeriesHD/_UNPACK_test/AutoRarPar/AutoRarPar.exe', '/500GB/SeriesHD/_UNPACK_test/AutoRarPar/AutoRarPar.exe.manifest', '/500GB/SeriesHD/_UNPACK_test/AutoRarPar/Help.chm', '/500GB/SeriesHD/_UNPACK_test/AutoRarPar/phpar2.exe', '/500GB/SeriesHD/_UNPACK_test/AutoRarPar/Settings.ini']
2011-09-27 14:00:06,893::INFO::[newsunpack:427] Deleting /home/aki-san/Downloads/incomplete/test/AutoRarPar.rar
2011-09-27 14:00:06,894::INFO::[newsunpack:200] Unrar finished on /home/aki-san/Downloads/incomplete/test
2011-09-27 14:00:06,895::DEBUG::[newsunpack:1228] build_filelists(): joinables: []
2011-09-27 14:00:06,896::DEBUG::[newsunpack:1229] build_filelists(): zips: []
2011-09-27 14:00:06,896::DEBUG::[newsunpack:1230] build_filelists(): rars: []
2011-09-27 14:00:06,896::DEBUG::[newsunpack:1231] build_filelists(): ts: []
2011-09-27 14:00:06,897::INFO::[postproc:316] unpack_magic finished on test
2011-09-27 14:00:06,897::DEBUG::[misc:732] Moving. Old path:/home/aki-san/Downloads/incomplete/test/AutoRarPar.par2 new path:/500GB/SeriesHD/_UNPACK_test/AutoRarPar.par2 unique?:False
2011-09-27 14:00:06,898::DEBUG::[misc:732] Moving. Old path:/home/aki-san/Downloads/incomplete/test/AutoRarPar.vol0+1.par2 new path:/500GB/SeriesHD/_UNPACK_test/AutoRarPar.vol0+1.par2 unique?:False
2011-09-27 14:00:06,933::INFO::[postproc:472] Cleaning up test (keep_basic=False)
2011-09-27 14:00:06,935::INFO::[postproc:83] Saving postproc queue
2011-09-27 14:00:06,935::INFO::[__init__:838] Saving data for postproc1.sab in /home/aki-san/.sabnzbd/admin/postproc1.sab
2011-09-27 14:00:06,936::INFO::[downloader:229] Post-processing finished, resuming download
2011-09-27 14:00:07,600::DEBUG::[bpsmeter:179] bps: 68547.5114961
2011-09-27 14:00:07,601::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 14:00:07,602::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 14:00:07,703::INFO::[downloader:610] Thread [email protected]:119: forcing disconnect
2011-09-27 14:00:09,937::INFO::[nzbqueue:167] Saving queue
2011-09-27 14:00:09,937::INFO::[__init__:838] Saving data for queue9.sab in /home/aki-san/.sabnzbd/admin/queue9.sab
2011-09-27 14:00:09,938::INFO::[__init__:838] Saving data for totals9.sab in /home/aki-san/.sabnzbd/admin/totals9.sab
2011-09-27 14:00:09,939::INFO::[__init__:838] Saving data for rss_data.sab in /home/aki-san/.sabnzbd/admin/rss_data.sab
2011-09-27 14:00:09,998::INFO::[__init__:838] Saving data for bookmarks.sab in /home/aki-san/.sabnzbd/admin/bookmarks.sab
2011-09-27 14:00:09,998::INFO::[__init__:838] Saving data for watched_data.sab in /home/aki-san/.sabnzbd/admin/watched_data.sab
2011-09-27 14:00:09,999::INFO::[postproc:83] Saving postproc queue
2011-09-27 14:00:09,999::INFO::[__init__:838] Saving data for postproc1.sab in /home/aki-san/.sabnzbd/admin/postproc1.sab
2011-09-27 14:00:10,000::INFO::[postproc:603] Queue has finished, launching: None (None)

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 1:44 pm
by shypike
What I see is that the par2 file without volxxx+yyy isn't deleted.
That's normal, because SABnzbd ignores the initial par2 file.
It's been like like that since day 1, but we should really do something about it.
Most just have par2 in general cleanup.

Re: Par2 files not getting deleted

Posted: September 27th, 2011, 1:53 pm
by Samkook
The AutoRarPar.vol0+1.par2 also doesn't get deleted(as well as any extra par2 file that gets downloaded in any download) and they used to be long ago(not sure about the initial par2 though).