LuxBlend25: Download, installation instructions, issues

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

Re: LuxBlend25 Installation Instructions and issues

Postby AlexDS » Fri Sep 10, 2010 6:28 pm

dougal2 wrote:
AlexDS wrote:
dougal2 wrote:If you're not using pylux and integrated rendering mode and you've not asked the exporter to launch the external renderer then you won't get an image back in the render view. Check the render engine settings and report back if you're still having issues.


so, ok i tried with external renderer and check for exporter to launch the rederer, and i tried with
luxrender_0.7_qt_x64 , luxrender_CVS_20101008_64, luxrender_CVS_20100909_CPUONLY_64, and nothing happens.
also i tried with the internal renderer and that didn't work either.

Anything to report from the console? Just saying it doesn't work really doesn't give us much to go on.


internal mode:
intrernal.png



external mode:
external.png
AlexDS
 
Posts: 83
Joined: Mon Sep 06, 2010 4:13 pm

Re: LuxBlend25 Installation Instructions and issues

Postby dougal2 » Fri Sep 10, 2010 6:38 pm

There are 2 issues I can see in your screenshots. (BTW, both screenshots show the same errors).

1.
You seem to have ef import errors, and yet the exporter still seems to load and function. I really don't understand that :?
Do you perchance have any version of python installed on your system, or do you just have what comes with Blender ?

2.
There is a condition that occurs unpredictably at the minute where the scene data is invalid at export time. I have found that sometimes just making sure I wave the cursor over the UI panels (don't even need to click anything) before exporting ensures that it becomes valid. Again, I don't know why this happens, and you're not the only one who has reported it. For now I put it down to the Beta status of blender, but I need to take this issue up with one or more of the blender developers to make sure.
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

Re: LuxBlend25 Installation Instructions and issues

Postby AlexDS » Sat Sep 11, 2010 2:29 am

dougal2 wrote:There are 2 issues I can see in your screenshots. (BTW, both screenshots show the same errors).

1.
You seem to have ef import errors, and yet the exporter still seems to load and function. I really don't understand that :?
Do you perchance have any version of python installed on your system, or do you just have what comes with Blender ?

Response: Yes i have Python 3.1.2 instlled from their website, besides the one that comes with blender.

2.
There is a condition that occurs unpredictably at the minute where the scene data is invalid at export time. I have found that sometimes just making sure I wave the cursor over the UI panels (don't even need to click anything) before exporting ensures that it becomes valid. Again, I don't know why this happens, and you're not the only one who has reported it. For now I put it down to the Beta status of blender, but I need to take this issue up with one or more of the blender developers to make sure.


Response: Cool, i hope you'll do a great job making it work. Luxrender is awesome and it is probably one of the best renderers in the world, so i would be happy to help you make it work with Blender 2.5.
About what i understand the api of blender is always changing since blender 2.5 is still developing, so maybe we should wait till the 2.6 comes up, an maybe then a luxrenderer will be makable. Just saying.
Keep up with the good work,
Cheers for Romania, from old continent of Europe ;)
AlexDS
 
Posts: 83
Joined: Mon Sep 06, 2010 4:13 pm

Re: LuxBlend25 Installation Instructions and issues

Postby scarnie » Sun Sep 12, 2010 2:45 pm

That fixed my issue too - move ef and luxrender to io directory instead.

Is the "combined download" available of OX X too, with pylux?

Cheers,

Stu
scarnie
 
Posts: 1
Joined: Mon Aug 23, 2010 6:15 pm

Re: LuxBlend25 Installation Instructions and issues

Postby dougal2 » Sun Sep 12, 2010 2:56 pm

scarnie wrote:That fixed my issue too - move ef and luxrender to io directory instead.

Is the "combined download" available of OX X too, with pylux?

Cheers,

Stu

Please look in our weeklies forum for pre-packaged osx releases.
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

Re: LuxBlend25 Installation Instructions and issues

Postby blazed247 » Sun Sep 12, 2010 8:21 pm

Hi, I just registered to add my list of error msgs received using Blender 2.54 linux 32 bit with luxblend25
Image

Other than pylux is their something obvious I can do to fix the issue?

It gives an 'ef' error but also at the same time says it detected and loaded 'ef' strange. Any ideas?
blazed247
 
Posts: 1
Joined: Sun Sep 12, 2010 8:02 pm

Re: LuxBlend25 Installation Instructions and issues

Postby archimage » Wed Sep 15, 2010 1:30 am

Hi,

I'm under ubuntu 10.04 64-bit
Blender 2.54 beta
Luxblend 2.5
Python 2.6

here's what I get in the console after export :

[EF 2010-Sep-15 08:21:48] ExporterFramework detected and loaded from /home/omar/Apps/blender-2.54-beta-linux-glibc27-x86_64/2.54/scripts/addons/ef
[Lux 2010-Sep-15 08:21:48] WARNING: Binary pylux module not available! Visit http://www.luxrender.net/ to obtain one for your system.
[Lux 2010-Sep-15 08:21:48] (ImportError was: dynamic module does not define init function (PyInit_pylux))
[EF 2010-Sep-15 08:21:48] Render Engine "LuxRender" initialised
(2) export_path is /home/omar/Documents/untitled.blend
Resolving FS path /home/omar/Documents/untitled.blend -> /home/omar/Documents/untitled.blend
Resolving rel path /home/omar/Documents/untitled.blend -> untitled.blend
[Lux 2010-Sep-15 08:22:10] Mesh Export: Cube
Traceback (most recent call last):
File "/home/omar/Apps/blender-2.54-beta-linux-glibc27-x86_64/2.54/scripts/addons/luxrender/operators/__init__.py", line 230, in execute
export_geometry.write_lxo(self, lux_context, scene)
File "/home/omar/Apps/blender-2.54-beta-linux-glibc27-x86_64/2.54/scripts/addons/luxrender/export/geometry.py", line 372, in write_lxo
msg_text='LuxRender: Parsing meshes %i%%' % pc
File "/home/omar/Apps/blender-2.54-beta-linux-glibc27-x86_64/2.54/scripts/modules/bpy/ops.py", line 162, in __call__
ret = op_call(self.idname_py(), C_dict, kw)
SystemError: Calling operator "bpy.ops.ef.msg" error, could not be found


1. Where can I find the pylux for linux 64 ? Because I get a black screen when I launch the render from blender
2. When I try the export the default blender scene, the luxrender console gives me that : [2010-09-15 08:29:09 Info: 0] Freeing resources.
[2010-09-15 08:29:09 Error: 28] luxCleanup() called while inside world block.

What can I do ?

Regards,

Omar
archimage
 
Posts: 15
Joined: Wed Sep 15, 2010 1:19 am

Re: LuxBlend25 Installation Instructions and issues

Postby gavlig » Wed Sep 15, 2010 2:56 pm

Hi guys! Sorry for my bad English, it's not my first language. I have a problem with using luxblend on my linux(arch) and unfortunately i cant solve it by myself... :? I'd like to use those builds from graphicall.org but dependencies on arch and ubuntu are different and unsolvable(imho). I tried to install luxblend by instructions on luxrender wiki, but it seems doesnt work for me. At first, when installation is done, plugin appears in "render" category, not in "import\export", secondly, it doesnt work :) i'm just getting black image and thats all. If you have any ideas what i should do, share them with me please

here what i got:

Image

output from console(not everything):
Traceback (most recent call last):
File "/media/disk/tools/blender//share/blender/2.54/scripts/modules/bpy_types.py", line 587, in _register_module
bpy_types.register(t)
AttributeError: bpy.types.register(...): already registered as a subclass.
bpy.utils._register_module(): '/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/__init__.py' failed to register class 'luxrender.core.RENDERENGINE_luxrender'
Traceback (most recent call last):
File "/media/disk/tools/blender//share/blender/2.54/scripts/modules/bpy_types.py", line 587, in _register_module
bpy_types.register(t)
AttributeError: bpy.types.register(...): already registered as a subclass.
[EF 2010-Sep-15 22:30:48] Render Engine "LuxRender" initialised
bpy.utils.addon_enable luxrender
^LResolving FS path /tmp/ -> /tmp/
(1) export_path is /tmp/
(2) export_path is /tmp/untitled.Scene.00001
Resolving FS path /tmp/untitled.Scene.00001 -> /tmp/untitled.Scene.00001
Resolving rel path /tmp/untitled.Scene.00001 -> untitled.Scene.00001
[Lux 2010-Sep-15 22:33:36] Mesh Export: Cube
Traceback (most recent call last):
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/operators/__init__.py", line 230, in execute
export_geometry.write_lxo(self, lux_context, scene)
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/export/geometry.py", line 372, in write_lxo
msg_text='LuxRender: Parsing meshes %i%%' % pc
File "/media/disk/tools/blender//share/blender/2.54/scripts/modules/bpy/ops.py", line 162, in __call__
ret = op_call(self.idname_py(), C_dict, kw)
SystemError: Calling operator "bpy.ops.ef.msg" error, could not be found
Info: Creating LuxRender context
Info: Exporting render settings
Info: Exporting lights
Info: Exporting materials
Info: Exporting volume data
Info: Exporting geometry

