OutlierVentures / BuyCoPoc

BuyCo.io Proof of Concept on an Ethereum blockchain
Apache License 2.0
0 stars 1 forks source link

Development blockchain node shows warning that blockchain data dir not created #5

Closed AronVanAmmers closed 8 years ago

AronVanAmmers commented 8 years ago

This is a workaround that should only activate on Windows systems, and only on first run. However on dev blockchain node on latte.servers.blockstars.io it is shown systematically.

I0114 16:15:48.507345      51 ethash.go:220] Generating DAG for epoch 0 (size 1073739904) (0000000000000000000000000000000000000000000000000000000000000000)
I0114 16:15:49.906532      51 ethash.go:237] Done generating DAG for epoch 0, it took 1.399182354s
I0114 16:15:58.568435      51 worker.go:349] �  Mined block (#2539 / 446491b3). Wait 5 blocks for confirmation
I0114 16:15:58.568653      51 worker.go:570] commit new work on block 2540 with 0 txs & 0 uncles. Took 192.99µs
I0114 16:15:58.568848      51 worker.go:570] commit new work on block 2540 with 0 txs & 0 uncles. Took 127.631µs
== No transactions left. Stopping miner...
I0115 02:15:48.506792      51 backend.go:591] checking DAG (ethash dir: /root/.ethash)
I0115 12:15:48.506882      51 backend.go:591] checking DAG (ethash dir: /root/.ethash)
I0115 22:15:48.506988      51 backend.go:591] checking DAG (ethash dir: /root/.ethash)
I0116 08:15:48.507087      51 backend.go:591] checking DAG (ethash dir: /root/.ethash)
I0116 18:15:48.507228      51 backend.go:591] checking DAG (ethash dir: /root/.ethash)
^CBlockchain dapp data dir not created. You are on Windows, right? Trying again...
>> Tasks directory "tasks" not found.
>> Local Npm module "grunt-cli" not found. Is it installed?

Running "blockchain:development" (blockchain) task
^CBlockchain nodes dir not created. You are on Windows, right? Trying again...
^CCommand finished. Press enter to continue. To inspect the container, try running docker exec -ti CONTAINER bash while it is still running and look around.
^C
AronVanAmmers commented 8 years ago

This was fixed here https://github.com/OutlierVentures/BuyCo/commit/7120206047e9442b015eb6d57d1c2095cece3aad. However applying it requires a rebuild of the blockchain container. Doing that now.

AronVanAmmers commented 8 years ago

Indeed doesn't occur anymore after rebuild and restart container.