Hi,
I've been working on a large scene(Archviz, a condo building) and I get this error quite often. I have many append/linked objects in the scene and it seems they are causing this problem. I read somewhere that clearing temp folder solves this but it works sometimes but not always. I have noticed this happens even with a simple scene when I append materials. I use an add-on "Asset Management" for appending/linking since this add-on speeds up my work-flow greatly.
Can anyone tell me why this error happens and how to avoid it? I really want to use LuxCore in my workflow but a few things are slowing me down and this is one of them.
One thing I notice though, when I use render management program (RenderPilot), this error hasn't happened yet so far. I don't know if it's relative...
Error opening image file
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Error opening image file
Thanks for your report.
Could you copy/paste the full error message?
Can you upload a small scene that shows the problem, including the problematic image file?
By the way, there's a known problem with packed DDS files: https://github.com/LuxCoreRender/BlendLuxCore/issues/70
Could you copy/paste the full error message?
Can you upload a small scene that shows the problem, including the problematic image file?
By the way, there's a known problem with packed DDS files: https://github.com/LuxCoreRender/BlendLuxCore/issues/70
Re: Error opening image file
B.Y.O.B.,
Thanks for your quick reply.
Here is a sample of the error
Error message:
Error opening image file : C:\Users\Taka\AppData\Local\Temp\tmpw8ahv6yv.jpg (error = Empty file "C:\Users\Taka\AppData\Local\Temp\tmpw8ahv6yv.jpg")
What's the limit file size I can share here? I'm trying to upload one but it says the file is too large. The file size is just over 20mb
Thanks for your quick reply.
Here is a sample of the error
Error message:
Error opening image file : C:\Users\Taka\AppData\Local\Temp\tmpw8ahv6yv.jpg (error = Empty file "C:\Users\Taka\AppData\Local\Temp\tmpw8ahv6yv.jpg")
What's the limit file size I can share here? I'm trying to upload one but it says the file is too large. The file size is just over 20mb
Re: Error opening image file
Does it also happen if you unpack the image before exporting?
You can find out what the original image name was with the following steps:
- Open Blender console (Window -> Toggle System Console)
- you will see the log messages of the export in a new window. Right click the title bar of this window and try to find a menu entry that lets you copy all the text (something like select all, then copy, or so - I hope that's possible)
- paste the log messages into a text editor
- use full text search to look for the name of the temporary image in the log messages. The line should look like:
Of course you can also look through the log messages manually, if the scene is not too big.
About uploading the image/scene: you could use an external filehoster.
You can find out what the original image name was with the following steps:
- Open Blender console (Window -> Toggle System Console)
- you will see the log messages of the export in a new window. Right click the title bar of this window and try to find a menu entry that lets you copy all the text (something like select all, then copy, or so - I hope that's possible)
- paste the log messages into a text editor
- use full text search to look for the name of the temporary image in the log messages. The line should look like:
Code: Select all
Unpacking image "Wooden-Background-213.jpg" to temp file "/tmp/tmpjmwys1vx.jpg"
About uploading the image/scene: you could use an external filehoster.
Re: Error opening image file
I would try "Use file in original location", but it doesn't really matter.
Re: Error opening image file
I tried unpacking (tried a few different options), some linked objects lose their materials(rendered in pink). Sample error log goes like this:
Node "Imagemap" in tree "Leather_Brown": Could not find image "AI43_002_leather_color_01.jpg" at path "//textures/AI43_002_leather_color_01.jpg" (Not an existing file: "E:\Dropbox \Taka\Blender 3D\assets\Furniture_LuxCore\Chair\blends\textures/AI43_002_leather_color_01.jpg")
Node "Imagemap" in tree "Leather_Brown": Could not find image "AI43_002_leather_color_01.jpg" at path "//textures/AI43_002_leather_color_01.jpg" (Not an existing file: "E:\Dropbox \Taka\Blender 3D\assets\Furniture_LuxCore\Chair\blends\textures/AI43_002_leather_color_01.jpg")
Re: Error opening image file
But is this the same image as before?
It would help a lot to have a small scene showing the problem.
It would help a lot to have a small scene showing the problem.
Re: Error opening image file
I completely understand. The problem is this error happens randomly so the same file has the problem one day, then next day it doesn't. I know it would help you troubleshoot if I can constantly recreate the issue and give the scene.
I'm wondering if this happens to other people though.
I'll share if I come across a file that happens constantly, or at least often. Thanks for trying to help me with this.
I'm wondering if this happens to other people though.
I'll share if I come across a file that happens constantly, or at least often. Thanks for trying to help me with this.
Re: Error opening image file
Among the reported issues, I only remember the DDS problem and someone with russian locale and russian characters in filenames. A case like yours was not reported yet I think.
The randomness sounds weird. Maybe some other addon/program interfering? Does the disk have enough space?