
SABnzbd moves all completed downloads to a category folder within /home/tret/Downloads/SABnzbd/Complete. htpc_sort then takes over and moves them to /mnt/disk2/Movies or /mnt/disk2/TV etc.
Is this similar to your setup?
Rob



xtinct101 wrote:Hey Tret,
I use the "*" in my categories, other then that everything seems the same.



xtinct101 wrote:Hey Tret,
The only reason i have set like that was because the script was not working anymore so I set it manually. Just in case i just tried it again. same exact error.
Wierd...
Update*
I've even tried to change all the Newzbin/Groups to the actuall names instead the wildcard but still no luck.

HTPC Sort v2.60 by tret
Processing: I.Escaped.Real.Prison.Breaks.S01E03.WS.DSR.XviD-OMiCRON [1.02 GB]
-----------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/xbmc/.sabnzbd/scripts/htpc_sort.py", line 356, in <module>
if category.lower() == sbCategory.lower() and sbScript:
AttributeError: 'int' object has no attribute 'lower'

[SABnzbd]
address = 192.168.1.3:8080
login = danny
password = password
apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Movies]
destPath = /tank/media/Movies/Feature\ Films\ -\ HD
destPath2 = /tank/media/Movies
failPath = /tank/media/Movies/New\ Downloads
libraryType = video
HTPC Sort v2.60 by tret
Error: The download path couldn't be properly determined

HTPC Sort v2.60 by tret
debug var 1 /home/danny/.sabnzbd/downloads/complete/Movies
debug var 2 Dirty Harry 5 The Dead Pool 1988 1080p Bluray DTS VC1 Remux SHiTSoNy.nzb
debug var 3 Dirty_Harry_5_The_Dead_Pool_1988_1080p_Bluray_DTS_VC1_Remux_SHiTSoNy
debug var 5 movies
Error: The download path couldn't be properly determined

Phantisy wrote:I am getting this when it runs the script
- Code: Select all
HTPC Sort v2.60 by tret
Processing: I.Escaped.Real.Prison.Breaks.S01E03.WS.DSR.XviD-OMiCRON [1.02 GB]
-----------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/home/xbmc/.sabnzbd/scripts/htpc_sort.py", line 356, in <module>
if category.lower() == sbCategory.lower() and sbScript:
AttributeError: 'int' object has no attribute 'lower'
I'm also getting this error now and am looking into the cause... Thanks for reporting it.

badapples wrote:Also, regarding my error on FreeBSD: I can verify my download path that htpc_sort.py is trying to use. I edited the py file to print the vars that is passed to it for debuggin purposes.
Now I get this output
- Code: Select all
HTPC Sort v2.60 by tret
debug var 1 /home/danny/.sabnzbd/downloads/complete/Movies
debug var 2 Dirty Harry 5 The Dead Pool 1988 1080p Bluray DTS VC1 Remux SHiTSoNy.nzb
debug var 3 Dirty_Harry_5_The_Dead_Pool_1988_1080p_Bluray_DTS_VC1_Remux_SHiTSoNy
debug var 5 movies
Error: The download path couldn't be properly determined
/home/danny/.sabnzbd/downloads/complete/Movies is indeed a valid path.. not sure why htpc_sort can't find it or validate it.


After updating to 0.5.3 Final, it seems the script just keeps giving errors,
"HTPC Sort v2.51 by tret
Error: The 'settings.ini' file does not contain a 'alt.binaries.x264' section" (different group depending where its downlaoding from)
I get this error for anything that it tries to sort. But before the upgrade it was working fine. I'm using nzbmatrix for nzb's just incase that might be the problem. Any ideas?
Update** its not a nzbmatrix issue as i tried it on nzbs.org and it still gives the same error.

tret wrote:version 2.61 (Use the download link at the bottom of the 1st post in the thread)
Fixes:
- Fixed a bug that was causing the following error
Traceback (most recent call last):
File "/home/tret/.sabnzbd/scripts/htpc_sort.py", line 356, in
if category.lower() == sbCategory.lower() and sbScript:
AttributeError: 'int' object has no attribute 'lower'
tret


Traceback (most recent call last):
File "/share/Qdownload/sabnzbd/scripts/media_sort.py", line 125, in <module>
if config.get("misc", "failed_destination"):
File "/opt/lib/python2.6/ConfigParser.py", line 531, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'misc'

Return to Post-Processing Scripts