Hi,

you are using the new release 5.0.

I tried it also to test compatibility to older releases.

On thing I noticed is in the 5.0 release something like:

if __name__ == "__main__":
  main()

is no longer possible in your provided startup script.

In the 5.0 the startup script is only imported.

Simply execution your main in the script at top level like:

main()

solved it.

If you are under Windows and only double click/execute the executable nothing
will happen and you also see no error.
This does look like the executable does not start.

Regards,

Wolfgang


On 22.11.2016 11:58, Andreas Paeffgen wrote:
> On Windows 10 (32bit), cx_freeze 5.0, Python 3.4
> 
> The executable builds, but does not start.
> I start the executable from a shell. No error is reported, but there 
> will be no gui either.
> 
> How to debug this execubable?
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
> 



------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to