Replies: 6 comments 8 replies
-
Hmmm... I'd probably first suspect something in a specific image (or set of images) that's causing an unexpected abort. How long are your images being displayed? More to the point, is it reasonable that a complete play-through of your 1500 images would take at least 17 hours? Assuming your image order is randomized with each pass, the variable abort time is likely due to the position of the offending image(s) within the new playlist. I haven't looked at the logging info in a long time, but is it possible to tell what image is being processed at the time of each abort? |
Beta Was this translation helpful? Give feedback.
-
There is no logging level where it logs anything other than the names of missing image files.
Sent from Yahoo Mail on Android
On Tue, Nov 14, 2023 at 6:23 PM, ***@***.***> wrote:
Hi, you can set logging on in configuration.yaml with a file name to log to. I suspect with it set to DEBUG you will get too much text (but you only need to look at the last few lines) However I will check that the file name would be logged before you try that. If not it would be an easy enough temporary hack to add a logger line to output the image name at WARNING level.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I added three lines to my controller.py file around line 317. This is the installed version (located on the pi generally somewhere like if pics[0] is None:
self.__next_tm = 0 # skip this image file moved or otherwise not on db
pics = None # signal slideshow_is_running not to load new image
else:
self.__logger.warning(f"next file is {pics[0].fname}") ####### <
if len(pics) > 1 and pics[1] is not None: ####### <
self.__logger.warning(f"... paired with {pics[1].fname}") ####### <
image_attr = {}
for key in self.__model.get_model_config()['image_attr']: Don't let the log file get too big and remember to take this hack out once (if) you find the cause of the problem. Paddy |
Beta Was this translation helpful? Give feedback.
-
Ha Ha! That was fantastic. I am continuing to run through pictures but so far it has crashed on three panoramic pictures. Would be nice if the software could have either made the pic fit on the screen or just skipped it but it is easy enough to remove them from the set. I will let you know if I encounter issues with any other photos. |
Beta Was this translation helpful? Give feedback.
-
That‘s really strange. I have a lot of panoramic photos and they all show up brilliantly. I guess the problem lies elsewhere. I recently had a problem with a new Apple color profile that Lightroom wouldn‘t recognise. Took me days to find out. |
Beta Was this translation helpful? Give feedback.
-
Great. We would, of course, dearly like to know what was causing the problem too. Panoramic photos aren't an unlikely occurrence! |
Beta Was this translation helpful? Give feedback.
-
I installed picframe on my raspberry pi zero W a couple of weeks ago. At this point, I have it setup to run as a service at startup, I loaded like 1500 pictures and it works beautifully. Except for one little issue, after a period of time, usually at least a few hours I have seen as few as 5 and as long as 17, it just stops and I am left with the command prompt. I have tried using various logging levels and so far have not managed to capture any error messages at all. It's as though the service has just been shut off.
Any thoughts about a possible cause or suggestions for investigating/troubleshooting?
Yes, I did do a system update and that hasn't made any difference.
I should note that I installed picframe without the heif pre-req but I only have jpg files so I don't think that should be causing a problem.
Beta Was this translation helpful? Give feedback.
All reactions