Skip to content

Unable to edit chaincode #1

@xinhan1989

Description

@xinhan1989

Sorry I'm unsure if this is the correct place to ask this question. I've been having trouble changing the chaincode and re using it with the cp-web app on Bluemix. The error I constantly get is:

2016-04-12T09:11:38.312+1000[App/0]OUT[ibc-js] Deploying Chaincode - Starting
2016-04-12T09:11:39.356+1000[App/0]OUT! looks like a deploy error, holding off on the starting the socket
2016-04-12T09:11:39.356+1000[App/0]OUT[ibc-js] deploy - failure: 400
2016-04-12T09:11:39.357+1000[App/0]OUT details: { Error: 'Error getting chaincode package bytes: Error generating hashcode: Error getting code process done with error = exit status 1' } }

These are the steps I follow:
Download code
Make Change at line 288: owner.Quantity = cp.Qty to owner.Quantity = 100.0
upload code to a github and then replace the zip file within app.js to my new git

Any idea of what could trigger the error? If this is the wrong place I'll move the question to the cp-web application instead.

Cheers,
William

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions