maccaspacca / bismuthtoolsweb Goto Github PK
View Code? Open in Web Editor NEWWeb Tools for the Bismuth Cryptocurrency
License: GNU General Public License v3.0
Web Tools for the Bismuth Cryptocurrency
License: GNU General Public License v3.0
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)
^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;")
โ 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 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..
If a ledgerquery is made against a previously used address that now has a zero balance then no transactions are displayed.
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.
The sponsor function is not working.
If a ledger query is run for an unused address the server returns error 500
If a query is made in ledgerquery against an address with zero credits then nothing is displayed. An example of this type of address is a mining address
With lot of requests tools hangs, probably bottle problem
Need to limit Ledger Query showed records, show by time or multiple pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.