orf / xcat

XPath injection tool
https://xcat.readthedocs.org/
MIT License
363 stars 73 forks source link

Python3.5 with xcat-3.6-redesign-wtf does not work #21

Closed anhkhoa14592 closed 5 years ago

anhkhoa14592 commented 6 years ago

Hi,

I've tried to use Xcat with Python3.5 and 3.6 but it doesn't work. I've downloaded the xcat-3.6-redesign-wtf and run with python3.5 but there are following error:

Traceback (most recent call last): File "C:\Python35\Scripts\xcat-script.py", line 9, in load_entry_point('xcat==0.9', 'console_scripts', 'xcat')() File "C:\Python35\lib\site-packages\pkg_resources__init.py", line 558, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\Python35\lib\site-packages\pkg_resources__init.py", line 2682, in load_entry_point return ep.load() File "C:\Python35\lib\site-packages\pkg_resources__init__.py", line 2355, in load return self.resolve() File "C:\Python35\lib\site-packages\pkg_resources\init.py", line 2361, in resolve module = import__(self.module_name, fromlist=['name'], level=0) File "C:\Python35\lib\site-packages\xcat-0.9-py3.5.egg\xcat\cli.py", line 28, in File "C:\Python35\lib\site-packages\aiohttp-2.3.10-py3.5.egg\aiohttp\init.py", line 6, in File "C:\Python35\lib\site-packages\aiohttp-2.3.10-py3.5.egg\aiohttp\client.py", line 13, in File "C:\Python35\lib\site-packages\yarl-1.2.4-py3.5.egg\yarl\init__.py", line 11, in File "C:\Python35\lib\site-packages\yarl-1.2.4-py3.5.egg\yarl\quoting.py", line 3, in ImportError: cannot import name 'TYPE_CHECKING'

orf commented 5 years ago

I'm aware of this and I'm working on it. I've redesigned the internals, current master is working-ish but still needs work (OOB and shell).

orf commented 5 years ago

Hello, I've just released xcat 1.0 on pypi 🎉 . I've redesigned the CLI and it now all works. Please see the updated README for information.

I'm working on the documentation now. Please open an issue if you run into trouble.