aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
48 stars 62 forks source link

asebastudio crashes when text is typed #884

Closed mart1rosalie closed 5 years ago

mart1rosalie commented 5 years ago

I setup asebastudio on my computer. I am using archlinux (https://aur.archlinux.org/packages/aseba-git/). I can launch asebachallenge and asebastudio. I can also connect my own Thymio II (either wifi or using the link). The variable are refreshed. It seems to work well.

However, when I try to type something (or even click on the button onevent on top the the text field) asebastudio crash with this error message:

terminate called after throwing an instance of 'QUnhandledException'
what():  std::exception
Abandon (core dumped)

It seems related to QT5. Do I have to downgrade my QT version (Qt version 5.11.2)?

stephanemagnenat commented 5 years ago

I just tested the latest master version with Qt 5.9.3 and could not reproduce the problem you experienced.

mart1rosalie commented 5 years ago

Adding the en_US-UTF-8 locale in the file /etc/locale.gen and generating locale with locale-gen as suggested here https://github.com/aseba-community/aseba/issues/885#issuecomment-433295110 solve the issue