Help with installation #390
-
Greetings I followed the install instructions. The local website runs, but when I select "code editor" I do not see any blocks in the middle column. I have tried both on Chrome and Edge browsers. I do not have any restrictions on popups or javascript. Something has to be amiss with the local installation as my browsers can display the public version at dev.blawx.com. See screenshots attached. Does anyone have an FAQ on these types of problems? Or any suggestions on how to approach it? I wasn't sure where else to ask for help. Other relevant info:
Really appreciate any tips at all as I am determined to try out blawx and currently I am stuck. Regards Hamish |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Hi, Hamish! Thanks for getting in touch. That's an odd problem. update.sh looks for an existing instance to shut down that isn't there the first time you run it, so the error message is expected. I wonder if you could open the developer tools inside your browser (CTRL+SHIFT+I), and tell me if there are any errors being thrown in the javascript console. It seems like it's not successfully injecting Blockly into the page, as opposed to not properly loading the blawx code into the blockly interface, so I suspect the javascript console might give us some clue as to what went wrong. |
Beta Was this translation helpful? Give feedback.
-
Ah thanks very much for looking into and letting me know, I will stand by. I procrastinated a while to try this, I can wait a bit longer! I should also have mentioned I tried building with an earlier version 1.3.17-alpha but it had the same issue. |
Beta Was this translation helpful? Give feedback.
-
OK, I think I have figured out the problem. It seems that when Google's Blockly switched to version 9, they also changed what is included in the github repository, and where some of those things are kept. So there is now no way to install it that has both a) the compiled .js files, and b) the appengine file that we use for doing saving .blawx files. The solution was to abandon the current installation method of cloning from git, and instead install using npm, and then grab a single file from the github repository that is not included in the npm package. I have created a branch called "hamish" that has made the changes to the Dockerfile, and updated the HTML templates to agree with the new locations for some of the files in the package. Let me know if you have any problems, but I think it should work. If it works for you, I'll release it as v1.3.32-alpha. |
Beta Was this translation helpful? Give feedback.
-
Awesome, I now see the blocks! Thanks so much for sorting this out, now I can play :) |
Beta Was this translation helpful? Give feedback.
OK, I think I have figured out the problem. It seems that when Google's Blockly switched to version 9, they also changed what is included in the github repository, and where some of those things are kept. So there is now no way to install it that has both a) the compiled .js files, and b) the appengine file that we use for doing saving .blawx files.
The solution was to abandon the current installation method of cloning from git, and instead install using npm, and then grab a single file from the github repository that is not included in the npm package.
I have created a branch called "hamish" that has made the changes to the Dockerfile, and updated the HTML templates to agree with the new…