BlendLuxCore
BlendLuxCore copied to clipboard
LOL shows no previews
Sometimes LOL shows no thumbnails, sometimes only the first row, sometimes also the 2nd, but then it stops and doesn't load further. Are these server problems. I usually have a good internet connection. I wonder if anyone else has?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I never got that working either, so I downloaded (cloned) the repo https://github.com/LuxCoreRender/LoL and extracted everything manually. Not very elegant but it's working now.
Ahh... Thanks for the hint. But apparently it works for everyone else. A little weird?!
Are there any error messages in the console?
Yes I attach it as .txt. Looks like it can not write and then it hangs in a loop. LOL_error.txt
Could be just another drawback of using Blender image datablocks. The solution proposed in #559 would fix this, too.
Okey thanks, but blenderkit works fine. However, I remember that there was something like that. But it was a bit ago.
Ok!!! Newest Version of everything seems to work! :+1: Blender 2.83.5 and latest BlendLuxCore does download models and material. Thumbnails are being created.
Unfortunately not for me. It seems that something has changed during loading. The preview pictures of the first two rows are already downloaded. I don't know what LOL downloads but this is my network history after the start of LOL.
No changes with the last update. Am I really the only one who has this problem?
Is there an easier way to tell LOL to only look at my hard drive so I can work with it? (simple changes to the addon code)
Can you check the console output of the blender addon? Are there any error messages? I have an idea what could be the problem but it need some time to implement the fix. Did you try to download the github repository of the online library https://github.com/LuxCoreRender/LoL and place the model and material files inside the LuxCoreOnlineLibrary_data?
Yes I attach it as .txt. but looks like the same i put in the post to @Theverat. And i download the repository like @foreachthing suggest me. LOL_22_09_20.txt These are the errors after activating the LOL Asset bar.
If you have the thumbnails on your PC, it will not load them from the server. There have to be another problem then. It seems you are on Linux? Where do you store the LoL files you downloaded from the repository?
Yes I am on Linux, they are in: /home/pepi/LuxCoreOnlineLibrary_data/ I thought this is the default folder?
It is the default folder and should be correct. I have pushed a fix for manually placing the preview files in the preview directory. Can you test if it works for you with the latest BlendLuxCore?
Yes thanks, now the small previews for the models work. But not the big ones. If I click on one of them nothing happens (it stops at 0% download). The material previews do not work yet. Maybe I did not use the right folders. The exact hierarchy would be interesting. I wonder if it has something to do with write rights of Linux. But i don't think i am the only one here who uses luxcore with linux. But now I know from which file I can append something, so thank you. I'm sure that all this didn't work under 2.4 ,first. And then it did in the final version. And as I said before, with BlenderKit everything works, so when this is based of it ?!?
Hi! The preview image handling is one thing which were changed after adapting the blenderkit addon because of the big memory consumption. The folder structure is like the following.
LuxCoreOnlineLibrary_data
|--model => model asset .blend files
| |--local => local model asset .blend files
| |--preview => low res (!28x128) preview images
| |--full => full size preview images, (e.g. 1080x1080)
| |--local => full size preview images for local files
| |--local => low res (!28x128) preview images for local files
|--material
|-- same structure as in model
It is strange that the big preview images are not available. But as you said perhaps it is some problem with write permission in the 'full' folder.
Thanks, i don't have the small previews for the material and also have a "scene" folder below "LuxCoreOnlineLibrary_data" which contains "preview" and "full" but without content. Maybe it makes sense to delete the whole "LuxCoreOnlineLibrary_data" and install Blendluxcore again. Because if it would be a write permission problem, other Linux people would have it too.
There are only the full preview files on the server and the small previews are generated on the fly. With the latest version it should be possible to copy the full res thumbnails in the 'preview' folder as in the github repository and the addon will copy it to the 'full' folder and save a downscaled version in the 'preview' folder. This step is not working on your side. Can you check if the files in the 'preview' folder has full resolution or 128x128 pixels? The folder are generated by the addon, too. Therefor the access rights for the folders should be sufficient. Did you use the latest BlendLuxCore version from here https://github.com/LuxCoreRender/BlendLuxCore/releases/tag/blendluxcore_v2.4 ?
No, I'm using the latest version 2.5. Since I fixed the hierarchy something seems to have changed. It loads the small thumbnails for models from disk but for material from the net (but at every start). Almost all (but only almost) :-). The big ones are not showing up (but are there). The cpu is very busy working in material view. And the download only works up to 99% for material, then it hangs or crashes. But the file is in the folder and works. So way better now, thank you. Edit: It looks more like the small material previews are generated on every start.
Yes, I meant the latest 2.5 release. I linked the wrong version. I have to investigate why it behaves different on material assets. It uses the same code internally.
I do not understand why nobody else has this problem. Well, it works like this after starting blender: no net traffic, no cpu action. After activating asset bar, download for about 20-30 seconds and a 20%-30% cpu usage. After activation of material button: 1 cpu core 100% the rest 10%-20%, takes about 2-3 minutes. And at the same time another 20-30 seconds download as described above. The last 2 rows of thumbnails of material are not loaded. With model 2 rows of thumbnails are not in the middle. The big ones are not displayed even if they are in the right folder. Hope the description helps so far. But thanks so I can at least do something with LOL.
I do not understand why nobody else has this problem.
Well I do @mario on OpenSuse :). LOL is downloading and overwriting the preview and full size images, whenever I activate the asset bar in a new .blend file. The thumbnails show up, the large previews not.
@joc11 Can you post the console output? Are there any error messages?
@neo Some at the end, yes: mylog0.txt
@joc11 good to see that someone else has this problem. Maybe this will help the developers to find out what it is all about. To me, your error messages look exactly like mine.
Fixed for me with latest dayly build on blender 3.0.
Having the same issue. "Thumbnail not ready" for any file from the library. No errors were shown. I still can download assets, I just can't see what am I downloading. Blender 3.0, the latest build downloaded today (07.02.2022)
@inegvin Can you give more information? What OS do you use? Are there any messages on the Blender console? What is the content of the LuxCore Online Library Directory. You can find the path in the preferences menu under global files directory.