Closed ghost closed 6 years ago
Thanks for finding that. By "uncomment" I think you mean "comment out".
A bit of explanation for anyone interested: Qt doesn't handle Python exceptions at all, so even something as simple as a typing error produces a segfault or an "unhandled exception" crash. The safe_slot
decorator is supposed to wrap a method in an exception handler to help track down such bugs. It's not supposed to cause them!
In this case save_files
can be called from the file menu, with a boolean parameter, or from the context menu, with a list parameter. The safe_slot
decorator needs a fixed function signature, so one or both of these calls was incorrect. Commit 70dd20f should fix the problem.
In the film strip, right clicking a thumbnail and choosing "Save metadata" crashes the python interpreter:
Fix (?): uncomment
@safe_slot
decorator onsave_files(self, images=[])
in imagelist.py.