Opened 13 years ago

Closed 13 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


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)

mythgallery-direscape.patch (456 bytes) - added by otto at kolsi dot fi 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by otto at kolsi dot fi

Attachment: mythgallery-direscape.patch added

comment:1 Changed 13 years ago by otto at kolsi dot fi

I've attached patch that fixes this issue.

comment:2 Changed 13 years ago by paulh

Owner: changed from Isaac Richards to paulh
Status: newassigned

comment:3 Changed 13 years ago by paulh

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.