-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add Kolibri 0.16.0b5 #9
Conversation
d98fbf1
to
4b28375
Compare
I suppose this is a draft because the Kolibri 0.16 release is not stable? LGTM otherwise |
I think it's a draft because the app will need some changes to actually work on 0.16. |
Yes, this was floating around from endlessm/kolibri-installer-gnome#16. It needs to be tested properly to make sure we haven't regressed anywhere else, and I didn't explain in the earlier PR why |
@dylanmccall Have you tested this out? Since the explore plugin depends on 0.16, this is required. Do you have any idea what things need to be changed? |
4b28375
to
a61c42e
Compare
Yeah, I ended up spending today on this one. Still needs a bit more time. The big thing is we need to either rebase this patch, or fix learningequality/kolibri-installer-gnome#87. Looking at the relevant changes in So I did that. But there appear to be some errors from our additional Kolibri plugins, now, so that needs to be sorted out. |
bef6484
to
69b5103
Compare
That's a nice improvement. I didn't look that closely at the last commit, but clearly the auto provision file is nice win. My other question about moving to 0.16 is more about desktop-auth-plugin's |
69b5103
to
3030dca
Compare
3030dca
to
cbf6ef1
Compare
I solved one issue, where the frontend was getting stuck on Kolibri's script loading spinner, with this in the log:
I don't really understand what the problem is, except that it is specifically happening with WebKitGtk. Solved by upgrading the runtime to what will (soon - September 20) be GNOME 45. That runtime's version of WebKitGtk works fine here. |
There is one last problem, where kolibri-daemon fails to start for the first time with the following error inside Kolibri:
It starts fine a second time, because it doesn't try to re-enable the plugins a second time. (If I hack around and force the app to execute that code to enable plugins anyway, we run into the same error in every case). I'm not sure why things are happening in the wrong order and need to do some spelunking 🤔 Update: Spelunking concluded! I don't think we need that |
2d27fca
to
d182648
Compare
This was a migration step for an old issue. It is unlikely that it is still needed. https://phabricator.endlessm.com/T33314
With this change, kolibri-daemon generates an automatic_provision.json file before starting Kolibri. Because Kolibri must be initialized early in the application's lifecycle, it would be a nontrivial effort to make this happen conditionally. For simplicity, kolibri-daemon will always generate this file, even when Kolibri is running as a session service. This is a change from the previous release, where automatic provisioning only applied for Kolibri as a system service. It is possible to go back to the old behaviour by running kolibri-daemon with the environment variable `KOLIBRI_DAEMON_DISABLE_AUTOMATIC_PROVISION=yes`. learningequality/kolibri-installer-gnome#87 #7
This is now completely handled by kolibri-daemon. Together with this change, the frontend will now always log in automatically. This can be disabled by running kolibri-gnome with the environment variable `KOLIBRI_APP_DISABLE_AUTOMATIC_LOGIN=yes`. learningequality/kolibri-installer-gnome#87 #7
DFG JIT is broken in the version of WebKit included in the GNOME 44 runtime, resulting in an error with Kolibri 0.16. #7
It is unnecessary to call `registered_plugins.register_plugins` before enabling new plugins, and in Kolibri 0.16 this causes an error when Kolibri is initialized. #7
d182648
to
e12b283
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Verified and covered by #49 (comment) |
#7