It is currently Wed Nov 25, 2020 4:47 am
All times are UTC + 8 hours

SAB not sorting after download.

SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction.

Moderators: JohnnyFive, clinton.hall

SAB not sorting after download.

Postby bostoneric » Mon Jun 09, 2014 12:48 pm

Started getting the following once the download was complete and SAB unpacked the file.


[19:37:00] [INFO]::MAIN: Loading config from [/volume1/Download/nzbToMedia/autoProcessMedia.cfg]
[19:37:00] [INFO]::MAIN: Checking database structure...
[19:37:00] [INFO]::MAIN: Checking if git needs an update
[19:37:00] [INFO]::MAIN: No update needed
[19:37:00] [INFO]::MAIN: nzbToMedia Version:9eeff323ac6b956700812d75f0745be21e51d366 Branch:master (Linux 3.7.9)
[19:37:00] [WARNING]::MAIN: Failed to locate ffmpeg, transcoding disabled!
[19:37:00] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ...
[19:37:00] [WARNING]::MAIN: Failed to locate ffprobe, video corruption detection disabled!
[19:37:01] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ...
[19:37:01] [INFO]::MAIN: #########################################################
[19:37:01] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[19:37:01] [INFO]::MAIN: #########################################################
[19:37:01] [INFO]::MAIN: Script triggered from SABnzbd
[19:37:01] [ERROR]::MAIN: Unable to locate a section with subsection:tv enabled in your autoProcessMedia.cfg, exiting!
[19:37:01] [ERROR]::MAIN: A problem was reported in the /volume1/Download/nzbToMedia/nzbToSickBeard.py script
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: SAB not sorting after download.

Postby clinton.hall » Mon Jun 09, 2014 7:40 pm

if you don't want to use nzbToMedia, then remove this from your postprocess/category options. if you do want to use it, configure your autoProcessMedia.cfg...

edit /volume1/Download/nzbToMedia/autoProcessMedia.cfg

use this guide
https://github.com/clinton-hall/nzbToMedia/wiki/autoProcessMedia.cfg
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 839
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: SAB not sorting after download.

Postby bostoneric » Mon Jun 09, 2014 11:50 pm

any reason why this would suddenly change? I've been using it all along successfully with no issues till recently.
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: SAB not sorting after download.

Postby clinton.hall » Tue Jun 10, 2014 6:29 am

Ok, so you have been using nzbToMedia?

There were some recent changes to these scripts which should have updated successfully, but sometimes the update goes funny.

I would
Code: Select all
cd /volume1/Downloads/nzbToMedia
OL/start-stop.sh stop
find . -type f -name "*.pyc" -exec rm -f {} \;
git reset --hard
git pull


Then try running again to see if it works.
If not review the autoProcessMedia.cfg as there are new options etc.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 839
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: SAB not sorting after download.

Postby bostoneric » Tue Jun 10, 2014 10:58 am

ok here's the output. still getting the same as above.

guess I need to check whats in the nzbToSickBeard.py

Code: Select all
admin@Boston1:~ $ cd /volume1/Download/nzbToMedia
admin@Boston1:/volume1/Download/nzbToMedia $ OL/start-stop.sh stop
-sh: OL/start-stop.sh: not found
admin@Boston1:/volume1/Download/nzbToMedia $ find . -type f -name "*.pyc" -exec
rm -f {} \;
admin@Boston1:/volume1/Download/nzbToMedia $ git reset --hard
HEAD is now at 9eeff32 leave comic book archives alone. #351 #421
admin@Boston1:/volume1/Download/nzbToMedia $ git pull
Already up-to-date.
admin@Boston1:/volume1/Download/nzbToMedia $
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: SAB not sorting after download.

Postby bostoneric » Tue Jun 10, 2014 11:10 am

ok checked out the autoProcessMedia.cfg and noticed the username/pass field was empty.

Code: Select all
SickBeard]
    #### autoProcessing for TV Series
    #### tv - category that gets called for post-processing with SB
    [[tv]]
        enabled = 0
        host = localhost
        port = 8081
        username = “”   
        password = “”
Last edited by bostoneric on Tue Jun 10, 2014 12:04 pm, edited 1 time in total.
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: SAB not sorting after download.

Postby bostoneric » Tue Jun 10, 2014 12:00 pm

ok here is the latest after adding the username/pass

