Traceback (most recent call last):


 "/usr/local/bin/bpython", line 8, in <module>

sys.exit(main())


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsies.py", line 191, in main

exit_value = repl.mainloop(True, paste)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsies.py", line 123, in mainloop

self.process_event_and_paint(e)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsies.py", line 100, in process_event_and_paint

array, cursor_pos = self.paint()


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/repl.py", line 1316, in paint

self.current_cursor_line)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/repl.py", line 1246, in current_cursor_line

return (self.current_cursor_line_without_suggestion +


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/repl.py", line 1237, in current_cursor_line_without_suggestion

self.display_line_with_prompt))


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/repl.py", line 1230, in display_line_with_prompt

self.current_line_formatted)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/repl.py", line 1180, in current_line_formatted

fs = bpythonparse(format(self.tokenize(self.current_line),


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/parse.py", line 40, in parse

return (sum((fs_from_match(d) for d in stuff[1:]), fs_from_match(stuff[0]))


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/parse.py", line 40, in <genexpr>

return (sum((fs_from_match(d) for d in stuff[1:]), fs_from_match(stuff[0]))


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/bpython/curtsiesfrontend/parse.py", line 60, in fs_from_match

color = colors[(colors.index(color) + (len(colors) // 2)) %
ValueError: tuple.index(x): x not in tuple

Traceback (most recent call last):


 "/home/aistudio/PaddleDetection/ppdet/data/reader.py", line 45, in __call__

data = f(data, ctx)


 "/home/aistudio/PaddleDetection/ppdet/data/transform/operators.py", line 1337, in __call__

canvas[y:y + height, x:x + width, :] = img.astype(np.uint8)
ValueError: could not broadcast input array from shape (1024,775,3) into shape (775,1024,3)
