0mkara / etheratom

Solidity compilation and Ethereum contract execution interface for hackable atom editor
https://atom.io/packages/etheratom
GNU General Public License v3.0
252 stars 41 forks source link

Uncaught TypeError: Cannot create property 'successHash' on boolean 'false' #252

Open 0mkara opened 5 years ago

0mkara commented 5 years ago

[Enter steps to reproduce:]

  1. It just happened while try to compile SafeMath contract using version ^0.4.24 and trying to switch to another version ^0.5.0 while another compilation in progress.

Atom: 1.34.0 x64 Electron: 2.0.16 OS: Mac OS X 10.14.3 Thrown From: etheratom package 4.4.6

Stack Trace

Uncaught TypeError: Cannot create property 'successHash' on boolean 'false'

At /Users/0mkar/Karma/Etheratom/build/main.js:1016

TypeError: Cannot create property 'successHash' on boolean 'false'
    at ChildProcess.solcWorker.on.m (/Users/0mkar/Karma/Etheratom/build/main.js:1016:43)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at emit (internal/child_process.js:772:12)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

     -4:27.6.0 eth-interface:toggle (div.tool-panel.tree-view)
  3x -4:11.2.0 core:close (input.hidden-input)
     -1:46.3.0 core:save (input.hidden-input)
  2x -1:46.3.0 eth-interface:compile (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -1:25.5.0 core:move-right (input.hidden-input)
     -1:24.5.0 core:backspace (input.hidden-input)
  3x -1:23.8.0 core:move-right (input.hidden-input)
  2x -1:22.8.0 core:backspace (input.hidden-input)
     -1:19.7.0 core:save (input.hidden-input)
  2x -1:19.7.0 eth-interface:compile (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
  4x -0:47.9.0 core:undo (input.hidden-input)
     -0:38.7.0 core:save (input.hidden-input)
     -0:38.7.0 eth-interface:compile (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:32.6.0 core:save (input.hidden-input)
     -0:32.6.0 eth-interface:compile (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

atom-typescript 13.1.0 
busy-signal 2.0.0 
etheratom 4.4.6 
go-plus 6.1.0 
highlight-selected 0.14.0 
hyperclick 0.1.5 
intentions 1.1.5 
language-babel 2.85.0 
language-solidity 0.1.1 
language-vue 0.24.0 
linter 2.3.0 
linter-eslint 8.5.2 
linter-ui-default 1.7.1