eliemichel / LilySurfaceScraper

Import shaders end environments in Blender from a single URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: Invalid Input Error: Material provider not supported.

Wehler opened this issue · comments

Unable to import any texture from any of the supported sites. I am able to import HDRI from Polyasset.
For cgbookcase and ambientcg I get the error: RuntimeError: Invalid Input Error: Material provider not supported. See the documentation for a list of supported material providers.
For Polyhaven I get the error: RuntimeError: Invalid Input Error: Not a texture

  • URL of the material or world that failed to import (and variant, if applicable):
    https://ambientcg.com/view?id=Metal032
    https://www.cgbookcase.com/textures/brick-wall-29
    https://polyhaven.com/a/metal_plate

  • Version of LilySurfaceScrapper: 1.8.0-RC2

  • Version of Blender: 3.2

  • Operating System: Windows 10 Pro

  • Log
    Python: Traceback (most recent call last):
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 306, in invoke
    return self.execute(context)
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 309, in execute
    bpy.ops.object.lily_world_import('EXEC_DEFAULT', url=bpy.context.window_manager.clipboard)
    File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\bpy\ops.py", line 113, in call
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
    RuntimeError: Invalid Input Error: Material provider not supported. See the documentation for a list of supported material providers.
    bpy.ops.object.lily_world_import_from_clipboard()
    Python: Traceback (most recent call last):
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 306, in invoke
    return self.execute(context)
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 309, in execute
    bpy.ops.object.lily_world_import('EXEC_DEFAULT', url=bpy.context.window_manager.clipboard)
    File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\bpy\ops.py", line 113, in call
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
    RuntimeError: Invalid Input Error: Material provider not supported. See the documentation for a list of supported material providers.
    bpy.ops.object.lily_world_import_from_clipboard()
    Python: Traceback (most recent call last):
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 306, in invoke
    return self.execute(context)
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 309, in execute
    bpy.ops.object.lily_world_import('EXEC_DEFAULT', url=bpy.context.window_manager.clipboard)
    File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\bpy\ops.py", line 113, in call
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
    RuntimeError: Invalid Input Error: Not a texture
    bpy.ops.object.lily_world_import_from_clipboard()
    Python: Traceback (most recent call last):
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 306, in invoke
    return self.execute(context)
    File "C:\Users\mathi\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\LilySurfaceScraper-master\blender\LilySurfaceScraper\frontend.py", line 309, in execute
    bpy.ops.object.lily_world_import('EXEC_DEFAULT', url=bpy.context.window_manager.clipboard)
    File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\bpy\ops.py", line 113, in call
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
    RuntimeError: Invalid Input Error: Material provider not supported. See the documentation for a list of supported material providers.

Looks like you are trying to import a material in the World panel. You should do it from the Material panel, since the button in the World panel is only to import worlds. ;)