Traceback (most recent call last):


 "paragraph_extraction.py", line 198, in <module>

print(json.dumps(sample, encoding='utf8', ensure_ascii=False))


 "/opt/_internal/cpython-3.6.0/lib/python3.6/json/__init__.py", line 238, in dumps

**kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'encoding'

Traceback (most recent call last):


 "/home/abdo/Desktop/Routerexpoilt/routersploit/tt/routersploit/./rsf.py", line 29, in <module>

routersploit(sys.argv)


 "/home/abdo/Desktop/Routerexpoilt/routersploit/tt/routersploit/./rsf.py", line 25, in routersploit

rsf.start()


 "/home/abdo/Desktop/Routerexpoilt/routersploit/tt/routersploit/routersploit/interpreter.py", line 125, in start

command_handler(args, **kwargs)


 "/home/abdo/Desktop/Routerexpoilt/routersploit/tt/routersploit/routersploit/core/exploit/utils.py", line 177, in wrapper

return fn(self, *args, **kwargs)


 "/home/abdo/Desktop/Routerexpoilt/routersploit/tt/routersploit/routersploit/interpreter.py", line 394, in command_run

print_error(traceback.format_exc(sys.exc_info()))


 "/usr/lib/python3.9/traceback.py", line 167, in format_exc

return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))


 "/usr/lib/python3.9/traceback.py", line 120, in format_exception

return list(TracebackException(


 "/usr/lib/python3.9/traceback.py", line 508, in __init__

self.stack = StackSummary.extract(


 "/usr/lib/python3.9/traceback.py", line 340, in extract

if limit >= 0:
TypeError: '>=' not supported between instances of 'tuple' and 'int'
