atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
182 stars 4 forks source link

App crashes on editing a python source file #1809

Open toastmaker opened 7 years ago

toastmaker commented 7 years ago

An attempt to modify a Python file in edit mode leads to immediate app crash (seg. fault). The file is displayed but on an attempt to modify the file in the editor by typing in, the app crashes. OSX: macOS Sierra 10.12.3, Chocolat v3.3.4. It happens to editing Python files only, I suspect a bug in a Python bundle (such as syntax check, keyword complete or list of symbols).

tobyspark commented 6 years ago

I get this too, entirely reproducibly, on one particular Python source file.

Steps to reproduce:

Open this file in Chocolat: https://github.com/tobyspark/folk-rnn-webapp/blob/a627fd930032208b6a1d8523c938707254159f73/folk_rnn_site/composer/tests.py

Start editing. Crash usually within a few keystrokes.

Note commenting out the line

from email.utils import format_datetime # RFC 2822 for parity with django template date filter

will allow editing without crash.