diff -r 34fc53e6159d -r abffba70297f src/eric7/Project/CreateDialogCodeDialog.py --- a/src/eric7/Project/CreateDialogCodeDialog.py Sun Dec 04 11:58:37 2022 +0100 +++ b/src/eric7/Project/CreateDialogCodeDialog.py Sun Dec 04 14:20:53 2022 +0100 @@ -215,8 +215,11 @@ started = proc.waitForStarted(5000) finished = proc.waitForFinished(30000) if started and finished: - output = proc.readAllStandardOutput() + output = proc.readAllStandardError() outText = str(output, "utf-8", "replace") + if "@@eric_start@@" in outText and "@@eric_end@@" in outText: + # it is something we sent via UicLoadUi[56].py + outText = outText.split("@@eric_start@@")[1].split("@@eric_end@@")[0] if proc.exitCode() == 0: ok = True uicText = outText.strip()