andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 39 forks source link

Crashing fix #397

Closed bjones1 closed 8 years ago

bjones1 commented 8 years ago

I'd tested earlier with no problems, but now I'm getting a "RunTime error: wrapped C/C++ object of type Qutepart has been deleted" when I run unit tests which include commit 5793ae46d268e30613cff3901b52800db86f0e1b. Backing out this commit makes the failure go away. Would you check on Linux?

andreikop commented 8 years ago

On linux all is fine when recent Qt is used. What is your Qt version?

bjones1 commented 8 years ago

Qt 5.5.1, SIP 4.17, PtQt 5.5.1, Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)], OS nt, platform Windows 7.

andreikop commented 8 years ago

Hmm. I think this crash will not be reproduced in real life. So, if it breaks your tests try to add something like if "test" not in sys.argv[0]: to fix the tests

bjones1 commented 8 years ago

OK, will do.