{"action":"created","issue":{"url":"https://api.github.com/repos/deepdrive/deepdrive/issues/22","repository_url":"https://api.github.com/repos/deepdrive/deepdrive","labels_url":"https://api.github.com/repos/deepdrive/deepdrive/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/deepdrive/deepdrive/issues/22/comments","events_url":"https://api.github.com/repos/deepdrive/deepdrive/issues/22/events","html_url":"https://github.com/deepdrive/deepdrive/issues/22","id":361368976,"node_id":"MDU6SXNzdWUzNjEzNjg5NzY=","number":22,"title":"Error running install.py","user":{"login":"RomainV92","id":36636098,"node_id":"MDQ6VXNlcjM2NjM2MDk4","avatar_url":"https://avatars3.githubusercontent.com/u/36636098?v=4","gravatar_id":"","url":"https://api.github.com/users/RomainV92","html_url":"https://github.com/RomainV92","followers_url":"https://api.github.com/users/RomainV92/followers","following_url":"https://api.github.com/users/RomainV92/following{/other_user}","gists_url":"https://api.github.com/users/RomainV92/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainV92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainV92/subscriptions","organizations_url":"https://api.github.com/users/RomainV92/orgs","repos_url":"https://api.github.com/users/RomainV92/repos","events_url":"https://api.github.com/users/RomainV92/events{/privacy}","received_events_url":"https://api.github.com/users/RomainV92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-09-18T15:44:57Z","updated_at":"2018-09-25T20:51:54Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI tried installing Deepdrive, following the \"README\" instructions, but at the end of the installation, just when UE4 starts, it crashes without giving any reason.\r\nI found this in the console, probably the source of the error ;\r\n\r\n> Register camera for client 1 227x227 FoV 60 label forward cam 227x227 60 FOV\r\n> RegisterCaptureCameraRequest sent\r\n> Poll timed out\r\n> Waiting for RegisterCaptureCameraResponse, time out\r\n> SharedMemoryImpl_Windows::connect Connected successfully to shared mem Local\\DeepDriveCapture with size 157286400\r\n> Successfully connected to Local\\DeepDriveCapture with max size of 157286400\r\n> Unknown message with type 0 and Size 0 received\r\n> 2018-09-18 16:31:56,712 - gym_deepdrive.envs.deepdrive_gym_env - ERROR - Failed first step of environment\r\n> 2018-09-18 16:31:56,713 - __main__ - ERROR - Error running agent. Failed first step of environment\r\n> Traceback (most recent call last):\r\n>   File \"main.py\", line 120, in <module>\r\n>     main()\r\n>   File \"main.py\", line 90, in main\r\n>     raise e\r\n>   File \"main.py\", line 72, in main\r\n>     gym_env = deepdrive.start(args.experiment_name, args.env_id, fps=args.fps)\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\deepdrive.py\", line 31, in start\r\n>     dd_env.connect(cameras, render)\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\gym_deepdrive\\envs\\deepdrive_gym_env.py\", line 662, in connect\r\n>     self._perform_first_step()\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\gym_deepdrive\\envs\\deepdrive_gym_env.py\", line 672, in _perform_first_step\r\n>     raise RuntimeError(error_msg)\r\n> RuntimeError: Failed first step of environment\r\n> SharedMemoryImpl_Windows::disconnect Disconnecting\r\n> Poll timed out\r\n> Waiting for ReleaseAgentControlResponse, time out\r\n> UnregisterClientRequest sent\r\n> Poll timed out\r\n> Socket closed\r\n> 2018-09-18 16:31:59,042 - gym_deepdrive.envs.deepdrive_gym_env - INFO - Closing sim\r\n> --- Logging error ---\r\n> Traceback (most recent call last):\r\n>   File \"C:\\Users\\Innovacion\\Anaconda3\\envs\\python3\\lib\\logging\\handlers.py\", line 71, in emit\r\n>     if self.shouldRollover(record):\r\n>   File \"C:\\Users\\Innovacion\\Anaconda3\\envs\\python3\\lib\\logging\\handlers.py\", line 185, in shouldRollover\r\n>     self.stream = self._open()\r\n>   File \"C:\\Users\\Innovacion\\Anaconda3\\envs\\python3\\lib\\logging\\__init__.py\", line 1060, in _open\r\n>     return open(self.baseFilename, self.mode, encoding=self.encoding)\r\n> NameError: name 'open' is not defined\r\n> Call stack:\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\gym_deepdrive\\envs\\deepdrive_gym_env.py\", line 512, in __del__\r\n>     self.close()\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\gym_deepdrive\\envs\\deepdrive_gym_env.py\", line 526, in close\r\n>     self.close_sim()\r\n>   File \"C:\\Users\\Innovacion\\Documents\\deepdrive\\gym_deepdrive\\envs\\deepdrive_gym_env.py\", line 208, in close_sim\r\n>     log.info('Closing sim')\r\n> Message: 'Closing sim'\r\n> Arguments: ()\r\n\r\nDid someone got this error and found a way to fix it? I don't know what to do, i tried building with UE4.14.3 and UE4.20.2, both leading to the exact same error.\r\nI also tried to build the simulator directly (from deepdrive-sim repo), and it didn't work either (but the error was different). Here is the link to the issue ; https://github.com/deepdrive/deepdrive-sim/issues/14"},"comment":{"url":"https://api.github.com/repos/deepdrive/deepdrive/issues/comments/424497282","html_url":"https://github.com/deepdrive/deepdrive/issues/22#issuecomment-424497282","issue_url":"https://api.github.com/repos/deepdrive/deepdrive/issues/22","id":424497282,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ5NzI4Mg==","user":{"login":"crizCraig","id":181225,"node_id":"MDQ6VXNlcjE4MTIyNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/181225?v=4","gravatar_id":"","url":"https://api.github.com/users/crizCraig","html_url":"https://github.com/crizCraig","followers_url":"https://api.github.com/users/crizCraig/followers","following_url":"https://api.github.com/users/crizCraig/following{/other_user}","gists_url":"https://api.github.com/users/crizCraig/gists{/gist_id}","starred_url":"https://api.github.com/users/crizCraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crizCraig/subscriptions","organizations_url":"https://api.github.com/users/crizCraig/orgs","repos_url":"https://api.github.com/users/crizCraig/repos","events_url":"https://api.github.com/users/crizCraig/events{/privacy}","received_events_url":"https://api.github.com/users/crizCraig/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T20:51:54Z","updated_at":"2018-09-25T20:51:54Z","author_association":"COLLABORATOR","body":"So to be clear, this does not look to be a deepdrive issue. However, I'd love to see this work for you, so can you try renaming `deepdrive.exe` to `ue4editor.exe` per this https://www.youtube.com/watch?v=3qRbcR7cYpg - This as we know ue4editor.exe is allowed to run in High performance mode. If that works, we'll need to change some python to launch the correct exe, but that's easy."}}
{"actor":{"display_login":"crizCraig"}}