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
opened 2017-04-27 03:01:34 -07:00 by suntchan · 6 comments
suntchan commented 2017-04-27 03:01:34 -07:00 (Migrated from github.com)

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

How can I set my project's output to a directory ??? Thank you.
9joshua commented 2017-04-27 18:48:00 -07:00 (Migrated from github.com)

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

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](https://cloud.githubusercontent.com/assets/20234985/25511109/f2166f50-2c18-11e7-9c5b-4b76a4dfc794.png)
hperrin commented 2017-04-28 15:25:39 -07:00 (Migrated from github.com)

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
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 2017-04-28 17:21:21 -07:00 (Migrated from github.com)

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?

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 2017-04-29 02:12:55 -07:00 (Migrated from github.com)

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

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](https://cloud.githubusercontent.com/assets/20234985/25554354/47e46426-2d1f-11e7-8aa9-f3904e651d9f.png) Here is where the files stopped compiling... ![image](https://cloud.githubusercontent.com/assets/20234985/25554360/83802092-2d1f-11e7-83ed-cefaad94c093.png) 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](https://cloud.githubusercontent.com/assets/20234985/25554432/9b993f4a-2d21-11e7-85dd-d3d2eb022ba6.png)
hperrin commented 2017-05-01 17:31:56 -07:00 (Migrated from github.com)

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 ...
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 2017-05-01 17:33:19 -07:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sciactive/pulverize#3
No description provided.