Skip to content
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

Open
YijingGuo-June opened this issue Sep 22, 2024 · 5 comments
Open

SimGetImages:msgpackrpc.error.RPCError #109

YijingGuo-June opened this issue Sep 22, 2024 · 5 comments

Comments

@YijingGuo-June
Copy link

Bug report

  • AirSim Version/#commit:I have tried every version of colosseum
  • UE/Unity version:5.1 5.2 5.3 5.4
  • autopilot version:
  • OS Version:windows 10

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 :).

@taeseongkr
Copy link

same issue. Did you solve it @YijingGuo-June ?

@YijingGuo-June
Copy link
Author

同样的问题。你解决了吗?

@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.

@7REVOLUTiOn
Copy link

7REVOLUTiOn commented Jan 9, 2025

same issue. Did you solve it @YijingGuo-June ?

Hi, maybe you could find a solution? @taeseongkr

@taeseongkr
Copy link

@7REVOLUTiOn @YijingGuo-June Thank you. I solved the issue. Appreciate your help!

@7REVOLUTiOn
Copy link

@7REVOLUTiOn @YijingGuo-JuneСпасибо. Я решил проблему. Ценю вашу помощь!

If it's not a secret, how did you solve it? This problem is quite common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants