Giter Site home page Giter Site logo

bismuthtoolsweb's People

Contributors

alias-bitsignal avatar hclivess avatar maccaspacca avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bismuthtoolsweb's Issues

Web Tools fail when querying coinmarketcap stats api

raise value

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functionsrule.endpoint

File "/home/coins/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 800, in home

cmcstats = get_cmc_info(cust_curr)

File "/home/coins/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 95, in get_cmc_info

y = json.loads(x)

File "/usr/lib/python3.5/json/init.py", line 319, in loads

return _default_decoder.decode(s)

File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

[2018-01-25 19:41:07,866] ERROR in app: Exception on /richest [GET]

Traceback (most recent call last):

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app

response = self.full_dispatch_request()

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request

rv = self.handle_user_exception(e)

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception

reraise(exc_type, exc_value, tb)

File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise

raise value

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request

rv = self.dispatch_request()

File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request

return self.view_functionsrule.endpoint

File "/home/coins/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 1143, in richest_form

conv_curr = get_cmc_val(def_curr)

File "/home/coins/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 115, in get_cmc_val

y = json.loads(x)

File "/usr/lib/python3.5/json/init.py", line 319, in loads

return _default_decoder.decode(s)

File "/usr/lib/python3.5/json/decoder.py", line 339, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode

raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Uncaught exception

^C^XERROR:tornado.application:Uncaught exception Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/tornado/http1connection.py", line 237, in _read_message delegate.finish() File "/usr/local/lib/python3.6/dist-packages/tornado/httpserver.py", line 230, in finish self.request_callback(self.request) File "/usr/local/lib/python3.6/dist-packages/tornado/wsgi.py", line 276, in call WSGIContainer.environ(request), start_response) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2309, in call return self.wsgi_app(environ, start_response) File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1799, in dispatch_request return self.view_functionsrule.endpoint File "/home/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 1808, in handler x = getcirc() File "/home/Bismuth/BismuthToolsWeb/bismuthtoolsweb.py", line 746, in getcirc c.execute("SELECT sum(reward) FROM transactions;")

local variable 'db_block_height' referenced before assignment

 โœ— python3 bismuthtoolsweb.py
Logging level: WARNING (30)
bismuthtoolsweb.py:47: DeprecationWarning: This method will be removed in future versions.  Use 'parser.read_file()' instead.
  config.readfp(open(r'toolsconfig.ini'))
Bismuth DB path = ~/Bismuth/static/ledger.db
Bismuth DB root = ~/Bismuth/static/
Hyper.db exists = False
Hyper.db path = ~/Bismuth/static/ledger.db
No connection
Traceback (most recent call last):
  File "bismuthtoolsweb.py", line 799, in <module>
    latest()
  File "bismuthtoolsweb.py", line 336, in latest
    app_log.info("Latest block queried: {}".format(str(db_block_height)))
UnboundLocalError: local variable 'db_block_height' referenced before assignment

The blockex API is missing a command to request txid and get transaction info

The API page on the block explorer doesn't seem to cite a method I can use to turn a txid into info about the transaction -

I can see http://bismuth.online/api/transaction/blocknumber=amount but I don't have blocknumber and amount.

I also see http://bismuth.online/api/hash/somehashvalue but I think that takes a block hash and i don't have that either

I can put a txid into the Ledger Query form, and get results back detailing the transactrion. but there is no matching method for API. I'd rather not HTTP POST to the ledgerquery, and parse the HTML results..

Nonetype error

Occasional Nonetype error when front page loads. The error appears and then goes sometime later.
tools

Recommendation on wording - empty wallets

Hi, currently users with empty but created wallets see "Error !!! Block, address or hash not found. Maybe you entered bad data or nothing at all?". We should let them know that the case might be their wallet is empty. My friend got confused by it, thanks.

Sponsors

The sponsor function is not working.

Tools Hangs

With lot of requests tools hangs, probably bottle problem

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.