Code Monkey home page Code Monkey logo

Comments (5)

RoboThom avatar RoboThom commented on June 20, 2024

Ardublockly_error_Prg
Ardublockly_error

Although I do not have a solution, only extension.
Maybe someone will be able to better estimate the error from the image I attach.

On the left is version 0.1.2 and on the right is the previous one: 0.1.1.

like puttley, i also have the mac OS Big Sur on the MAC.

the program itself thinks that no functions are implemented and at the end gives a window with the following error message:

A JavaScript error occurred in the main process

Uncaught Exception:
TypeError: Cannot read property 'webContents' of null
at Timeout._onTimeout (/Applications/Ardublockly.app/Contents/Resources/app.asar/main.js:95:27)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)

Regards
Robert

from ardublockly.

puttley avatar puttley commented on June 20, 2024

I have not found a solution, but did come up with a work around. If you start the ardublockly server running first, then launch Ardublockly, the app will work. I modified start.py so that it starts the server, but does not launch the browser version. Once the server is running, start desktop Ardublockly app as normal and it should run. To automate this, I wrote a batch script and added it to my login scripts to run at startup.

from ardublockly.

bruno0815 avatar bruno0815 commented on June 20, 2024

Hello @puttley, please excuse me, but would you mind to give some more details? I am new in programming and I would like to use ardublocky on my M1, but unfortunately I cannot follow your instructions. What do you mean with starting the server first? I do not know, how this app is working in the background

from ardublockly.

puttley avatar puttley commented on June 20, 2024

Sure. Install the app as normal. Navigate to the contents folder and open start.py in an editor. Go to line 77 (I think) and set launch_browser to False. Save start.py.
After you've edited the file, execute start.py. You should see the server starting message in a terminal window. Once the server has started, launch Ardublockly as you normally would.

from ardublockly.

bruno0815 avatar bruno0815 commented on June 20, 2024

@puttley Thanks so much. I struggled a little with the server starting part - but finally it works. And it was line 77.

I did not expect, that you are answering my questions, as this topic is already from June. So thank you very much... Now I can start to learn :)

from ardublockly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.