Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I can't seem to run the

See original GitHub issue

Every time I run it I get the error below. P.S. I am also running the carla server with the command ./ -windowed -carla-port=2000 before running the test script

(driving) joshua@joshua:~/gym-carla$ python 
pygame 1.9.6
Hello from the pygame community.
connecting to Carla server...
Traceback (most recent call last):
  File "", line 55, in <module>
  File "", line 43, in main
    env = gym.make('carla-v0', params=params)
  File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/", line 156, in make
    return registry.make(id, **kwargs)
  File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/", line 101, in make
    env = spec.make(**kwargs)
  File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/", line 73, in make
    env = cls(**_kwargs)
  File "/home/joshua/gym-carla/gym_carla/envs/", line 90, in __init__ = client.load_world(params['town'])
RuntimeError: rpc::rpc_error during call in function version

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

SHITIANYU-huecommented, Aug 18, 2020

I have the same error too

Jidennacommented, Jul 6, 2020

I am actually using CARLA_0.9.6 but still getting the same error message

Read more comments on GitHub >

github_iconTop Results From Across the Web

py.test doesn't *seem* to run all tests - and doesn't fail
The first test can therefore only be found if the second doesn't exist. You can fix this by just changing the names of...
Read more >
Can't run tests with py.test · Issue #4878 · pypa/pip - GitHub
Yes, pytest doesn't work out of the box. This is a consequence of the fact that the project is structured with an src...
Read more >
Why does PyCharm not run pytest testing for my application?
I'm new to pytest and am trying to write testing modules for my application. My directory structure is: broker/ broker/tests...
Read more >
doctest — Test interactive Python examples — Python 3.11.1 ...
If you run directly from the command line, doctest works its magic: ... M can't leave behind crumbs that accidentally allow another...
Read more >
Getting Started With Testing in Python
This is a command line entry point. It means that if you execute the script alone by running python at the command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found