As this occurrence pertains to an unsupported version of Blender, I believed it more appropriate to submit this as a question, rather than as a bug report. If this would be better asked elsewhere, please let me know and I would be more than happy to move it. Over the last few days, I have been trying to build a version of BlendLuxCore that would function under the Alpha release of Blender 2.93.0. Understanding the necessity for the end-user to produce a compatible build, I closely followed the suggested README instructions preset under the "WindowsCompile" repository. I feel it is important to note that outside of these last few days, my technical prowess in relation to Python, or any programing language for that matter, is rather non-existent, but I saw it as an opportunity to learn something new and gave it my best. In this post I will outline the steps that were taken, and their results.
I began by deriving a version of the aforementioned instructions in a manner that would allow myself easier followability and backtracking if something went adversely. I have listed those steps below:
______________________________________________________________________________________________________________________________
1 | Download and install:
- Build Tools for Visual Studio 2017 (including the optional "Windows 8.1 SDK and UCRT SDK")
- NOTE: Once the initial installer completes, the application will initialize and a window featuring the available options will prompt. By default, you should be in the "Workloads" tab. Immediately under this tab's title you should see "Visual C++ build tools" within the "Windows" section, select this. This will produce the "Installation details" on the right-hand side. Under "Optional" select "Windows 8.1 SDK and UCRT SDK". This additional option will be necessary during the build process.
- cmake (v3.11.2 or better)
- NOTE: During installation, and following the End-user License Agreement, you will be asked if you want CMake added to the system path; you must add Cmake to the system path. This will be necessary during the build process.
2 | In a non-specific area of your computer, create a folder named "luxcorerender".
3 | Clone the "LuxCore" and "WindowsCompile" repositories into the "luxcorerender" folder you just created.
- This can be accomplished by:
- Opening the repositories (through the links listed below), clicking the green-dropdown button titled "Code" and selecting "Download ZIP".
- Once downloaded, open the respective ZIP file and drag its single containing folder into the "luxcorerender" folder. Do this for both repositories.
- If done correctly, the "luxcorerender" folder should now contain folders "Luxcore" and "WindowsCompile" (i.e. the clones of the repositories).
- REPOSITORIES:
4 | Following the installation of Build Tools for Visual Studio 2017, run "x64 Native Tools Command Prompt for VS 2017".
- This is done easiest by clicking the magnifying glass icon (next to the Windows icon) located in the lower left-hand corner of your screen, and typing/pasting "x64 Native Tools Command Prompt for VS 2017" in the "Type here to search" field. Run the resulting command prompt.
- Once open, enter and execute (execute by clicking Enter) the following commands:
- NOTE: 1. These are two separate command executions. 2.*your_path* is to be replaced with the file path leading to the "luxcorerender" folder you created in Step 2. 3. *build's_python_version* is to be replaced with the version of Python that is utilized in the version of Blender you intend to build.
- cd *your_path*\luxcorerender\WindowsCompile
- .\cmake-build-x64.bat /python*build's_python_version*
- EXAMPLE:
- cd C:\luxcorerender\WindowsCompile
- .\cmake-build-x64.bat /python39
- The execution of the second command will start the build process. This can take upwards of 15 or more minutes to complete. This is dependent on your hardware specifications. There will be several pauses throughout this process, this is normal. Once the build has completed, and if successful, "Build succeeded." will display in green text towards the bottom of the command prompt.
- If you encounter a failure, specifically during the late-stage portions of the build, and if classified as a CMAKE issue (with CMake having been installed correctly), a restart of the building process might be enough to resolve, and subsequently complete the build successfully.
- Following a successful build:
- Navigate to your "luxcorerender" folder. In addition to the "LuxCore" and "WindowsCompile" folders, a third folder named "WindowsCompileDeps" should now be present. If so, continue to the next step.
5 | In a non-specific area of your computer, using the process from Step 3, clone the latest "BlendLuxCore" repository (using instead the link below).
- REPOSITORY:
6 | Navigate to the newly added "BlendLuxCore" folder.
- Within, there should be a folder named "bin", proceed into that folder.
- Among the present files, there should be one named "get_binaries", if so, continue on to Step 7.
7 | Again, run the "x64 Native Tools Command Prompt for VS 2017".
- Once open, enter and execute the following commands:
- NOTE: 1. These are two separate command executions. 2.*your_path_1* is to be replaced with the file path leading to the "BlendLuxCore" folder you created in Step 5. 3. *your_path_2* is to be replaced with the file path leading to the "luxcorerender" folder you created in Step 2.
- cd *your_path_1*\BlendLuxCore\bin
- get_binaries.py *your_path_2*\luxcorerender
- EXAMPLE:
- cd C:\BlendLuxCore\bin
- get_binaries.py C:\luxcorerender
- The execution of the second command will start the build process. You will be prompted with several requests to overwrite files contained within the "bin" folder, with files from the build you created. On the command line, type and execute "y" for each of the subsequent requests. Following this, proceed to Step 8.
- In order to use the "Install..." option under the "Add-ons" section in Blender (2.8 and above), you will need archive your "BlendLuxCore" folder. To do this:
- Navigated to the area containing said folder.
- Through WinRAR, this is simply done by right-clicking on the "BlendLuxCore" folder, and selecting "Add to archive...".
- This will prompt the "Archive name and parameters" menu. Matching the method of previous BlendLuxCore releases, select "ZIP" for the archive format, and "Normal" for the compression method.
- Click "OK" to close the prompt and begin archiving the folder.
- Upon completion, a duplicate of the BlendLuxCore folder, formatted as a ZIP, will generate in the same directory.
- Proceed to Step 8.
9 | You are now ready to install your compiled build of BlendLuxCore.
- Open the version of Blender you intend on installing your build of BlendLuxCore on.
- Through "Preferences", click "Add-ons" and select "Install...". From the resulting window, navigate to the directory containing your "BlendLuxCore" ZIP, single-click it and press "Install Add-on" at the bottom right-hand corner. This will close the window and, generally, the addon will isolate from the other addons panels, if not, you will need to search, or scrolls down, to find it.
- Upon locating the addon's panel, named "Render: LuxCore", select the empty box to the left of it to enable the addon. The box will illuminate with a white check mark, as well as the text from a dark gray to white. The addon was enabled successfully.
Process complete.
______________________________________________________________________________________________________________________________
Following the above process, I encountered my first error when attempting Step 8. Below you will find a side-by-side compilation of the information accumulated in my Info Log and System Console during my attempts at enabling the addon (REF_1).
To note, a single attempt at enabling the addon would only produce a single Traceback instance, and in turn a single instance in the System Console as well. It was only during repeat attempts, under the same session, that it would output the string of errors presented in my compilation (REF_1). Curiously, following the last attempt that yielded an error, upon attempting again, the addon would enable, but would be almost entirely featureless (REF_2).
Expounding further, upon initiating another Blender session (with the addon disabled) and duplicating the process outlined for (REF 1), the order at which the errors occurred were seemingly random, as they are structured differently than in my previous attempt(s). I an unaware if this is a pertinent detail, but I thought I would include it, as well as a full copy of the System Console from this particular session:
Code: Select all
Read prefs: C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\config\userpref.blend
register_class(...):
Warning: 'DNOISEPanel' does not contain '_PT_' with prefix and suffix
Imported Modeling Cloth
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 351, in enable
mod = __import__(module_name)
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\sketch_style\__init__.py", line 794, in <module>
SketchStyle_Props.__dict__['__annotations__'][k][1]['description'] = v
TypeError: '_PropertyDeferred' object is not subscriptable
register
DEBUG:BlenderGIS-master.core.checkdeps:GDAL Python binding unavailable
DEBUG:BlenderGIS-master.core.checkdeps:PyProj unavailable
DEBUG:BlenderGIS-master.core.checkdeps:Pillow unavailable
DEBUG:BlenderGIS-master.core.checkdeps:ImageIO Freeimage plugin available
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreWorldProps" registration error: image_user could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreImagepipeline" registration error: tonemapper could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: CollectionProperty(...): expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibraryUpload" registration error: add_list could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreHair" registration error: image_user could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreOnlineLibraryUI" registration error: assetbar could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreNodeTexImagemap" registration error: image_user could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreConfig" registration error: path could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: CollectionProperty(...): expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreNodeTexBand" registration error: ramp_items could not register
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
TypeError: PointerProperty(...) expected an RNA type, failed with: Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\addons\BlenderGIS-master\__init__.py", line 79, in _excepthook
if 'BlenderGIS' in exc_traceback.tb_frame.f_code.co_filename:
AttributeError: 'NoneType' object has no attribute 'tb_frame'
Original exception was:
RuntimeError: , missing bl_rna attribute from 'RNAMetaPropGroup' instance (may not be registered)
Exception in module register(): C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender Experimental ACES\2.93\scripts\modules\addon_utils.py", line 382, in enable
mod.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\__init__.py", line 85, in register
auto_load.register()
File "C:\Users\NoahB\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\BlendLuxCore\auto_load.py", line 31, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "LuxCoreScene" registration error: denoiser could not register
BlendLuxCore 2.5RC1 registered (with pyluxcore 2.5rc1)
- The process from Step 8. was conducted on a fresh install of Blender 2.93.0a. The results were identical.
- The process from Step 8. was conducted on an install of Blender 2.93.0a, with every addon removed, outside of BlendLuxCore and Cycles. The results were identical.
- Modified the BlendLuxCore's addon folder location to that of the "addons" folder in a Blender 2.93.0a directory, located under Program Files. This was done by adding a "config" folder to its "2.93" folder. Succeeding that, the process from Step 8. was conducted, and produced identical results.
- In an attempt at determining if the conflict lied with the version of BlendLuxCore 2.5 I was employing (latest), I began the process again, compiling instead the BlendLuxCore v2.5beta1. The results were identical.
Thank you for your time,
Noah