OttoDIY / blockly

Otto Blockly; a fully integrated graphical programming for any type of Arduino projects, including robots, ready to install in your computer, it works offline and also online
https://www.ottodiy.com/software
GNU General Public License v2.0
114 stars 80 forks source link

error on compiled app for linux - no usb option and app freeze #134

Closed elton-bt closed 2 months ago

elton-bt commented 2 years ago

Hi, when testing the app with npm start, everything works. I can test the code and upload it to otto.

However, when I run npm run compiler, in the generated .appImage, when executed, doesn't appear the option to choose the usb port. Also, I can't check the code and the app freeze when i try.

cparrapa commented 2 years ago

Hi @elton-bt Linux version is in this other repo https://github.com/OttoDIY/blocklyLinux

We are planning to merge onto this but we need help on that

elton-bt commented 2 years ago

Hi @cparrapa . When I opened the issue I was testing the linux version present here: https://github.com/OttoDIY/blockly/tree/versionlinux. Here, npm start opens the app that works. But the .appimage generated with the npm run compiler is having problems as reported by me earlier.

As you sent me the new link (https://github.com/OttoDIY/blocklyLinux) I did all the procedure to build the project again. Now the app opened by npm start doesn't work and the .appimage generated with the npm run compiler doesn't work either, just like before. I installed the .deb and the same error remains: It doesn't allow the choice of usb ports, and when verifying the code the application crashes.

zelogik commented 2 years ago

Same here, the 1.4.2 AppImage on the release page don't allow to change USB and freeze completely when try to compile/upload.

And the latest version from github work with npm start (when you change fs/promises bug) but have the same behavior as the compiled 1.4.2 AppImage.

elton-bt commented 2 years ago

@zelogik , the same problem that I mentioned. But, unfortunately, the issue was closed. @cparrapa can you reopen the issue?

cparrapa commented 2 years ago

Now is reopen @elton-bt