Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 04:53
    GhettoGarlic commented #305
  • Apr 27 03:08
    applevinc opened #306
  • Apr 02 16:50
    shaneetrain commented #305
  • Mar 09 16:29
    Stone38 edited #305
  • Mar 09 16:17
    Stone38 opened #305
  • Mar 04 10:19
    LinberDuan commented #304
  • Mar 04 10:19
    LinberDuan closed #304
  • Mar 04 10:19
    LinberDuan commented #304
  • Mar 04 10:19
    LinberDuan edited #304
  • Mar 04 10:18
    LinberDuan opened #304
  • Aug 19 2020 06:35
    dermotmcg opened #303
  • Jul 31 2020 19:32
    sacredwx commented #294
  • Jun 05 2020 18:04
    sureshbhabugl commented #302
  • Apr 12 2020 21:21
    0mkara labeled #292
  • Apr 12 2020 21:20
    0mkara labeled #294
  • Apr 12 2020 21:19
    0mkara labeled #300
  • Apr 12 2020 21:19
    0mkara labeled #299
  • Apr 12 2020 21:18
    0mkara labeled #302
  • Mar 15 2020 18:27
    0mkara commented #302
  • Mar 11 2020 14:33
    DecentrilizedMan opened #302
João Pedro Almeida
@jalme
still compilation hangs
Uncaught (in promise) TypeError: Cannot read property 'content' of undefined
at Web3Helpers.compileWeb3 (/home/jalme/.atom/packages/etheratom/build/main.js:989)
at Web3Env.compile (/home/jalme/.atom/packages/etheratom/build/main.js:8060)
at compileSubscriptions.add.atom.workspace.observeTextEditors.editor (/home/jalme/.atom/packages/etheratom/build/main.js:7995)
at Workspace.observeTextEditors (/usr/share/atom/resources/app/static/<embedded>:11)
at Web3Env.subscribeToCompileEvents (/home/jalme/.atom/packages/etheratom/build/main.js:7990)
at HTMLElement.web3Subscriptions.add.atom.commands.add (/home/jalme/.atom/packages/etheratom/build/main.js:7915)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11)
at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11)
at CompileBtn._handleSubmit (/home/jalme/.atom/packages/etheratom/build/main.js:5024)
at Object.ka (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at qa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at ra (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at wa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at Aa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at ya (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Ba (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Kd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:81)
at hb (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:283)
at Qd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:83)
at Hc (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:84)
at Pd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:84)
at exports.unstable_runWithPriority (/home/jalme/.atom/packages/linter-ui-default/node_modules/scheduler/cjs/scheduler.production.min.js:18)
at fg (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:120)
at fb (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:283)
at Nd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:82)
ZAlliance
@ZAlliance
@0mkara i am using the newest version(4.5.0)
Omkara
@0mkara

still compilation hangs

@jalme Not sure then why it is not loading contents of your solidity file. Can you provide a screenshot of how the process goes ?

@ZAlliance what are you using for blockchain client ? Ganache/geth ?
ZAlliance
@ZAlliance
ganache,i am using ganache2.0.2 .appimage
so it's the problem of the connection of atom&ganache?
Omkara
@0mkara
If you can see the accounts like the above image, ganache and atom is working great then
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed this is the only meaningful error message we get
João Pedro Almeida
@jalme
Screenshot from 2019-11-07 11-43-34.png
Screenshot from 2019-11-07 11-44-48.png
Screenshot from 2019-11-07 11-45-16.png
hope it helps
let me know if you need anything else
the command line that I used to run geth is geth --testnet --rpc --rpcapi="eth,web3,personal" --ws --wsorigins="*" --wsapi="eth,web3,personal" console
Omkara
@0mkara
@jalme you should select Contract tab to see the compilation result
João Pedro Almeida
@jalme
The only thing that shows up on that tab is compiling and nothing else
João Pedro Almeida
@jalme
Screenshot from 2019-11-07 15-25-29.png
Omkara
@0mkara

