gcompris / GCompris-qt

GCompris in Qt Quick - Mirror of https://invent.kde.org/education/gcompris
218 stars 167 forks source link

Enrich your vocabulary crashes #259

Closed Ericchi closed 4 years ago

Ericchi commented 4 years ago

I'm using KDE Plasma 5.19.4 on Manjaro. GCompris is version 0.97.1-1 The game Enrich your vocabulary just crashes everything after clicking on it 😭

My terminal outputs this when it crashes:

qrc:/gcompris/src/activities/menu/Menu.qml:79:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/core/Bar.qml:314:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/core/Bar.qml:267:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/activities/menu/Menu.qml:687:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Found box2d in  "/usr/lib/qt/qml"
Local resource is up-to-date: "backgroundMusic-ogg.rcc"
Local resource is up-to-date: "voices-it.rcc"
Successfully registered resource "/home/user/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-it.rcc"
qrc:/gcompris/src/core/Bar.qml:314:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/gcompris/src/core/Bar.qml:267:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
load configuration for: "lang"
Downloading resource file "data2/voices-ogg/voices-en_US.rcc"
qml: lang: Error parsing json: Unable to open the file
qml: Lang: Invalid dataset, can't continue: qrc:/gcompris/src/activities/lang/resource//content-en_US.json
[1]    40985 segmentation fault (core dumped)  gcompris-qt
petitlapin commented 4 years ago

Hi, thanks for reporting the issue. We had this issue with the 0.97 version, but it should have been fixed in the 0.97.1. Can you confirm that the installed version is 0.97.1 and not 0.97?

We tested on a Manjaro with latest version and we had no crash using Italian locale.

Johnny

petitlapin commented 4 years ago

Hi,

we could reproduce! Can you go on the configuration panel and download the external wordset? It should fix the issue. We will check on how to fix the issue when it's not selected.

petitlapin commented 4 years ago

We fixed the issue: https://invent.kde.org/education/gcompris/-/commit/33c88f8cb9cfa14095f10b32d453be60bda8a178

We won't do a new release as there is a workaround (install the full image dataset). Can you close the bug once you have confirmed it works for you?

Thank you

Ericchi commented 4 years ago

After downloading the full word image set it doesn't crash anymore. Thank you!