--noconsole means no debugging output so with that option you will likely never know what the problem is because it can’t tell you. Either turn --noconsole off and see what Python error message it comes out with in the console it opens or wrap your Python code in a try: [your code] except BaseException as ex: [write exception to some log file].