Opened 16 years ago
Closed 16 years ago
#5751 closed defect (fixed)
MythGallery crash with non-existing directory
Reported by: | otto at kolsi dot fi | Owned by: | paulh |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythgallery | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
If MythGallery settings have directory that does not exist, entering MythGallery is okay but when exiting (with Esc) back to main menu frontend crashes with segfault.
Noticed this while trying trunk with fresh/empty environment (with G.A.N.T and Retro themes). Not a big deal normally, first time users might bump into this before all the settings are correct.
Attachments (1)
Change History (4)
Changed 16 years ago by
Attachment: | mythgallery-direscape.patch added |
---|
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Owner: | changed from Isaac Richards to paulh |
---|---|
Status: | new → assigned |
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [18748]) Warn the user if MythGallery's start directory cannot be found or is not readable before running the plugin.
If no images can be found in a directory put up a message in the middle of the screen otherwise it looks like MythGallery isn't working because the screen is entirely blank.
Fixes #5751.
I've attached patch that fixes this issue.