Error 12 Not enough space while running par2 repair

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
badapples
Newbie
Newbie
Posts: 11
Joined: September 8th, 2009, 9:12 am

Error 12 Not enough space while running par2 repair

Post by badapples »

Code: Select all

Stage Par2
    [PAR-INFO] mhq-the.patriot.2000.720p.x264: => Error "[Errno 12] Not enough space" while running par2_repair 

Code: Select all

Stage Unrar
    [RAR-INFO] mhq-the.patriot.2000.720p.x264: => Error "[Errno 12] Not enough space" while running rar_unpack 
I am getting one or both of these errors almost every time I have a movie complete, yet when I look at my disk space I have plenty of room.

Incomplete
737.98GB / 3355.95GB
Complete
737.98GB / 3355.95GB

Even my boot disk has 26GB available, but that should not matter because my downloads go to my large disk array directly and never touch my boot disk (using symlinks).

After the above error occurs, I am able to go into the failed movie folder and par2 repair works fine. Anyone have any idea why I would be getting "not enough space" errors?

Should I assume this is referring to disk space at all? Could it be referring to RAM or even video RAM?
I have 2GB of RAM on this machine running opensolaris 2009.06 with 128MB dedicated for the integrated video card.
Last edited by badapples on September 8th, 2009, 9:36 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error 12 Not enough space while running par2 repair

Post by shypike »

Hard to tell.
It's what the operating system returns to SABnzbd when it tries to start the external tool unrar.
Have you tested unrar and par2 separately?
We have no control over these utilities, we just assume a correct version is installed.
badapples
Newbie
Newbie
Posts: 11
Joined: September 8th, 2009, 9:12 am

Re: Error 12 Not enough space while running par2 repair

Post by badapples »

Yep par2 and unrar working fine separately. But something you said made me wonder what path sab is using for these utilities and perhaps I have more than one version installed. Do you know what the path is for par2 and unrar in sab?

Here are the ones i use:

danny@mediaserver:~$ which par2
/usr/bin/par2
danny@mediaserver:~$ which unrar
/usr/bin/unrar


However, I also have the following which I never call directly when i do my separate calls. I wonder which one sab is calling?

/opt/csw/bin/unrar
/opt/csw/bin/par2 
/opt/csw/bin/par2create 
/opt/csw/bin/par2repair 
/opt/csw/bin/par2verify
Last edited by badapples on September 8th, 2009, 10:28 am, edited 1 time in total.
badapples
Newbie
Newbie
Posts: 11
Joined: September 8th, 2009, 9:12 am

Re: Error 12 Not enough space while running par2 repair

Post by badapples »

I reinstalled unrar for solaris and rebuilt par2cmdline-0.4.tar.gz and moved them to /usr/bin/, then deleted both unrar and par2* from /opt/csw/bin/ so that I am sure which sab is using. We'll see what happens over the next few days.

Also, I am running Python 2.4.4 if that matters. I tried installing and running 2.5.4, but when I try to run SAB using 2.5.4 I get an error saying that I don't have at least version 2.0.rc7 of Cheetah, even though I have Cheetah 2.0.1.


???
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Error 12 Not enough space while running par2 repair

Post by switch »

badapples wrote: I reinstalled unrar for solaris and rebuilt par2cmdline-0.4.tar.gz and moved them to /usr/bin/, then deleted both unrar and par2* from /opt/csw/bin/ so that I am sure which sab is using. We'll see what happens over the next few days.

Also, I am running Python 2.4.4 if that matters. I tried installing and running 2.5.4, but when I try to run SAB using 2.5.4 I get an error saying that I don't have at least version 2.0.rc7 of Cheetah, even though I have Cheetah 2.0.1.


???
Python versions maintain seperate package installs, once installing python 2.5 you would need to install cheetah, and any more extra modules in python 2.5 using python25 setup.py install
badapples
Newbie
Newbie
Posts: 11
Joined: September 8th, 2009, 9:12 am

Re: Error 12 Not enough space while running par2 repair

Post by badapples »

Hmm.. now I'm unable to install cheetah 2.0.1. .. also tried 2.2.1 (latest). Using python2.5 I get the following: Looks like I am missing the CC compiler. Um..  ??? Not sure how I got 2.0.1 installed using python2.4, but.. uh... yeah

danny@mediaserver:~/Cheetah-2.2.1# python2.5 setup.py install
running install
running build
running build_py
running build_ext
building 'Cheetah._namemapper' extension
cc -DNDEBUG -fast -xarch=386 -xspace -Xa -xstrconst -mt -xipo=2 -xO5 -Kpic -I/opt/csw/include/python2.5 -c src/_namemapper.c -o build/temp.solaris-2.11-i86pc-2.5/src/_namemapper.o
unable to execute cc: No such file or directory
error: command 'cc' failed with exit status 1
badapples
Newbie
Newbie
Posts: 11
Joined: September 8th, 2009, 9:12 am

Re: Error 12 Not enough space while running par2 repair

Post by badapples »

OK figured out the problem with CC.. I was running as root and my path for root did not have /usr/gnu/bin which contains cc.. so, got that straightened out..

Now... though, running as root, I get this:

Code: Select all

danny@mediaserver:~/Cheetah-2.2.1# python2.5 setup.py install
running install
running build
running build_py
running build_ext
building 'Cheetah._namemapper' extension
cc -DNDEBUG -fast -xarch=386 -xspace -Xa -xstrconst -mt -xipo=2 -xO5 -Kpic -I/opt/csw/include/python2.5 -c src/_namemapper.c -o build/temp.solaris-2.11-i86pc-2.5/src/_namemapper.o
cc: unrecognized option `-Xa'
cc: unrecognized option `-Kpic'
cc: language O5 not recognized
cc: src/_namemapper.c: linker input file unused because linking not done
cc -G build/temp.solaris-2.11-i86pc-2.5/src/_namemapper.o -lpython2.5 -o build/lib.solaris-2.11-i86pc-2.5/Cheetah/_namemapper.so
cc: build/temp.solaris-2.11-i86pc-2.5/src/_namemapper.o: No such file or directory
error: command 'cc' failed with exit status 1
Last edited by badapples on September 8th, 2009, 1:34 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error 12 Not enough space while running par2 repair

Post by shypike »

Forget the compilation of _namemapper, you don't really need it.
If you just install the pure Python part, you will get a warning about namemapper
and a slightly less performing Web interface.
Post Reply