You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
$ python setup.py install
running install
running bdist_egg
running egg_info
creating sumo_web3d.egg-info
writing sumo_web3d.egg-info\PKG-INFO
writing dependency_links to sumo_web3d.egg-info\dependency_links.txt
writing entry points to sumo_web3d.egg-info\entry_points.txt
writing requirements to sumo_web3d.egg-info\requires.txt
writing top-level names to sumo_web3d.egg-info\top_level.txt
writing manifest file 'sumo_web3d.egg-info\SOURCES.txt'
reading manifest file 'sumo_web3d.egg-info\SOURCES.txt'
I have successfully installed sumo-web3d, but the following error appears when starting the server. How can I solve it?
sumo-web3d
Traceback (most recent call last):
File "D:\Users\Anaconda3\envs\tf2-gpu\Scripts\sumo-web3d-script.py", line 33, in <module>
sys.exit(load_entry_point('sumo-web3d', 'console_scripts', 'sumo-web3d')())
File "c:\sumo\tools\sumo-web3d\sumo_web3d\server\server.py", line 608, in run
main(args)
File "c:\sumo\tools\sumo-web3d\sumo_web3d\server\server.py", line 588, in main
app = setup_http_server(task, SCENARIOS_PATH, scenarios)
File "c:\sumo\tools\sumo-web3d\sumo_web3d\server\server.py", line 518, in setup_http_server
functools.partial(scenario_attribute_route, scenario_file, scenarios, 'additional', None)
File "D:\Users\Anaconda3\envs\tf2-gpu\lib\site-packages\aiohttp-4.0.0a1-py3.7-win-amd64.egg\aiohttp\web_urldispatcher.py", line 1069, in add_get
resource.add_route(hdrs.METH_HEAD, handler, **kwargs)
File "D:\Users\Anaconda3\envs\tf2-gpu\lib\site-packages\aiohttp-4.0.0a1-py3.7-win-amd64.egg\aiohttp\web_urldispatcher.py", line 294, in add_route
expect_handler=expect_handler)
File "D:\Users\Anaconda3\envs\tf2-gpu\lib\site-packages\aiohttp-4.0.0a1-py3.7-win-amd64.egg\aiohttp\web_urldispatcher.py", line 817, in __init__
resource=resource)
File "D:\Users\Anaconda3\envs\tf2-gpu\lib\site-packages\aiohttp-4.0.0a1-py3.7-win-amd64.egg\aiohttp\web_urldispatcher.py", line 144, in __init__
", got {!r}".format(handler))
TypeError: Only async functions are allowed as web-handlers , got functools.partial(<function send_as_http_response.<locals>.func_wrapper at 0x000001A7A4098048>, 'c:\\sumo\\tools\\sumo-web3d\\sumo_web3d\\server\\..\\scenarios.json', {'bologna-acosta': <sumo_web3d.server.server.Scenario object at 0x000001A7A40A3E48>, 'downtown-toronto': <sumo_web3d.server.server.Scenario object at 0x000001A7A6512B88>, 'queens-quay': <sumo_web3d.server.server.Scenario object at 0x000001A7A4099848>, 'cross3ltl': <sumo_web3d.server.server.Scenario object at 0x000001A7A40C8108>, 'pedestring-striping': <sumo_web3d.server.server.Scenario object at 0x000001A7A4099A48>, 'person-number': <sumo_web3d.server.server.Scenario object at 0x000001A7A4F70BC8>}, 'additional', None)
(tf2-gpu)
The text was updated successfully, but these errors were encountered:
I have successfully installed sumo-web3d, but the following error appears when starting the server. How can I solve it?
The text was updated successfully, but these errors were encountered: