Ingram icon indicating copy to clipboard operation
Ingram copied to clipboard

Exception in thread Thread-1 (_cal_total):

Open 91cent opened this issue 6 months ago • 1 comments

Exception in thread Thread-1 (_cal_total): Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/usr/lib/python3.13/threading.py", line 992, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/usrpc/Ingram/Ingram/data.py", line 54, in _cal_total self.add_total(net.get_ip_seg_len(strip_line)) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/home/usrpc/Ingram/Ingram/utils/net.py", line 16, in get_ip_seg_len return IPy.IP(ip_seg, make_net=True).len() ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/home/usrpc/Ingram/venv/lib/python3.13/site-packages/IPy.py", line 225, in init if IP('%s/%s' % (ip, 32-netbits)).broadcast().int() != last: ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/usrpc/Ingram/venv/lib/python3.13/site-packages/IPy.py", line 263, in init raise ValueError("%s has invalid prefix length (%s)" % (repr(self), self._prefixlen)) ValueError: IP('5.3.65.0/22') has invalid prefix length (22) [😶] 0/256(0.0%) Time: 0s/4h 5s Exception in thread Thread-3 (process): Traceback (most recent call last): File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner self.run() ~~~~~~~~^^ File "/usr/lib/python3.13/threading.py", line 992, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/usrpc/Ingram/Ingram/data.py", line 190, in process exploit_func, results = self.get() ~~~~~~~~^^ File "/home/usrpc/Ingram/Ingram/data.py", line 167, in get return self.pipeline.get() ~~~~~~~~~~~~~~~~~^^ File "src/gevent/queue.py", line 381, in gevent._gevent_cqueue.SimpleQueue.get File "src/gevent/queue.py", line 397, in gevent._gevent_cqueue.SimpleQueue.get File "src/gevent/queue.py", line 373, in gevent._gevent_cqueue.SimpleQueue._SimpleQueue__get_or_peek File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch gevent.exceptions.LoopExit: This operation would block forever Hub: <Hub '' at 0x7f1627fb8040 epoll pending=0 ref=0 fileno=13 thread_ident=0x7f16276fe6c0> Handles: []

91cent avatar Jun 11 '25 15:06 91cent

use python 3.8

TTSPTT avatar Jul 07 '25 21:07 TTSPTT