Resolving FS path /tmp/untitled.Scene.00001.png -> /tmp/untitled.Scene.00001.png
Resolving rel path /tmp/untitled.Scene.00001.png -> untitled.Scene.00001.png
Resolving FS path /tmp/untitled.Scene.00001-mat.lxm -> /tmp/untitled.Scene.00001-mat.lxm
Resolving rel path /tmp/untitled.Scene.00001-mat.lxm -> untitled.Scene.00001-mat.lxm
Resolving FS path /tmp/untitled.Scene.00001-geom.lxo -> /tmp/untitled.Scene.00001-geom.lxo
Resolving rel path /tmp/untitled.Scene.00001-geom.lxo -> untitled.Scene.00001-geom.lxo
[Lux 2010-Sep-15 22:33:36] Wrote scene files
[Lux 2010-Sep-15 22:33:36] /tmp/untitled.Scene.00001.lxs
[Lux 2010-Sep-15 22:33:36] /tmp/untitled.Scene.00001-mat.lxm
[Lux 2010-Sep-15 22:33:36] /tmp/untitled.Scene.00001-geom.lxo
Traceback (most recent call last):
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/core/__init__.py", line 310, in render
self.render_start(scene)
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/core/__init__.py", line 440, in render_start
bpy.ops.ef.msg(msg_text='Starting LuxRender')
File "/media/disk/tools/blender//share/blender/2.54/scripts/modules/bpy/ops.py", line 162, in __call__
ret = op_call(self.idname_py(), C_dict, kw)
SystemError: Calling operator "bpy.ops.ef.msg" error, could not be found


Image

console output:


[Lux 2010-Sep-15 22:49:53] Using pylux version 0.7
[EF 2010-Sep-15 22:49:54] Render Engine "LuxRender" initialised
bpy.utils.addon_enable luxrender
Resolving FS path /tmp/ -> /tmp/
(1) export_path is /tmp/
(2) export_path is /tmp/untitled.Scene.00001
Resolving FS path /tmp/untitled.Scene.00001 -> /tmp/untitled.Scene.00001
Resolving rel path /tmp/untitled.Scene.00001 -> untitled.Scene.00001
[Lux 2010-Sep-15 22:50:14] Mesh Export: Cube
Traceback (most recent call last):
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/operators/__init__.py", line 230, in execute
export_geometry.write_lxo(self, lux_context, scene)
File "/media/disk/tools/blender/share/blender/2.54/scripts/addons/luxrender/export/geometry.py", line 372, in write_lxo
msg_text='LuxRender: Parsing meshes %i%%' % pc
File "/media/disk/tools/blender//share/blender/2.54/scripts/modules/bpy/ops.py", line 162, in __call__
ret = op_call(self.idname_py(), C_dict, kw)
SystemError: Calling operator "bpy.ops.ef.msg" error, could not be found
Info: Creating LuxRender context
Info: Exporting render settings
Info: Exporting lights
Info: Exporting materials
Info: Exporting volume data
Info: Exporting geometry

Resolving FS path /tmp/untitled.Scene.00001.png -> /tmp/untitled.Scene.00001.png
Resolving rel path /tmp/untitled.Scene.00001.png -> untitled.Scene.00001.png
Resolving FS path /tmp/untitled.Scene.00001-mat.lxm -> /tmp/untitled.Scene.00001-mat.lxm
Resolving rel path /tmp/untitled.Scene.00001-mat.lxm -> untitled.Scene.00001-mat.lxm
Resolving FS path /tmp/untitled.Scene.00001-geom.lxo -> /tmp/untitled.Scene.00001-geom.lxo
Resolving rel path /tmp/untitled.Scene.00001-geom.lxo -> untitled.Scene.00001-geom.lxo
[Lux 2010-Sep-15 22:50:14] Wrote scene files
[Lux 2010-Sep-15 22:50:14] /tmp/untitled.Scene.00001.lxs
[Lux 2010-Sep-15 22:50:14] /tmp/untitled.Scene.00001-mat.lxm
[Lux 2010-Sep-15 22:50:14] /tmp/untitled.Scene.00001-geom.lxo
User avatar
gavlig
 
Posts: 6
Joined: Mon Sep 13, 2010 3:59 pm

Re: LuxBlend25 Installation Instructions and issues

Postby dougal2 » Wed Sep 15, 2010 3:10 pm

I've just been informed that this error:

Code: Select all
SystemError: Calling operator "bpy.ops.ef.msg" error, could not be found


is caused by having a blender that is built with Python version 3.1.1 or less. You need to get a blender built with python 3.1.2.
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

Re: LuxBlend25 Installation Instructions and issues

Postby dougal2 » Wed Sep 15, 2010 4:45 pm

Please note that some changes have been made which require a change in how LuxBlend25 is installed.

Please check here for updated instructions: http://www.luxrender.net/wiki/index.php ... structions

Note the change for EF installation from addons/ -> modules/
User avatar
dougal2
Developer
 
Posts: 3073
Joined: Mon Jan 14, 2008 7:21 am

PreviousNext

Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: No registered users and 1 guest