Comments (9)
Hi- yes- we just pushed an upgrade to the backend which supports web3.py version 4 (which uses hexbytes to store transaction data). If you update the backend, it should work now.
from ethgasstation-backend.
Hi,
Thanks for the update!
I updated but still getting the same error.
I didn't include this in my last post:
[ERROR] Traceback (most recent call last): File "/home/jonathan/.local/lib/python3.5/site-packages/mysql/connector/conversion.py", line 184, in to_mysql return getattr(self, "_{0}_to_mysql".format(type_name))(value) AttributeError: 'MySQLConverter' object has no attribute '_hexbytes_to_mysql'
Do I need to update the mysql-connector-python?
Thanks
from ethgasstation-backend.
Wow- good timing- I just fixed this now after your note- can you update your repo again and see if it is fixed now? You don't need to update mysql-connector.
from ethgasstation-backend.
:) thanks. I'll give it a try now
from ethgasstation-backend.
from ethgasstation-backend.
It fixed the issue above but now I'm getting this error from one of the code changes you made recently:
[ERROR] Traceback (most recent call last):
File "/home/jonathan/ethgasstation-backend/egs/main.py", line 235, in update_dataframes
report = SummaryReport(last1500t, last1500b, block)
File "/home/jonathan/ethgasstation-backend/egs/report_generator.py", line 50, in init
self.post['cheapestTxID'] = (self.tx_df.loc[(self.tx_df['minedGasPrice']==self.post['cheapestTx']) & (self.tx_df['gas_offered'] == 21000)].index[0]).lower()
File "/home/jonathan/.local/lib/python3.5/site-packages/pandas/core/indexes/base.py", line 2069, in getitem
return getitem(key)
IndexError: index 0 is out of bounds for axis 0 with size 0
from ethgasstation-backend.
from ethgasstation-backend.
Yea, it keeps happening and it's not generating the .json files. I commented out that line for now to be able to get the files and noticed that self.post['avgTxFee'] = self.tx_df.loc[self.tx_df['gas_offered']==21000, 'minedGasPrice'].median()
is returning NAN.
I tried to debug this and also noticed that web3.txpool.content
is returning an empty array, I think this is a problem with my node and not your code.
from ethgasstation-backend.
from ethgasstation-backend.
Related Issues (20)
- CORS header for https://ethgasstation.info/json/ethgasAPI.json HOT 4
- Updated json/ethgasAPI.json throws 403 HOT 4
- Ignore miner transactions HOT 2
- ImportError: No module named 'colored' HOT 1
- Convert to pub/sub HOT 38
- website shows raw PHP HOT 2
- Model retraining / crossvalidation HOT 2
- JSON-RPC Specs Issue HOT 2
- write_to_json: Exception caught: 10 is not JSON serializable HOT 4
- Dockerfile broken in latest build HOT 1
- JSON Serialization Issues Not Fixed HOT 4
- NaNs HOT 2
- show more more than 10 gas guzzlers HOT 1
- Problem with json_exporter HOT 1
- A test suite is needed HOT 2
- Error in _get_pending_tx_hashes
- Gas Burners ID support HOT 1
- After several "Bad Gateway" errors ETH Gas Station stops doing its job when Ethereum node is recovered
- ValueError: {'code': -32601, 'message': 'The method txpool_content does not exist/is not available'} HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethgasstation-backend.