Ok now next thing to do is set your node config properly. Probably best thing is to try with ganache command line tool.

npm i ganache-cli
[0mkar@localhost etheratom]$ ganache-cli
Ganache CLI v6.4.4 (ganache-core: 2.5.6)

Available Accounts
==================
(0) 0xa3b7663040328a9ec7b71444c0a1b9ee0c65130d (~100 ETH)
(1) 0x3263764105b510871a8c9b8feca4b8e7afed1a2e (~100 ETH)
(2) 0xf72b6411bf716aeaa363e347184949e80af53d9b (~100 ETH)
(3) 0x740c485401e49f66418d25bab8ebde036a49e27c (~100 ETH)
(4) 0x99ad97e8abd2490e9576473981b9247b3dec06de (~100 ETH)
(5) 0xd966be3f9943bb9fac4da49341c94727bd287892 (~100 ETH)
(6) 0x76b969d628109701279af1f5ac9d9b93784a9816 (~100 ETH)
(7) 0x30b8ee145fd8cfcce19d68267dd01877eb08787d (~100 ETH)
(8) 0x8f2556b1cd17cb4956e4ce34d13c6762b13c0c08 (~100 ETH)
(9) 0x0eb51696242be16e79f82bf480cbe6521ce5042b (~100 ETH)

Private Keys
==================
(0) 0x425eb3ef351849451155b0c21c2843d1b3a284866fbf8ca048f4123833cae659
(1) 0x215f6f19fde1159cbf6391401c89e4e5db031a206e0b32d447aa929ac09d7361
(2) 0x97dab788aca0c81b9233bba3c1726f57f94826c15e15d6266987f8934aa7b37f
(3) 0x0452c3932c2c6e55bf6df3f516ce9c280f41a7d9631b8d8d7adbca3ba41e9d41
(4) 0x6ff679df4b6001d0175ba886ac9bd8fdd36464062aefbaafa1193758c4f4d90e
(5) 0xaaaec87d13044008c910794d14fe8cdbec1340321a2bb4024ee59222ffa95b26
(6) 0xf3174cebd7918c3a2ee769384e4321a301172187aeb3c2b4e76b583cacc44747
(7) 0xa378f1921831b748dbe8b8613249f3968cea5cca82c667462efceb5f9a682666
(8) 0x6e42a59ee5ff87583f5a7c322f8f6366d11aa555504d2053df28daf5349bc927
(9) 0xd2a769ad20154759039667e894262bf6ec49bb716b5718a2f839ed5b55155767

HD Wallet
==================
Mnemonic:      defy comic heart pupil gold fitness shoot artwork cinnamon useful alert tongue
Base HD Path:  m/44'/60'/0'/0/{account_index}

Gas Price
==================
20000000000

Gas Limit
==================
6721975

Listening on 127.0.0.1:8545

Once you get ganache running you will see accounts in etheartom console. Then try compiling again.

@jalme
João Pedro Almeida
@jalme
Thanks will try that
it
João Pedro Almeida
@jalme
Still stuck
Screenshot from 2019-11-07 19-14-36.png
Screenshot from 2019-11-07 19-15-15.png
Screenshot from 2019-11-07 19-15-56.png
Omkara
@0mkara
Yeah it takes some time but it compiles for me. Now if you did not get any result even after waiting for some time, you might want to open debugger console of atom by hitting ctrl+shift+i and check log there. Also share logs and screenshots here.
João Pedro Almeida
@jalme
Still hang after more than 15 minutes
Object
/home/jalme/.atom/packages/etheratom/build/main.js:8392 All dependencies installed, good to go
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:7930 Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:755 syncing:changed
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:8040 Compiling contract...
/home/jalme/.atom/packages/etheratom/build/main.js:989 Uncaught (in promise) TypeError: Cannot read property 'content' of undefined
at Web3Helpers.compileWeb3 (/home/jalme/.atom/packages/etheratom/build/main.js:989)
at Web3Env.compile (/home/jalme/.atom/packages/etheratom/build/main.js:8060)
at compileSubscriptions.add.atom.workspace.observeTextEditors.editor (/home/jalme/.atom/packages/etheratom/build/main.js:7995)
at Workspace.observeTextEditors (/usr/share/atom/resources/app/static/<embedded>:11)
at Web3Env.subscribeToCompileEvents (/home/jalme/.atom/packages/etheratom/build/main.js:7990)
at HTMLElement.web3Subscriptions.add.atom.commands.add (/home/jalme/.atom/packages/etheratom/build/main.js:7915)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11)
at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11)
at CompileBtn._handleSubmit (/home/jalme/.atom/packages/etheratom/build/main.js:5024)
at Object.ka (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at qa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at ra (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at wa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at Aa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at ya (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Ba (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Kd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:81)
at hb (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:283)
at Qd (/home/jalme/.atom/packages/linter-ui-default/nod
Omkara
@0mkara
Ok we still stuck at Uncaught (in promise) TypeError: Cannot read property 'content' of undefined

Please create a separate issue with the log attached

/home/jalme/.atom/packages/etheratom/build/main.js:8392 All dependencies installed, good to go
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:7930 Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Web3 Connection is Established on http://127.0.0.1:8545/
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:755 syncing:changed
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:716 New Message: Object
/home/jalme/.atom/packages/etheratom/build/main.js:8040 Compiling contract...
/home/jalme/.atom/packages/etheratom/build/main.js:989 Uncaught (in promise) TypeError: Cannot read property 'content' of undefined
at Web3Helpers.compileWeb3 (/home/jalme/.atom/packages/etheratom/build/main.js:989)
at Web3Env.compile (/home/jalme/.atom/packages/etheratom/build/main.js:8060)
at compileSubscriptions.add.atom.workspace.observeTextEditors.editor (/home/jalme/.atom/packages/etheratom/build/main.js:7995)
at Workspace.observeTextEditors (/usr/share/atom/resources/app/static/<embedded>:11)
at Web3Env.subscribeToCompileEvents (/home/jalme/.atom/packages/etheratom/build/main.js:7990)
at HTMLElement.web3Subscriptions.add.atom.commands.add (/home/jalme/.atom/packages/etheratom/build/main.js:7915)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11)
at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11)
at CompileBtn._handleSubmit (/home/jalme/.atom/packages/etheratom/build/main.js:5024)
at Object.ka (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at qa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:15)
at ra (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at wa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:16)
at Aa (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at ya (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Ba (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:17)
at Kd (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:81)
at hb (/home/jalme/.atom/packages/linter-ui-default/node_modules/react-dom/cjs/react-dom.production.min.js:283)
at Qd (/home/jalme/.atom/packages/linter-ui-default/nod

We will try to fix this issue asap.

But I am still unable to reproduce this issue.
João Pedro Almeida
@jalme
will do thanks
João Pedro Almeida
@jalme
Issue submited: 0mkara/etheratom#294
ZAlliance
@ZAlliance
image.png
it seems that i cant use the compiler?
i installed etheratom in the atom
etheratom version is 4.5.3
and i'm using ganache
Tamaghna Chowdhury
@iamtamaghna
Hello @ZAlliance @jalme, You need to go to
You need to select the Contract tab before start compiling.
And use "Ctrl + S" to compile
ZAlliance
@ZAlliance
@iamtamaghna but i can't even connect to the chain
so what should i do to connect ganache?
first should i click the rpc?
ZAlliance
@ZAlliance
it shows "Connection Re-established with rpc"
but after that nothing changed
Tamaghna Chowdhury
@iamtamaghna
If you're using ganache-cli then port should be 8545 and for GUI, port is 7545. After putting the RPC, hit Enter and reload the atom editor.
RPC for ganache-GUI http://127.0.0.1:7545/
Omkara
@0mkara
@jalme did you try compiling by hitting ctrl+s on the contract file ?