I can't seem to run the test.py.
See original GitHub issueEvery time I run it I get the error below. P.S. I am also running the carla server with the command ./CarlaUE4.sh -windowed -carla-port=2000 before running the test script
(driving) joshua@joshua:~/gym-carla$ python test.py
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
connecting to Carla server...
Traceback (most recent call last):
File "test.py", line 55, in <module>
main()
File "test.py", line 43, in main
env = gym.make('carla-v0', params=params)
File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(**kwargs)
File "/home/joshua/anaconda/envs/driving/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(**_kwargs)
File "/home/joshua/gym-carla/gym_carla/envs/carla_env.py", line 90, in __init__
self.world = client.load_world(params['town'])
RuntimeError: rpc::rpc_error during call in function version
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top 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 example.py 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 test.py at the command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same error too
I am actually using CARLA_0.9.6 but still getting the same error message