Question

I have problem with python scripts built in cx_freeze. When I run the source script by python, everythink works. But when I run the compilled script, it still ended with errors like: object of type 'NoneType' has no len().

Thank you for your help, Honza

Was it helpful?

Solution

After long investigation I found that the problem was with HOME environment variable (It has to be set).

When I set the environment variable HOME, it started to work properly.

I hope it will safe time and help somebody, Honza

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top