-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SimGetImages:msgpackrpc.error.RPCError #109
Comments
same issue. Did you solve it @YijingGuo-June ? |
@taeseongkr After many attempts at uninstalling and reinstalling all the relevant environments, I finally succeeded in setting up the environment using the UE5.1.1 version of AirSim and Unreal Engine 5.1.1. I think the repeated attempts corrupted my computer's environment, with some residual files from incomplete uninstalls causing interference. This is because I was able to successfully configure it on the first try on a completely clean computer that had never had these programs installed before. |
Hi, maybe you could find a solution? @taeseongkr |
@7REVOLUTiOn @YijingGuo-June Thank you. I solved the issue. Appreciate your help! |
If it's not a secret, how did you solve it? This problem is quite common. |
Bug report
What's the issue you encountered?
The error code is the following sentence:
responses = client.simGetImages(
ImageRequest('0', ImageType.Scene, False, False)
)
Settings
default setting
How can the issue be reproduced?
I didn't change anything, just follow the tutorial configuration and use the python api to get the image.
Include full error message in text form
Traceback (most recent call last):
File "C:\Users\test\PycharmProjects\airsim_test\test2.py", line 13, in
responses = client.simGetImages(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\airsim\client.py", line 309, in simGetImages
responses_raw = self.client.call('simGetImages', requests, vehicle_name, external)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\msgpackrpc\session.py", line 41, in call
return self.send_request(method, args).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test.conda\envs\airsim\Lib\site-packages\msgpackrpc\future.py", line 45, in get
raise error.RPCError(self._error)
msgpackrpc.error.RPCError: rpclib: function 'simGetImages' (called with 3 arg(s)) threw an exception. The exception contained this information: bad cast.
What's better than filing an issue? Filing a pull request :).
The text was updated successfully, but these errors were encountered: