0% found this document useful (0 votes)
4 views1 page

Python TypeError Debugging Guide

The document shows a traceback from a Python program. It had an error when trying to add an integer character to a request frame, but was passed a type instead of an integer.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Python TypeError Debugging Guide

The document shows a traceback from a Python program. It had an error when trying to add an integer character to a request frame, but was passed a type instead of an integer.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Traceback (most recent call last):

File "C:/Users/Koceto/PycharmProjects/Robko_Project/venv/Robko01/[Link]", line


192, in <module>
if __name__ == '__main__' :
File "C:/Users/Koceto/PycharmProjects/Robko_Project/venv/Robko01/[Link]", line
178, in main

File "C:/Users/Koceto/PycharmProjects/Robko_Project/venv/Robko01/[Link]", line


35, in run

File "C:/Users/Koceto/PycharmProjects/Robko_Project/venv/Robko01/[Link]", line


52, in __prg_first

File "C:\Users\Koceto\PycharmProjects\Robko_Project\venv\Robko01\Robots\Robko01\
[Link]", line 72, in wait_for_controller
response = [Link](payload)
File "C:\Users\Koceto\PycharmProjects\Robko_Project\venv\Robko01\Robots\Robko01\
[Link]", line 86, in ping
response = self._request([Link], payload)
File "C:\Users\Koceto\PycharmProjects\Robko_Project\venv\Robko01\super\
[Link]", line 83, in _request
req_frame += chr([Link])
TypeError: an integer is required (got type ReqRes)

You might also like