aitorzip / VPilot

Scripts and tools to easily communicate with DeepGTAV. In the future a self-driving agent will be implemented.
GNU General Public License v3.0
144 stars 63 forks source link

Getting error while running the dataset code #21

Closed Raj800 closed 6 years ago

Raj800 commented 6 years ago

C:\Anaconda3\python.exe "D:/Utilities/Raj/Project/GTA mods/VPilot-master/dataset" Trying to connect to DeepGTAV ERROR: Failed to connect to DeepGTAV Traceback (most recent call last): ERROR: Failed to send message. Reason: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied File "D:/Utilities/Raj/Project/GTA mods/VPilot-master/dataset", line 35, in message = client.recvMessage()
File "D:\Utilities\Raj\Project\GTA mods\VPilot-master\deepgtav\client.py", line 52, in recvMessage frame = self._recvall() File "D:\Utilities\Raj\Project\GTA mods\VPilot-master\deepgtav\client.py", line 66, in _recvall packet = self.s.recv(4 - len(data)) OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

Raj800 commented 6 years ago

Solved the error with few changes in socket exception handling.