Search code examples
pythonwindowspython-3.xcx-freeze

Python executable crashes built with cx_Freeze


I've got a simple script for message encryption and converting result into QR Code. It uses pycrypto, reportlab and tkinter. Here's the source: click

It works correctly, but if I build it with cx_Freeze, it crashes when attempting to encrypt a message: screenshot

P.S. I also tried py2exe, but the program crashes on start with no debug output.


Solution

  • I solved this issue by editing parser.py (C:\Python33\lib\html\parser.py): patch