Code: Select all
          Traceback (most recent call last):
  File "/volume1/Download/nzbToMedia/nzbToSickBeard.py", line 155, in <module>
    result = nzbToMedia.main(sys.argv, section)
  File "/volume1/Download/nzbToMedia/nzbToMedia.py", line 445, in main
    nzbtomedia.initialize(section)
  File "/volume1/Download/nzbToMedia/nzbtomedia/__init__.py", line 203, in initialize
    if not config.migrate():
  File "/volume1/Download/nzbToMedia/nzbtomedia/nzbToMediaConfig.py", line 223, in migrate
    CFG_OLD.write()
  File "/volume1/Download/nzbToMedia/libs/configobj/configobj.py", line 2123, in write
    'ascii'))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 2036: ordinal not in range(128)
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Re: SAB not sorting after download.

Postby clinton.hall » Tue Jun 10, 2014 7:00 pm

can you show the output of
Code: Select all
cd /volume1/Download/nzbToMedia
ls -l
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 839
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: SAB not sorting after download.

Postby clinton.hall » Tue Jun 10, 2014 7:03 pm

ahh...

do any of the usernames or passwords in the autoProcessMedia.cfg file have non-ascii characters? maybe accents over the vowels etc?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 839
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: SAB not sorting after download.

Postby bostoneric » Thu Jun 12, 2014 10:38 am

clinton.hall wrote:can you show the output of
Code: Select all
cd /volume1/Download/nzbToMedia
ls -l



Code: Select all
/volume1/Download/nzbToMedia $ ls -l
total 676
-rwxr-xr-x    1 admin    administ      4623 Jun  9 19:54 DeleteSamples.py*
-rw-r--r--    1 admin    administ      4274 Jun  9 19:54 README.md
-rwxr-xr-x    1 admin    administ      3179 Jun  9 19:54 ResetDateTime.py*
-rwxr-xr-x    1 admin    administ     18539 Jun  9 19:54 TorrentToMedia.py*
drwxr-xr-x    2 admin    administ      4096 Jun  9 19:20 autoProcess/
-rwxrw-rw-    1 admin    administ     12098 Jun  9 20:09 autoProcessMedia.cfg*
-rw-r--r--    1 admin    administ         0 Jun 10 20:39 autoProcessMedia.cfg.old
-rw-r--r--    1 admin    administ     11830 Jun  9 19:54 autoProcessMedia.cfg.spec
-rw-r--r--    1 admin    administ     16004 Jun  9 19:54 changelog.txt
-rwxr-xr-x    1 admin    administ       504 Jun  9 19:54 getffmpeg.sh*
drwxr-xr-x    9 admin    administ      4096 Jun  9 20:28 libs/
-rw-r--r--    1 admin    administ     35127 Jun  9 19:54 license.txt
drwxr-xr-x    2 admin    administ      4096 Jun  9 19:20 linktastic/
drwx------    2 admin    administ      4096 Jun  3 21:56 logs/
-rwxr-xr-x    1 admin    administ      3729 Jun  9 19:54 nzbToCouchPotato.py*
-rwxr-xr-x    1 admin    administ      2025 Jun  9 19:54 nzbToGamez.py*
-rwxr-xr-x    1 admin    administ      2437 Jun  9 19:54 nzbToHeadPhones.py*
-rwxr-xr-x    1 admin    administ     19250 Jun  9 19:54 nzbToMedia.py*
-rw-------    1 admin    administ      7756 Jun  9 20:28 nzbToMedia.pyc
-rwxr-xr-x    1 admin    administ      2393 Jun  9 19:54 nzbToMylar.py*
-rwxr-xr-x    1 admin    administ      3358 Jun  9 19:54 nzbToNzbDrone.py*
-rwxr-xr-x    1 admin    administ      3848 Jun  9 19:54 nzbToSickBeard.py*
drwxr-xr-x   10 admin    administ      4096 Jun  9 20:28 nzbtomedia/
-rw-------    1 admin    administ      4096 Jun  9 19:52 nzbtomedia.db
-rw-------    1 admin    administ    481597 Jun  2 20:42 postprocess.log
drwxr-xr-x    2 admin    administ      4096 Jun  9 19:54 tests/
bostoneric
 
Posts: 44
Joined: Thu Aug 29, 2013 2:36 am

Next

Return to SABnzbdplus

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest