Beta 2.2 RC1: Blender 2.49 Export Script testing thread

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Locked
User avatar
enricocerica
Licensed Customer
Posts: 1012
Joined: Wed Nov 25, 2009 7:32 pm
Contact:

GeoPappas wrote:I just downloaded the Blender script for the first time, installed it into the Blender scripts directory, and tried to run it.

Unfortunately, I am getting the following error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Blender 2.49b\.blender\scripts\octane_exporter.py", lin
e 55, in <module>
import os, subprocess
ImportError: No module named os


Anyone know how to solve this?
Have you installed the Python 2.6 ( http://www.python.org/download/ ) or are you using the basic library provided with Blender ?
Modeling system : I7 32GB Windows 10 & Fujitsu Celsius H720
GPU : 1x Gigabyte GTX580 3GB + 1x MSI GTX780 3GB + 1x PALIT GTX780 6GB +1x Asus Stix GTX1070 8GB
http://www.myline.be
GeoPappas
Licensed Customer
Posts: 429
Joined: Fri Mar 26, 2010 5:31 pm

enricocerica wrote:
GeoPappas wrote:I just downloaded the Blender script for the first time, installed it into the Blender scripts directory, and tried to run it.

Unfortunately, I am getting the following error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Blender 2.49b\.blender\scripts\octane_exporter.py", lin
e 55, in <module>
import os, subprocess
ImportError: No module named os


Anyone know how to solve this?
Have you installed the Python 2.6 ( http://www.python.org/download/ ) or are you using the basic library provided with Blender ?
I was using the basic library that was included with Blender 2.49b. I figured out that I needed to install Python to get rid of the error, but now I have run into another problem - I am getting the error about spaces in the project path. I can't really change the name of the path. Is there any workaround for this? I tried to change the Python code to skip this step, but then Octane crashes during the rendering step.
Win 7 Home Premium (64-bit) | Intel Core 2 Q9550 2.83GHz Quad-Core | GeForce GT 240 1GB PCI Express 2.0 x16 (NVIDIA driver v. 266.58 WHQL) | 4 GB DDR2 RAM |
User avatar
enricocerica
Licensed Customer
Posts: 1012
Joined: Wed Nov 25, 2009 7:32 pm
Contact:

GeoPappas wrote:
enricocerica wrote:
GeoPappas wrote:I just downloaded the Blender script for the first time, installed it into the Blender scripts directory, and tried to run it.

Unfortunately, I am getting the following error:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\Blender 2.49b\.blender\scripts\octane_exporter.py", lin
e 55, in <module>
import os, subprocess
ImportError: No module named os


Anyone know how to solve this?
Have you installed the Python 2.6 ( http://www.python.org/download/ ) or are you using the basic library provided with Blender ?
I was using the basic library that was included with Blender 2.49b. I figured out that I needed to install Python to get rid of the error, but now I have run into another problem - I am getting the error about spaces in the project path. I can't really change the name of the path. Is there any workaround for this? I tried to change the Python code to skip this step, but then Octane crashes during the rendering step.
Sorry, no way to workaround, spaces in the project are not allowed.
Modeling system : I7 32GB Windows 10 & Fujitsu Celsius H720
GPU : 1x Gigabyte GTX580 3GB + 1x MSI GTX780 3GB + 1x PALIT GTX780 6GB +1x Asus Stix GTX1070 8GB
http://www.myline.be
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

enrico -> can't you fix this in the exporter ? you should be able to give octane what it needs by enclosing the full pathnames in double-quotes, eg "c:\my dir\my file.ocs" ?

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
GeoPappas
Licensed Customer
Posts: 429
Joined: Fri Mar 26, 2010 5:31 pm

radiance wrote:enrico -> can't you fix this in the exporter ? you should be able to give octane what it needs by enclosing the full pathnames in double-quotes, eg "c:\my dir\my file.ocs" ?
FYI: I tried to enclose the path in quotes within the dialog window that is run by the script, but it didn't work. It still complained about spaces in the path, but I didn't try to do this within the Python code. If I get a chance this weekend, I will try that out and see if that works.

Radiance:

Any chance of fixing this from Octane's side in the near future? That is, allowing Octane to use paths with spaces.
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

GeoPappas wrote:
radiance wrote:enrico -> can't you fix this in the exporter ? you should be able to give octane what it needs by enclosing the full pathnames in double-quotes, eg "c:\my dir\my file.ocs" ?
FYI: I tried to enclose the path in quotes within the dialog window that is run by the script, but it didn't work. It still complained about spaces in the path, but I didn't try to do this within the Python code. If I get a chance this weekend, I will try that out and see if that works.

Radiance:

Any chance of fixing this from Octane's side in the near future? That is, allowing Octane to use paths with spaces.
you can use paths with spaces as long as you use double quotes from the command line.
in most areas spaces in paths work, the only area where there are issues is with textures in the MTL file.
however, i'm not sure, there might be other places.

maybe we should start a thread to collect all these spaces issues,
but i think we should wait a while as we're changing a few things on 2.3 which might fix a fair bit of them already.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
enricocerica
Licensed Customer
Posts: 1012
Joined: Wed Nov 25, 2009 7:32 pm
Contact:

A new script version is available (see top of this thread), it mainly solves the Text material issue.
Modeling system : I7 32GB Windows 10 & Fujitsu Celsius H720
GPU : 1x Gigabyte GTX580 3GB + 1x MSI GTX780 3GB + 1x PALIT GTX780 6GB +1x Asus Stix GTX1070 8GB
http://www.myline.be
User avatar
Elvissuperstar007
Licensed Customer
Posts: 2506
Joined: Thu May 20, 2010 8:20 am
Location: Ukraine/Russia
Contact:

blender 2.53 plug-in will?
win 7 /64x C2Quad 6600 2.4/ Nvidia 9800 GX2 1gb 512 bit + Asus 480 GTX/ DDR2 8Gb / NVIDIA 460 GTX 2GB/2x NVIDIA 580 GTX 3GB
Page octane render " В Контакте " http://vkontakte.ru/club17913093
User avatar
enricocerica
Licensed Customer
Posts: 1012
Joined: Wed Nov 25, 2009 7:32 pm
Contact:

A new script version is available (see top of this thread). IPO curves can now be used for Lens Aperture and Focal Depth. See the post for usage.
Modeling system : I7 32GB Windows 10 & Fujitsu Celsius H720
GPU : 1x Gigabyte GTX580 3GB + 1x MSI GTX780 3GB + 1x PALIT GTX780 6GB +1x Asus Stix GTX1070 8GB
http://www.myline.be
User avatar
kivig
Licensed Customer
Posts: 152
Joined: Fri Apr 09, 2010 10:42 pm
Contact:

Are texture sequences supported?
http://www.visnevskis.com
Vista64/Ubuntu, GTX470/580
Locked

Return to “Blender”