diff --git a/gui/gui.py b/gui/gui.py index 8be9370..4f803b4 100644 --- a/gui/gui.py +++ b/gui/gui.py @@ -134,11 +134,14 @@ class Gui: title='Created') except JavaSyntaxError as JsE: - logging.error(('||SyntaxError in Java File||Failed to create Image with values = ' + str(values))) + logging.error(('||SyntaxError in Java File|| Failed to create Image with values = ' + str(values))) sg.popup_error((str(JsE))) except ScopeNotFoundException as SnFe: - logging.error(('||ScopeNotFoundExeption||Failed to create Image with values = ' + str(values))) + logging.error(('||ScopeNotFoundExeption|| Failed to create Image with values = ' + str(values))) sg.popup_error((str(SnFe))) + except FileNotFoundError as FnFe: + logging.error(('||FileNotFoundError|| Failed to create Image with values = ' + str(values))) + sg.popup_error((str(FnFe) + 'File ' + str(file_path) + ' or ' + str(output_path) + ' is not reachable.')) except: logging.error( ('Failed to create Image with values = ' + str(values)))