-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the program crash on auto-completion #8
Comments
@limodou Where is the auto-completion related code in ulipad? I can reproduce this issue in ubuntu 16.04 wxgtk3.0 , I want to try fix it. |
in mixins/InputAssistant.py |
Maybe a wxpython bug? |
It seems that it is a multi-thread issue : https://groups.google.com/forum/#!topic/wxpython-users/6rKyY_ICUSc |
Yes I think so. On Sat, Oct 15, 2016 at 10:48 AM, zhangchunlin notifications@github.com
I like python! |
I found that the crash still happen in ubuntu16.04 wxgtk2.8 But still crash, so it might not because of wxpython version. |
There are 2 kinds of errors, one is
the other:
|
But I try wxpython 2.8 demo in ubuntu 16.04, didn't find any crash. |
我不知道是不是和按键事件的处理有关。因为我为了实现延迟处理,以避免按得快时每次都激活自动补全,所以对按键事件进行了捕获和模拟。可能会对linux不兼容。 |
@limodou 这部分代码在哪里?说不定有规避的方法哈. |
主体在mixinx中的Editor.py中:
我通过克隆按键事件,然后延迟处理。不知道这块是不是有问题。 |
recommend ninja-ide ( http://ninja-ide.org/ ), but just use the stable version (now 2.3.x), the beta version 3.x is not stable. |
Maybe we can add another option to disable automatic code completion. Instead, a shortcut key has to be pressed to trigger completion. |
@zhangchunlin , Care to explain with more detail on what you did? I also would like to 'workaround' this issue. |
Today I happened to find that it is modification of mixins/InputAssistant.py in 5da7d5f which cause this crash issue, so I try to revert and it is OK now and keep the auto completion feature. |
I shortly tested on my side. It works. (But i'm on debian now.) |
The editor design and functionality seem amazing, but crashs occurs evertime :(
OS : Linux ( Trisquel {a kind of GNU Ubuntu} )
Test case : i openned a css file and edit::::
the program crash on auto-completion
python UliPad.py
begin... 15:01:14
end... 15:01:14
Erreur de segmentation
python UliPad.pyc
begin... 15:05:14
end... 15:05:15
python: Fatal IO error 11 (Ressource temporairement non disponible) on X server :0.0.
The text was updated successfully, but these errors were encountered: