marijnkampf / Random-Photo-Screensaver

Source of Random Photo Screensaver
http://www.abscreensavers.com/random-photo-screensaver/open-source
Other
44 stars 14 forks source link

RAW conversion not working. Shows broken image icon #122

Open rajdude opened 4 years ago

rajdude commented 4 years ago

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.

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! :-)

marijnkampf commented 4 years ago

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?

rajdude commented 4 years ago

Thanks for looking into this, Marjin.

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

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 commented 4 years ago

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.

marijnkampf commented 4 years ago

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.

rajdude commented 4 years ago

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."