Bug 829444 - Can't enable LuxRender addon
Summary: Can't enable LuxRender addon
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: LuxRender
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-06 18:59 UTC by Jason Farrell
Modified: 2012-12-10 21:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-10 21:39:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jason Farrell 2012-06-06 18:59:04 UTC
Cannot enable the LuxRender addon in Blender.

To reproduce:
1) install the packages below
2) run 'blender' from a terminal
3) Go to file > user prefs > addons > render
4) attempt to enable LuxRender by clicking the checkbox, but note the error output in the terminal:

[Lux 2012-Jun-06 14:50:56] WARNING: Binary pylux module not available! Visit http://www.luxrender.net/ to obtain one for your system.
[Lux 2012-Jun-06 14:50:56]  (ImportError was: cannot import name pylux)
Traceback (most recent call last):
  File "/usr/share/blender/2.63/scripts/modules/addon_utils.py", line 271, in enable
    mod.register()
  File "/usr/share/blender/2.63/scripts/addons/modules/extensions_framework/__init__.py", line 350, in register
    bpy.utils.register_class(cls)
TypeError: validating class:, Panel.bl_options expected a set, not a str




blender-2.63a-1.fc17.x86_64
LuxRender-0.8.0-14.fc17.x86_64
LuxRender-blender-0.8.0-14.fc17.x86_64
LuxRender-core-0.8.0-14.fc17.x86_64
LuxRender-lib-0.8.0-14.fc17.x86_64

Comment 1 thesourceofx 2012-08-11 18:17:14 UTC
I had this exact same problem and found a solution. I basically had to update everything to the latest release from LuxRender. First, I had to download the latest LuxRender from http://www.luxrender.net/en_GB/standalone#linux and put pylux.so and liblux.so into `/usr/share/blender/2.63/scripts/addons/luxrender/`. That fixes the above error, but it still won't work because luxblend 0.8 has some problems with Blender 2.63, so you also need to replace the scripts in that luxrender/ directory with `luxblend-2.6/src/luxrender/` from the LuxRender tarball. Afterwards LuxRender worked for me in Blender, but I had some problems with materials. Replacing luxrender, luxconsole, and luxmerger from /usr/bin/ with those in the tarball fixed that and now it seems to work perfectly.

Comment 2 thesourceofx 2012-08-11 18:19:39 UTC
Forgot to mention adding the liblux.so that comes with the tarball to /usr/lib64/

Comment 3 Nicolas Chauvet (kwizart) 2012-08-13 21:24:16 UTC
Hi

I think the 1.0 wasn't enought in good shape when I tried to update it too.
It would be valuable if you can suggest a LuxRender.spec update.
(grab it from fedpkg clone -a)

Thx for your report.
BTW I'm looking for co-maintainer for this package.

Comment 4 Fedora Update System 2012-10-06 08:18:16 UTC
LuxRender-1.0-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/LuxRender-1.0-1.fc17

Comment 5 Fedora Update System 2012-10-07 01:55:15 UTC
Package LuxRender-1.0-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing LuxRender-1.0-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15567/LuxRender-1.0-1.fc17
then log in and leave karma (feedback).


Note You need to log in before you can comment on or make changes to this bug.