BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

LOL: Doesn't show thumbnails

Open odil24 opened this issue 2 years ago • 8 comments

System: Win10, Blender 3.1 official and LCR v2.61 latest (with LOL assetbar fix)

Problem: LOL Asset viewer doesn't shows Thumbnail images (just black blanks) but it has saved rendered images on the LOL folder.

odil24 avatar Mar 26 '22 23:03 odil24

Hi! Are there any error messages in the blender console? Is the big image shown when you hover over a thumbnail? In the preview folder there should be a small image version and in the full folder the big image.

neo2068 avatar Mar 27 '22 07:03 neo2068

yes i got an eror while trying to use LOL

Python: Traceback (most recent call last): File "C:\Users\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\BlendLuxCore\operators\lol\assetbar.py", line 521, in invoke ui_bgl.init_ui_size(context, active_area, active_region) File "C:\Users\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\BlendLuxCore\draw\lol\viewport.py", line 224, in init_ui_size assetbar_props.margin = assetbar_props.bl_rna.properties['margin'].default * ui_scale TypeError: bpy_struct: item.attr = val: LuxCoreOnlineLibraryAssetBar.margin expected an int type, not float

location: :-1

i hope that helps @neo2068 :D

SlincHD avatar Mar 28 '22 18:03 SlincHD

That error has been fixed in latest build. Please try if it works with that version. Link

neo2068 avatar Mar 28 '22 18:03 neo2068

thank you very much :D

SlincHD avatar Mar 28 '22 19:03 SlincHD

That error has been fixed in latest build. Please try if it works with that version. Link

It doesn't helps. Here another issue when I press to Asset bar button:

File "D:\Softwares\Blender\versions\blender-3.1.0-stable(latest)\3.1\scripts\addons\BlendLuxCore\utils\lol\utils.py", line 720, in bg_download_thumbnails
    asset['thumbnail'] = bpy.data.images.load(tpath)
TypeError: unsubscriptable object

odil24 avatar Mar 29 '22 16:03 odil24

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

neo2068 avatar Mar 29 '22 20:03 neo2068

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

lcr

odil24 avatar Mar 29 '22 22:03 odil24

@odil24 That is a strange error and it should not happen. I cannot reproduce it. Can you test if it gets solved if you push the 'Update ToC from server' button in the addon?

Yes, but it doesn't solved the problem. Something goes wrong I guess.

Thanks for your response.

odil24 avatar Mar 30 '22 12:03 odil24