Package Details: mblock 4.0.0-4

Git Clone URL: https://aur.archlinux.org/mblock.git (read-only)
Package Base: mblock
Description: Program Robots / Arduino Without writing a single line of code
Upstream URL: http://www.mblock.cc/
Licenses: GPL
Submitter: amiad
Maintainer: amiad
Last Packager: amiad
Votes: 2
Popularity: 0.000000
First Submitted: 2017-06-08 08:58
Last Updated: 2018-12-12 17:17

Latest Comments

1 2 Next › Last »

davidrihtarsic commented on 2019-10-24 21:38

Same error here:

$ mblock
/opt/mblock/resources/tools/arduino A JavaScript error occurred in the main process Uncaught Exception: Error: listen EADDRINUSE :::7070 at Object.exports._errnoException (util.js:1026:11) at exports._exceptionWithHostPort (util.js:1049:20) at Server._listen2 (net.js:1253:14) at listen (net.js:1289:10) at Server.listen (net.js:1385:5) at EventEmitter.listen (/opt/mblock/resources/app.asar/node_modules/express/lib/application.js:617:24) at Object.<anonymous> (/opt/mblock/resources/app.asar/app/main.js:32:6) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32)

(mblock:875275): Pango-ERROR **: 23:35:44.596: Harfbuzz version too old (1.2.7)

Quantasy commented on 2019-10-23 07:25

Maybe I am missing a thing, but mblock won't start, but consumes 100% CPU

Here is the simple console output:

$ mblock /opt/mblock/resources/tools/arduino app listening on port 7070!

(mblock:16054): Pango-ERROR **: 09:12:29.594: Harfbuzz version too old (1.2.7)

?

vilija commented on 2019-09-17 20:52

mblock can't start.

[alex@alex-pc ~]$ mblock /opt/mblock/resources/tools/arduino app listening on port 7070! /usr/bin/mblock: line 2: 1839 Segmentation fault (core dumped) /opt/mblock/mblock

amiad commented on 2018-12-12 17:44

@vn158 : I added it.

vn158 commented on 2018-12-10 08:12

'gconf' is missing in 'depends'

marvids commented on 2018-04-28 07:44

I got "Upload failed" when trying to program my sons mbot, and it turns out that the toolsuite included in the package depends on older libs.

By installing avrdude from Community and replacing the package version with a symlink to the installed version I got it working.

sudo rm /opt/mblock/resources/tools/arduino/hardware/tools/avr/bin/avrdude
sudo ln -s /usr/bin/avrdude /opt/mblock/resources/tools/arduino/hardware/tools/avr/bin/avrdude

The other parts of the tool suite seems to work for now (cross compiler, ...), but I'm guessing it can break anytime. I will look into replacing the entire tool suite with an Arch installed one (when I get the time).

eyal commented on 2018-01-17 12:15

@amiad: I think that I understand what's the problem:

When loading a project, the program first tries to save the current project (even if it's empty). Apparently the default auto-save path is /opt/mblock/resources/web/tmp/project.sb2

My workaround was to set the permissions on this file to 777.

Hopefully there's a better solution, like a setting for the default auto-save path. I'll file a bug on mblock github.

Thanks again for the help.

amiad commented on 2018-01-15 17:12

@eyal: check the permissions of file. You can open bug in github.

eyal commented on 2018-01-15 17:06

@amiad:

  1. On Makeblock site there are screenshots even documentation that explain about the Extensions menu, so there should be one.

  2. Didn't notice as I installed with other stuff. Anyway that solves the problem.

However...

When I try to load a project that I saved - I get an error message (see below). Saving is ok, and loading as root is ok. Any idea?

Many thanks!

Error message when loading a project:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: EACCES: permission denied, open '/opt/mblock/resources/web/tmp/project.sb2'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
at Object.fs.writeFileSync (fs.js:1343:33)
at Project.openProject (/opt/mblock/resources/app.asar/app/project.js:70:12)
at /opt/mblock/resources/app.asar/app/menu.js:45:46
at Function.wrappedCallback (/opt/mblock/resources/electron.asar/browser/api/dialog.js:98:14)

amiad commented on 2018-01-13 20:47

@eyal:

  1. I don't think there is extensions menu but I only the packager.

  2. You need to add your user to plugdev & uupc groups, message about this appeared after the installation.