Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top