Install mBlock 5 on WINE (Linux)


#1

Hello,

I am trying to install mblock 5.3 on wine to run on Linux. I managed to install mblock 5.3 on wine but does not run. Any idea what may be going on?

Best regards!


#2

I had the same issue. it does simply not work.

But you can use Windows 10 with VirtualBox. This does even work fine when Windows is not yet activated with a proper license key.


#3

Hi Parconier and stefanf, for this kind of problem, can you record a video and share to support@makeblock.com ? It would helpful for us to locate the problem


#4

I was able to install it on Debian testing (preview of release 11) this way:

stefan@stefanpc:~$ sudo apt install wine wine32
...
stefan@stefanpc:/hdd/install/Makeblock Codey Rocky$ wine mBlock_Windows_V5.3.0.exe
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
wine: created the configuration directory '/home/stefan/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
Could not find Wine Gecko. HTML rendering will be disabled.
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/stefan/.wine" has been updated.
it looks like wine32 is missing, you should install it.
multiarch needs to be enabled first.  as root, please
execute "dpkg --add-architecture i386 && apt-get update &&
apt-get install wine32"
0037:err:module:__wine_process_init L"Z:\\hdd\\install\\Makeblock Codey Rocky\\mBlock_Windows_V5.3.0.exe" not supported on this system
stefan@stefanpc:/hdd/install/Makeblock Codey Rocky$

Try again

stefan@stefanpc:~$ sudo dpkg --add-architecture i386
...
stefan@stefanpc:~$ sudo apt update
...
stefan@stefanpc:~$ sudo apt install wine32
...
0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:create_server class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x17
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:create_server class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x17
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
0030:err:ole:CoGetClassObject class {00021401-0000-0000-c000-000000000046} not registered
0030:err:ole:CoGetClassObject no class object {00021401-0000-0000-c000-000000000046} could be created for context 0x1
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
003f:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
003f:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder

The installer GUI finished successfully without any error or warning. I was also able to install the CH340 driver.

stefan@stefanpc:~$ cd ~/.wine/drive_c/users/Public/Programs/mblock
stefan@stefanpc:~/.wine/drive_c/users/Public/Programs/mblock$ wine mBlock.exe 
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 1
000d:err:menubuilder:convert_to_native_icon error 0x88982F04 committing encoder
0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

0009:err:ole:CoGetClassObject class {529a9e6b-6587-4f23-ab9e-9c7d683e3c50} not registered
0009:err:ole:CoGetClassObject class {529a9e6b-6587-4f23-ab9e-9c7d683e3c50} not registered
0009:err:ole:create_server class {529a9e6b-6587-4f23-ab9e-9c7d683e3c50} not registered
0009:err:ole:CoGetClassObject no class object {529a9e6b-6587-4f23-ab9e-9c7d683e3c50} could be created for context 0x17
0009:err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
0009:err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
0009:err:ole:CoGetClassObject class {00000320-0000-0000-c000-000000000046} not registered
0009:err:ole:CoGetClassObject no class object {00000320-0000-0000-c000-000000000046} could be created for context 0x80000001
0009:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0009:err:ole:CoGetClassObject class {00000320-0000-0000-c000-000000000046} not registered
0009:err:ole:CoGetClassObject no class object {00000320-0000-0000-c000-000000000046} could be created for context 0x80000001
0009:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000122-0000-0000-c000-000000000046}
0009:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0009:err:ole:CoMarshalInterface Failed to marshal the interface {00000122-0000-0000-c000-000000000046}, 80004002
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
0048:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bccf1b5
0037:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0039:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
端口号: 127.0.0.1 52184
0063:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0065:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0067:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
006a:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
[2021-06-03T13:40:54.145] [ERROR] worker - load extension module error Error: spawnSync C:\windows\system32\cmd.exe ENOENT
    at Object.spawnSync (internal/child_process.js:1041:20)
    at spawnSync (child_process.js:620:24)
    at Object.execSync (child_process.js:665:15)
    at Object.execSync (electron/js2c/asar.js:696:23)
    at Object._getWinArch (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:3265)
    at new <anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:11542)
    at Module.<anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:3150)
    at r (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:124)
    at Object.<anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:11772)
    at r (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\http-server\index.js:1:124) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawnSync C:\\windows\\system32\\cmd.exe',
  path: 'C:\\windows\\system32\\cmd.exe',
  spawnargs: [ '/d', '/s', '/c', '"wmic os get osarchitecture"' ],
  error: {
    errno: 'ENOENT',
    code: 'ENOENT',
    syscall: 'spawnSync C:\\windows\\system32\\cmd.exe',
    path: 'C:\\windows\\system32\\cmd.exe',
    spawnargs: [ '/d', '/s', '/c', '"wmic os get osarchitecture"' ],
    error: [Circular],
    status: null,
    signal: null,
    output: null,
    pid: 0,
    stdout: null,
    stderr: null
  },
  status: null,
  signal: null,
  output: null,
  pid: 0,
  stdout: null,
  stderr: null
}
[2021-06-03T13:40:54.159] [WARN] server - worker http-server of null 异常退出
[2021-06-03T13:40:54.373] [ERROR] worker - load extension module error Error: spawnSync C:\windows\system32\cmd.exe ENOENT
    at Object.spawnSync (internal/child_process.js:1041:20)
    at spawnSync (child_process.js:620:24)
    at Object.execSync (child_process.js:665:15)
    at Object.execSync (electron/js2c/asar.js:696:23)
    at Object._getWinArch (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:3265)
    at new <anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:11542)
    at Module.<anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:3150)
    at r (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:124)
    at C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:923
    at Object.<anonymous> (C:\users\Public\Programs\mblock\resources\app\mlink-v2\extension\virtualfs\index.js:1:933) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawnSync C:\\windows\\system32\\cmd.exe',
  path: 'C:\\windows\\system32\\cmd.exe',
  spawnargs: [ '/d', '/s', '/c', '"wmic os get osarchitecture"' ],
  error: {
    errno: 'ENOENT',
    code: 'ENOENT',
    syscall: 'spawnSync C:\\windows\\system32\\cmd.exe',
    path: 'C:\\windows\\system32\\cmd.exe',
    spawnargs: [ '/d', '/s', '/c', '"wmic os get osarchitecture"' ],
    error: [Circular],
    status: null,
    signal: null,
    output: null,
    pid: 0,
    stdout: null,
    stderr: null
  },
  status: null,
  signal: null,
  output: null,
  pid: 0,
  stdout: null,
  stderr: null
}
[2021-06-03T13:40:54.384] [WARN] server - worker virtualfs of null 异常退出

That’s the last message I see. The program seems to hang here. No GUI window opens.