Comment 11 for bug 1404934

Revision history for this message
Riccardo Bernardini (framefritti) wrote :

I am attaching a patch (taken with bzr diff against trunk revno 14389) for this bug. It turns out that the exception is raised in function ResourceManagerImpl::locateLinks (in resource-manager.cpp) when a file in the "recently used" list has a format that is not accepted by filename_from_url().

 I added code to ResourceManagerImpl::locateLinks to catch the Glib::ConvertError exception raised by filename_from_url() in order to skip the offending entry and print a warning message.

I recreated the bug on my computer and it looks like the proposed change corrects it.