Giter Club home page Giter Club logo

geth-exporter's People

Contributors

tlex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mintertale

geth-exporter's Issues

ModuleNotFoundError: No module named 'web3'

Getting this error:

-- Logs begin at Wed 2020-04-01 19:23:43 CEST. --
Aug 28 16:12:50 ethnode-c4abc6966 geth-exporter[267037]: ModuleNotFoundError: No module named 'web3'
Aug 28 16:12:50 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Main process exited, code=exited, status=1/FAILURE
Aug 28 16:12:50 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Failed with result 'exit-code'.
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: Started Geth Exporter.
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: Traceback (most recent call last):
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]:   File "/usr/local/bin/geth-exporter", line 10, in <module>
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]:     from web3 import Web3, RPCProvider
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: ModuleNotFoundError: No module named 'web3'
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Main process exited, code=exited, status=1/FAILURE
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Failed with result 'exit-code'.

I'm using different flags for --rpc and --rpcapi because geth --help tells me those are deprecated:
--rpc Enable the HTTP-RPC server (deprecated, use --http)
--rpcapi value API's offered over the HTTP-RPC interface (deprecated, use --http.api)

Currently running geth with these flags (in addition to Eth2 Medalla beacon and validator):
ARGS="--goerli --datadir /home/ethereum/Goerli --metrics --metrics.expensive --pprof --maxpeers 100 --http --http.api db,eth,net,web3,personal"

How do I get geth-exporter to work correctly without the web3 Module error?

Project doesn't build

The base image for the CI job doesn't exist anymore. Use the upstream image instead. Also update to buster.

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.