AppInfoScanner icon indicating copy to clipboard operation
AppInfoScanner copied to clipboard

AttributeError: 'WrappedSocket' object has no attribute 'getpeername'

Open N0o01 opened this issue 2 years ago • 1 comments

AttributeError: 'WrappedSocket' object has no attribute 'getpeername' Exception in thread Thread - 2: Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner self.run() File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 88, in run self.get_Http_info(threadLock) File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 29, in get_Http_info result = self.get_request_result(url_ip) File "/Applications/Xc7ACD/APP/AppInfoScanner/libs/core/net.py", line 66, in get_request_result des_ip = sock.getpeername()[0] AttributeError: 'WrappedSocket' object has no attribute 'getpeername'

N0o01 avatar Mar 29 '22 07:03 N0o01

这个问题与本地环境有关系,可以尝试更新一下本地python环境

kelvinBen avatar Apr 12 '22 08:04 kelvinBen