hyperledger-labs / blockchain-carbon-accounting

This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
https://wiki.hyperledger.org/display/CASIG/Carbon+Accounting+and+Certification+WG
Apache License 2.0
189 stars 102 forks source link

problem storing European emissions data on Mac OS X #76

Open sichen1234 opened 3 years ago

sichen1234 commented 3 years ago

This is happening on Mac OS X but not on Ubuntu. When trying to load the European co2 emissions intensity data, there is an error: $ node egrid-data-loader.js load_utility_emissions co2-emission-intensity-6.csv Sheet1 Assuming 2019-RES_proxies_EEA.csv has already been imported... Password: Cannot get standard output for getUtilityFactor chaincode command (node:26660) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'substring' of undefined at getChaincode.then (/Users/sichen/hyperledger/blockchain-carbon-accounting/utility-emissions-channel/docker-compose-setup/egrid-data-loader.js:398:70) (node:26660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:26660) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

jaycenca commented 3 years ago

Hi @sichen1234, I'm a Mac OS X user and I'm interested in working on this issue. Any suggestions on where I could start? Thanks.

sichen1234 commented 3 years ago

That'd be great. How about download the code from github and try the README.md instructions. See if you could get it working or if you get stuck?

Si Chen Open Source Strategies, Inc.

Video: Fighting Climate Change with Blockchain and Open Source https://youtu.be/NgxNWXa_IjE

On Mon, Jun 7, 2021 at 10:21 AM jaycenca @.***> wrote:

Hi @sichen1234 https://github.com/sichen1234, I'm a Mac OS X user and I'm interested in working on this issue. Any suggestions on where I could start? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/76#issuecomment-856118860, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANAS4NA722ARWZPDMI2ZWDTRT5ZTANCNFSM4XNKUG6A .

jaycenca commented 3 years ago

@sichen1234 Just to update, I'm done with all the set up, I'm starting to investigate the issue.

sichen1234 commented 3 years ago

Great!

Si Chen Open Source Strategies, Inc.

New Video: Creating Climate Solutions with Blockchain and Open Source https://youtu.be/gtO3COq8crQ

On Tue, Jun 15, 2021 at 3:18 PM jaycenca @.***> wrote:

@sichen1234 https://github.com/sichen1234 Just to update, I'm done with all the set up, I'm start to investigate the issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/76#issuecomment-861872544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANAS4IXIK4YC7RP3KDOWJ3TS7GR3ANCNFSM4XNKUG6A .