blockchain-carbon-accounting icon indicating copy to clipboard operation
blockchain-carbon-accounting copied to clipboard

problem storing European emissions data on Mac OS X

Open sichen1234 opened this issue 4 years ago • 4 comments

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.

sichen1234 avatar Feb 10 '21 17:02 sichen1234

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.

jaycenca avatar Jun 07 '21 17:06 jaycenca

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 .

sichen1234 avatar Jun 07 '21 23:06 sichen1234

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

jaycenca avatar Jun 15 '21 22:06 jaycenca

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 .

sichen1234 avatar Jun 15 '21 22:06 sichen1234