Random-Photo-Screensaver icon indicating copy to clipboard operation
Random-Photo-Screensaver copied to clipboard

RAW conversion not working. Shows broken image icon

Open rajdude opened this issue 5 years ago • 5 comments

I have a strange problem: On my laptop the RAW image conversion is not working. RPS tries to convert it, but ends up showing a broken image icon. jpg images are displayed just fine in the slideshow. The exact same settings (in RPS) work fine on my desktop, raw images get converted and displayed properly.

  • Installed versions of RPS and UFraw are identical on both computers.
  • Source of image files is network share
  • The jpg cache folder has been defined to be local folder. There is nothing in that folder in the laptop. On the desktop, that folder has tons of jpegs.
  • Both machines are running Windows 10

I enabled debug log on RPS on the laptop but it has only a list of names which RPS tried to display. The raw files are also listed in that log, no errors.

Please help! :-)

rajdude avatar Sep 12 '19 19:09 rajdude

To debug this can you press you press Ctrl + F12 when one of the broken images is displayed on your laptop? This will create a HTML file you can view after you exit RPS. Open the HTML file in a browser and look in the source (right click on the image and select Inspect) and check where the image is pointing to. Is that the correct folder and does it exist on your laptop or are there any typos in it?

marijnkampf avatar Sep 13 '19 07:09 marijnkampf

Thanks for looking into this, Marjin.

I tried what you suggested and here is what I found out:

  • The broken image's path is correct. It is going to C:\temp\
  • But image does not exist in that location

Interestingly, RPS has created the sub-folder structure, mirroring my server's folder structure under c:\temp (this is normal, judging from how RPS makes the cache folders in my desktop computer) but on the laptop all those folders are empty. There are no jpegs in there.

rajdude avatar Sep 13 '19 12:09 rajdude

ok I made it work but still have one related problem.

First: To make RAW files work, I mapped a drive! If I specify a UNC path for folders in RPS' configuration, RPS is not able to process raw files. If I specify a mapped drive letter (mapped to the same UNC path), RPS is able to process raw files and cache them and display them properly.

Second: Laptop does not process raw files in a particular folder. On the desktop same thing works fine. I did a debug and found something interesting. Please see the screenshots below. Why are two files being referenced in the same image? The lower one is the correct one, which should be displayed but it was never generated by ufraw/rps, so it is broken.

error1 error2

By the way, I suspected that the apostrophe character in the folder path may be a problem but no... I have other folder paths with apostrophe in them, they work fine.

rajdude avatar Sep 13 '19 13:09 rajdude

The raw conversion is done by a separate program called UFRAW, I suspect it might not handle the UNC path. You could try from the command prompt and see whether that is the issue.

marijnkampf avatar Sep 14 '19 12:09 marijnkampf

ok that is fine... I can live with mapping a drive :-)

Any suggestions on how to resolve the second problem I posted above... "Laptop does not process raw files in a particular folder."

rajdude avatar Sep 16 '19 14:09 rajdude