Saturday, December 21, 2019

I need suggestion , how to handle this error

multiprocessing.pool.RemoteTraceback:

"""

Traceback (most recent call last):

File "C:\Users\faziz\miniconda3\lib\multiprocessing\pool.py", line 121, in worker

result = (True, func(*args, **kwds))

File "C:\Users\faziz\miniconda3\lib\multiprocessing\pool.py", line 44, in mapstar

return list(map(*args))

File "C:\Users\faziz\Downloads\Portable Python-3.7.4 x64\Arubanetmikoparaller4.py", line 54, in Get

output = net_connect.send_command("show stats global")

File "C:\Users\faziz\miniconda3\lib\site-packages\netmiko\base_connection.py", line 1337, in send_command

search_pattern

OSError: Search pattern never detected in send_command_expect: 34FCB9C235CA:5309:53909\#

"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "<input>", line 1, in <module>

File "C:\Users\faziz\AppData\Local\JetBrains\PyCharm Community Edition 2019.2.3\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File "C:\Users\faziz\AppData\Local\JetBrains\PyCharm Community Edition 2019.2.3\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)

File "C:/Users/faziz/Downloads/Portable Python-3.7.4 x64/Arubanetmikoparaller4.py", line 246, in <module>

results=mypool(hostips)

File "C:/Users/faziz/Downloads/Portable Python-3.7.4 x64/Arubanetmikoparaller4.py", line 226, in mypool

result = p.map(Get, hostips)

File "C:\Users\faziz\miniconda3\lib\multiprocessing\pool.py", line 268, in map

return self._map_async(func, iterable, mapstar, chunksize).get()

File "C:\Users\faziz\miniconda3\lib\multiprocessing\pool.py", line 657, in get

raise self._value

OSError: Search pattern never detected in send_command_expect: 34FCB9C235CA:5309:53909\#



No comments:

Post a Comment