sciactive / pulverize

A multi-process rendering script for Blender VSE.
GNU General Public License v2.0
60 stars 13 forks source link

Error : "This script only works if your project's output is set to a directory. Please set it to a directory and try again." #3

Open suntchan opened 7 years ago

suntchan commented 7 years ago

How can I set my project's output to a directory ??? Thank you.

9joshua commented 7 years ago

I have the same issue. I have an output directory set in Render -> Output, but still receive this error...

$ pulverize VSE.blend 4 '{\"keepTempFiles\":true,\"displayStdErr\":true}' PHP Notice: Undefined offset: 0 in /home/pc/pulverize/pulverize-master/pulverize.php on line 63 PHP Notice: Undefined offset: 1 in /home/pc/pulverize/pulverize-master/pulverize.php on line 63 PHP Notice: Undefined offset: 1 in /home/pc/pulverize/pulverize-master/pulverize.php on line 65 This script only works if your project's output is set to a directory. Please set it to a directory and try again.

image

hperrin commented 7 years ago

Those PHP notices mean that the blender info script isn't running correctly. Can you run this in a terminal for me and paste the output here:

blender -b path/to/blenderproject.blend -P path/to/pulverize/pulverize_tool.py
9joshua commented 7 years ago

Output of blender -b path/to/blenderproject.blend -P path/to/pulverize/pulverize_tool.py :

The program 'blender' is currently not installed. You can install it by typing:
sudo apt install blender

I run Blender from a portable file of sorts on Ubuntu. If I install blender from the Ubuntu repository it is an old version. Is there any way around this?

9joshua commented 7 years ago

I installed Blender via my package manager and Pulverize worked fine. So, that problem solved for me. I'll just keep the older version of Blender on my system solely to keep Pulverize happy. Only problem now is that one process is getting hung up. When I ran the script the time remaining was about 6 minutes, then at 74% complete the progress stopped and the ETA kept increasing... image Here is where the files stopped compiling... image I tried with 3 processors (i have 4) but got the same result. The files that are hanging up contain the hardest bit of processing for Blender as it contains a Gausian Blur over an HD png image sequence. It is a little slow (15 minutes) but works OK using Blender however.

PS: After I canceled the pulverize process my 4 processors were still pegged at 100%... image

hperrin commented 7 years ago

There is a way around it. You can either put your copy of Blender on your path, or modify your path when you run Pulverize.

Put Blender on your path (permanent):

ln -s path/to/your/blenderdir/blender /usr/bin/blender

Modify your path when you run Pulverize (not permanent, but you have to run pulverize like this always):

PATH=$PATH:path/to/your/blenderdir/ pulverize ...
hperrin commented 7 years ago

My guess is that the older version of Blender from the repository doesn't support what you're doing, so the render is hanging. Try it with the above solution and let me know if it works.