Coder Social home page Coder Social logo

Comments (4)

lgbanuelos avatar lgbanuelos commented on July 21, 2024

I believe the problem is connected with some incompatibilities among versions web3.js. You can see a similar issue at web3/web3.js#552
You can probably check the version of web3.js that is installed in your local project. If the version does not correspond with the one specified in caterpillar-core's package.json, you could try to downgrade to such version. Unfortunately, I cannot check the problem myself in this moment. But, Orlenys can later double-check my answer and come up with a fix or workaround.

Luciano

from caterpillar.

orlenyslp avatar orlenyslp commented on July 21, 2024

This error TypeError: filterCreationErrorCallback occurs when the BlockChain (Ethereum) server is not running.

In the lines 23-24 in
https://github.com/orlenyslp/Caterpillar/blob/master/caterpillar-core/src/models/models.controller.ts and 12-13 in
https://github.com/orlenyslp/Caterpillar/blob/master/services-manager/src/models/models.controller.ts
you will see the provider is http://193.40.11.64:80. That is an Ethereum node that we have at the university but unfortunately, it needs to be restarted continuously after some time.

For running the demo, I would recommend you to install testrpc on your computer. You can follow the instructions here https://github.com/ethereumjs/testrpc. Then, change the provider in both files to http://localhost:8545. Be aware that it's necessary to start testrpc on your computer before running the applications. Additionally, to run caterpillar_core you need to register the services because they are used by the demo example (see the demo video). You can also specify another provider if you prefer.

By the end of the next week, I will upload a new release of Caterpillar with some updates after the demonstration in BPM 2017. From there, you will see testrpc as the default provider.

from caterpillar.

TBP-BE avatar TBP-BE commented on July 21, 2024

I have the same problem.
I did like you said :i verified the web3 version. The provider is already set to http://localhost:8545/.
Still having the same error.

from caterpillar.

a19c97 avatar a19c97 commented on July 21, 2024

I checked my web3 version, and it seems to match the one in package.json in caterpillar-core for v1.0.
image
This issues still persists - any idea how to fix it?

from caterpillar.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.