# Blockly Games on RPi Kolibri don't work

**URL:** <https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418>\
**Category:** Kolibri\
**Created:** [February 10, 2020, 9:39pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418 "2020-02-10T21:39:27Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [February 10, 2020, 9:39pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/1 "2020-02-10T21:39:27Z")

</div>

If you have a specific technical inquiry, construct your post with the following:

## Summary

We have Kolibri running under RACHEL (from OER2GO) on an RPi.

Most of the other modules run fine but Blockly games don’t work at all - just static game screens that don’t do anything. On the Blockly website they separately run fine so I’m guessing there is something wrong with the Kolibri build?

## Technical details

- Kolibri version: 0.12
- Operating system: Raspbian Jessie
- Browser: Firefox on a Linux Mint laptop connected over network

---

<div class="post-metadata">

**Author:** ![jordan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jordan/32/357_2.png) [@jordan](https://community.learningequality.org/u/jordan)\
**Post date:** [February 11, 2020, 10:27pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/2 "2020-02-11T22:27:27Z")

</div>

Hello @AndrewC,

Thank you for providing all of this information regarding this issue. In order to better support you, could you please open your Firefox developer tools (CMD/CTRL + Shift + I), and see if there are any errors in the Console tab?  
Also, could you please clarify how you were able to get Blockly Games on your device? Did you import it directly from Kolibri, or did you import the [OER2Go package](http://oer2go.org/viewmod/en-blockly-games)?

Thank you for your patience!

Jordan

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [February 17, 2020, 11:38am UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/3 "2020-02-17T11:38:25Z")

</div>

(Replied by email last week but it bounced yesterday)  
Hi Jordan

Thanks for getting back to me.

Here is what is displayed in the Console:

“This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. learn  
[INFO: kolibri/core/assets/src/core-app/mediator.js] KolibriModule: learn\_module registered mediator.js:98:12  
[INFO: kolibri/core/assets/src/core-app/mediator.js] KolibriModule: html5\_app\_renderer\_module registered mediator.js:98:12  
‘src’ attribute of element is empty. 69ad393cc5920dedeaab71193780b87a.zip:1:1  
window.controllers/Controllers is deprecated. Do not use it for UA detection. b96aac5607434450884f1f3a14fcfe7d.ace.js:1:18480  
TypeError: window.\_document\_cookie is undefined 9fc43a0f3f0c46588e3d82b72152d277.boot.js:49:18  
The script from “[http://192.168.1.46:9090/zipcontent/69ad393cc5920dedeaab71193780b87a.zip/”](http://192.168.1.46:9090/zipcontent/69ad393cc5920dedeaab71193780b87a.zip/%E2%80%9D) was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. 69ad393cc5920dedeaab71193780b87a.zip  
SyntaxError: expected expression, got ‘\<’ 69ad393cc5920dedeaab71193780b87a.zip:2  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: coach\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_user\_profile\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: facility\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_login\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: learn\_module\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: device\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_user\_profile\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: device\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: facility\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_login\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: learn\_module\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: coach\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: facility\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_login\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_user\_profile\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: learn\_module\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: device\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: coach\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_user\_profile\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: user\_module\_login\_nav\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: facility\_management\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: learn\_module\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: coach\_side\_nav-0.12.1.js.map  
Source map error: Error: request failed with status 404  
Resource URL: [http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43](http://192.168.1.46:9090/learn/#/topics/e409b964366a59219c148f2aaa741f43)  
Source Map URL: device\_management\_side\_nav-0.12.1.js.map”

As for the build, I believe it was imported from the OER2GO package by one of our more experienced volunteers.  
All the other modules seem to work so far, just not this one, but then it has to run code.

192.168.1.46 is the IP address of the RPi server that I am accessing from the Linux laptop. Kolibri Info gives:

Version: 0.12.1  
OS: Linux-4.14.98-v7±armv7l-with-debian-9.8  
Installer: apt  
Server: Kolibri internal server  
Database: /home/kolibri/.kolibri/db.sqlite3  
Device name: rachel  
Free disk space: 38 GB  
Server time: Tue Feb 11 2020 21:20:28 GMT+0000 (Greenwich Mean Time)  
Server timezone: America/Los\_Angeles

Regards  
Andrew 🙂

---

<div class="post-metadata">

**Author:** ![jordan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jordan/32/357_2.png) [@jordan](https://community.learningequality.org/u/jordan)\
**Post date:** [February 19, 2020, 3:21am UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/4 "2020-02-19T03:21:24Z")

</div>

Hello @AndrewC,

Thank you for providing all of this background information. Could you please try the following:

1. Navigate to your Device tab and update your Blockly channel to the latest version
2. If that doesn’t work, you might need to update to the the latest version of Kolibri (latest version is [downloadable here](https://learningequality.org/download/))
3. If it’s still not working, unfortunately, we don’t have access to edit the OER2GO packages, but you might be able to post on the [RACHEL forum](http://community.rachelfriends.org/) and have someone help you there

Best regards,  
Jordan

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [February 25, 2020, 10:03am UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/5 "2020-02-25T10:03:12Z")

</div>

Thanks Jordan.

Unfortunately the Blockly channel update did not fix the problem so I will need to try and work out how to update Kolibri from 0.12 to 0.13 on the RPi without destroying the RACHEL build that I have working. If anyone else has done that I would appreciate them posting a step-by-step Howto.

As Blockly works fine on my separate standandalone Kolibri 0.13 build under Linux Mint I think there is a good chance that you are right and it needs a later version.

Regards  
Andrew

---

<div class="post-metadata">

**Author:** ![jordan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jordan/32/357_2.png) [@jordan](https://community.learningequality.org/u/jordan)\
**Post date:** [March 3, 2020, 7:45pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/6 "2020-03-03T19:45:30Z")

</div>

Hello @AndrewC,

Apologies for the late response. I have reached out to @jredrejo regarding documentation, and he provided a [zip for upgrading Kolibri](https://drive.google.com/file/d/1KRewOWDnlEVUPSQkBU7cK0E0reWA9hHB/view?usp=sharing). Once you download this, you can run the `zz-kolibri-upgrade` file to upgrade your Kolibri version. Hope this helps!

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [March 6, 2020, 10:36am UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/7 "2020-03-06T10:36:33Z")

</div>

Thanks Jordan.

I discovered last night that WorldPossible has a completely new RACHEL-PI-kolibri image that includes 0.13.1 already built. It is dated February 2020 and saves a lot of time doing a manual upgrade by providing a clean new image that just needs the RACHEL and Kolibri resources to be populated. That may help others with the same issue.

The only issue I now have with the RPi build on import is the dreaded “No drives with Kolibri resources are connected to the server” even when the drive is connected to and visible in the RPi. I need to find a fix for that else I can’t build new servers as intended and transfer our selection of Kolibri data.

---

<div class="post-metadata">

**Author:** ![JamesK](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jamesk/32/971_2.png) [@JamesK](https://community.learningequality.org/u/JamesK)\
**Post date:** [March 12, 2020, 9:56pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/8 "2020-03-12T21:56:32Z")

</div>

Hi @AndrewC,

This is James ( @jamesk from the World Possible forums ). I just read your other post. I will create a new RACHEL-Pi image that will hopefully fix this issue.

James

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [March 12, 2020, 10:17pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/9 "2020-03-12T22:17:41Z")

</div>

Hi James

That would be absolutely great if you could, thanks.

We have created some good IT Curriculum content in a (private) Kolibri channel and would like to roll it out to schools in Malawi.

Regards  
Andrew

---

<div class="post-metadata">

**Author:** ![JamesK](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jamesk/32/971_2.png) [@JamesK](https://community.learningequality.org/u/JamesK)\
**Post date:** [March 13, 2020, 4:55am UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/10 "2020-03-13T04:55:47Z")

</div>

Hi Andrew,

You’re welcome and sorry for that. It is my fault as part of the installation process that it’s still using the Kolibri user and that blocks the USB devices from use. I rely on user feedback in testing some of the parts of things like Kolibri I’m not familiar with so thank you for posting this.

It takes me a bit of time to make an image and properly go through my check list of things to do. I will have it ready for you tomorrow and will let you know when it’s up so you can try it out and let me know if it helps. I think in these situations it’s better to start fresh than to try and modify and correct an existing bad installation.

I love hearing about deployments and that sounds like a fantastic project. Great work!

James

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [March 13, 2020, 12:18pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/11 "2020-03-13T12:18:09Z")

</div>

James

I’m happy to help bug-fix for you if required.

It is worth noting that I not only could not get the import to work from USB drive but I could not import data over my LAN to/from the RPi from/to a Kolibri installation on Mint either. That left me with the only option to import all the modules from Kolibri Studio which is way too S\_L\_O\_W. ( I don’t know why that should be, but on my very fast cable connection it took 3 days and nights to import about 160GB from all modules).

Look forward to getting your updated image if you can manage to fix these things!

Regards  
Andrew

---

<div class="post-metadata">

**Author:** ![JamesK](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jamesk/32/971_2.png) [@JamesK](https://community.learningequality.org/u/JamesK)\
**Post date:** [March 13, 2020, 3:49pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/12 "2020-03-13T15:49:23Z")

</div>

I would love your feedback, especially with this image when it’s ready.

What method are you using to import modules from Kolibri Studio? I will definitely look at it to make sure this issue is also fixed if I can reproduce it. If you are transferring with WInSCP, there is an issue where it uses 100% of one CPU core to do the transfer and this makes it extremely slow. The solution is to go to edit\>advanced\>connection and turn off “optimize connection buffer size” in your site’s settings.

If you are downloading content from World Possible, I have experienced slow speeds from them on all of my devices and have not been able to fix it. I have tested multiple connections and their server fluctuates the speed from my top download speed back down to 10kb and back up again even on big files.

James

---

<div class="post-metadata">

**Author:** ![AndrewC](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@AndrewC](https://community.learningequality.org/u/AndrewC)\
**Post date:** [March 13, 2020, 4:08pm UTC](https://community.learningequality.org/t/blockly-games-on-rpi-kolibri-dont-work/1418/13 "2020-03-13T16:08:37Z")

</div>

Hi James

> What method are you using to import modules from Kolibri Studio?

In my Kolibri installation I am just going to Channels, Import and selecting Kolibri Studio from the three source choices. (The other 2 don’t currently seem to work in my setup as you know). So AFAIK it is not using WinSCP - though I might try that if you think it is better.

> If you are downloading content from World Possible, I have experienced slow speeds from them on all of my devices and have not been able to fix it.

Actually I downloaded GCF LearnFree from the WorldPossible site using the RACHEL RPi server version and it was pretty quick to download about 9.5GB - around 45 mins IIRC. This is one of the modules that we have to provide under RACHEL as despite being an excellent teaching resource it seems (strangely) not to be available under Kolibri.

Hope that helps.

Regards  
Andrew
