paradigmxyz / flood

flood is a load testing tool for benchmarking EVM nodes over RPC
https://github.com/paradigmxyz/flood
Apache License 2.0
323 stars 44 forks source link

lxml.html.clean module is now a separate project lxml_html_clean #60

Open raymondnguyen8 opened 5 months ago

raymondnguyen8 commented 5 months ago

Version ==0.3.1

Platform Ubuntu 22.04 and Windows 10 Home Single Language

Description

flood eth_getBlockByNumber localhost:8545

Output

lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.

Then I tried to install lxml[html_clean], getting new issue

get_border_chars() got an unexpected keyword argument 'indent'
AntonieDavid commented 4 months ago

Hello. I am getting the same error when tryng to create the flood report. Did you manage to solve the issue? Haven't tried yet, but I'm conisdering switching to an older version. TypeError: get_border_chars() got an unexpected keyword argument 'indent'

jajaislanina commented 4 months ago

Same issue as above. Flood version: 0.3.1 Python version: 3.12.4

jsy1218 commented 4 months ago

I'm also having this issue now. What's confusing to me is that I've been using the same python, pip3, lxml_html_clean, flood for 2 months:

Flood version: 0.3.1 Python version: 3.9.16 pip3 version: 21.3.1 go version: go1.22.3 linux/amd64 lxml_html_clean: 0.1.1

I'm running on EC2 instance Amazon Linux 2023 AMI t2.large, if that matters.

amoylan2 commented 2 months ago

This may caused by inconsistant upgrade of this package "toolstr" Edit the pyproject.toml, set toolstr == 0.9.7, this error disappears. Run this command to build custom package from source after changing "python -m pip install ."