Giter Site home page Giter Site logo

validators's Issues

"ModuleNotFoundError: No module named 'health'"

I am trying to start health service like:

python3 main.py

I am getting an error:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pkgutil.py", line 493, in find_loader
    spec = importlib.util.find_spec(fullname)
  File "/usr/lib/python3.8/importlib/util.py", line 94, in find_spec
    parent = __import__(parent_name, fromlist=['__path__'])
ModuleNotFoundError: No module named 'health'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "main.py", line 16, in <module>
    app = Flask('health.main')
  File "/home/soltest0/.local/lib/python3.8/site-packages/flask/app.py", line 415, in __init__
    _PackageBoundObject.__init__(
  File "/home/soltest0/.local/lib/python3.8/site-packages/flask/helpers.py", line 980, in __init__
    root_path = get_root_path(self.import_name)
  File "/home/soltest0/.local/lib/python3.8/site-packages/flask/helpers.py", line 786, in get_root_path
    loader = pkgutil.get_loader(import_name)
  File "/usr/lib/python3.8/pkgutil.py", line 479, in get_loader
    return find_loader(fullname)
  File "/usr/lib/python3.8/pkgutil.py", line 499, in find_loader
    raise ImportError(msg.format(fullname, type(ex), ex)) from ex
ImportError: Error while finding loader for 'health.main' (<class 'ModuleNotFoundError'>: No module named 'health')

How can get the health module?
I am running python 3.8

port 8899 not working

hello i followed the intructions ,and installed everything however the rpc-port not wokring
this is my starting script !
#!/bin/bash
exec solana-validator
--identity ~/validator-keypair.json
--known-validator 7Np41oeYqPefeNQEHSv1UDhYrehxin3NStELsSKCT4K2
--known-validator GdnSyH3YtwcxFvQrVVJMm1JhTS4QVX7MFsX56uJLUfiZ
--known-validator DE1bawNcRJB9rVm3buyMVfr8mBEoyyu73NBovf2oXJsJ
--known-validator CakcnaRDHka2gXyfbEd2d3xsvkJkqsLw2akB3zsN1D2S
--only-known-rpc
--ledger /home/sol/workspace/ledger
--rpc-port 8899
--private-rpc
--no-voting
--enable-rpc-transaction-history
--rpc-bind-address 127.0.0.1
--dynamic-port-range 8000-8010
--entrypoint entrypoint.mainnet-beta.solana.com:8001
--entrypoint entrypoint2.mainnet-beta.solana.com:8001
--entrypoint entrypoint3.mainnet-beta.solana.com:8001
--entrypoint entrypoint4.mainnet-beta.solana.com:8001
--entrypoint entrypoint5.mainnet-beta.solana.com:8001
--expected-genesis-hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d
--wal-recovery-mode skip_any_corrupted_record
--limit-ledger-size 100000000
--log ~/workspace/solana-validator.log

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.