Python Forum
Need suggestion how to handle this error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need suggestion how to handle this error
#1
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\#
Reply
#2
Without code it's guessing.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  handle the error Irv1n 5 1,729 Nov-29-2021, 08:46 PM
Last Post: deanhystad
  Can you give me some suggestion about PCEP Newbie1114 0 1,016 Oct-14-2021, 03:02 PM
Last Post: Newbie1114
  instagram followers name without suggestion for you jacklee26 1 3,162 Oct-02-2021, 04:57 AM
Last Post: ndc85430
  Optimization suggestion Julia 2 1,725 Mar-29-2020, 12:02 PM
Last Post: Julia
  how can i handle "expected a character " type error , when I input no character vivekagrey 2 2,735 Jan-05-2020, 11:50 AM
Last Post: vivekagrey
  first try with python class, suggestion for improvement please anna 18 5,919 Nov-01-2019, 11:16 AM
Last Post: anna
  [split] suggestion required for new script anna 1 2,959 Mar-27-2018, 06:42 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020