Pythonista-Issues icon indicating copy to clipboard operation
Pythonista-Issues copied to clipboard

Pythonista crashes when opening .py file

Open af415 opened this issue 3 years ago • 1 comments
trafficstars

I’m trying to open a UI .py file (actual .py file not .pyui) but when I do it crashes the Pythonista application. I have done a restart of my iPad and still the same issue. Is there anything obvious I am missing?

af415 avatar Nov 26 '21 03:11 af415

Click pythonista3:// or maybe just pythonista:// in safari to restart the app in safe mode.

How large is this file? If you transfer it to a PC or Mac, can you run flake8 or black on the file to ensure it is a valid Python file? Can you paste the file here?

cclauss avatar Nov 26 '21 05:11 cclauss