Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
xxnbyy opened this issue Jul 27, 2018 · 4 comments
Open

Error #1

xxnbyy opened this issue Jul 27, 2018 · 4 comments

Comments

@xxnbyy
Copy link

xxnbyy commented Jul 27, 2018

Exception in thread Thread-1085 (most likely raised during interpreter shutdown):Exception in thread Thread-1064 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 754, in run

File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "filescan.py", line 43, in _data
File "filescan.py", line 61, in _check

File "/usr/lib/python2.7/threading.py", line 754, in run File "/root/github/FileScan/reque.py", line 38, in query

File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request File "filescan.py", line 43, in _data
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 393, in exit
File "filescan.py", line 61, in _check
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 702, in close
File "/root/github/FileScan/reque.py", line 38, in query

File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 319, in close

File "/usr/local/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 204, in clear File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 393, in exit

File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 702, in close File "/usr/local/lib/python2.7/dist-packages/urllib3/_collections.py", line 87, in clear
File "/usr/lib/python2.7/threading.py", line 168, in acquire
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 319, in close

File "/usr/local/lib/python2.7/dist-packages/urllib3/poolmanager.py", line 204, in clear<type 'exceptions.TypeError'>: 'NoneType' object is not callable
File "/usr/local/lib/python2.7/dist-packages/urllib3/_collections.py", line 87, in clear

File "/usr/lib/python2.7/threading.py", line 168, in acquire
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

@Mosuan
Copy link
Owner

Mosuan commented Jul 28, 2018

扫的什么站?可以在filescan.py time.sleep 修改为0.8试试

@xxnbyy
Copy link
Author

xxnbyy commented Jul 30, 2018

改成0.1以后完成了扫描,还报了个其他错
Exception in thread Thread-1089 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 754, in run
File "filescan.py", line 43, in _data
File "filescan.py", line 61, in _check
File "/root/github/FileScan/reque.py", line 38, in query
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'request'

@Mosuan
Copy link
Owner

Mosuan commented Jul 30, 2018

提供下python版本和requests库的版本

@xxnbyy
Copy link
Author

xxnbyy commented Jul 31, 2018

python 2.7.12 requests 2.18.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants