Hi,
I am trying to test client_example.py on my server. However, I received below messages only although I turned on the server using ~/UnrealEngine_4.18/Engine/Binaries/Linux/UE4Editor "$PWD/CarlaUE4.uproject" -carla-server command.
Error : ERROR: (localhost:2000) failed to connect: [Errno 111] Connection refused
At first, I thought that it was firewall problem but, I found that though I turned on the server, the port is not activated according to netstat -ano and nmap localhost -p 2000.
Could you help me solve this problem?
My server setting is like this
[2018.04.25-19.12.52:585][ 0]LogCarla: == CARLA Settings ==============================================================
[2018.04.25-19.12.52:585][ 0]LogCarla: Last settings file loaded: ../../../../carla/Unreal/CarlaUE4/Config/CarlaSettings.ini
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/Server]
[2018.04.25-19.12.52:585][ 0]LogCarla: Networking = Enabled
[2018.04.25-19.12.52:585][ 0]LogCarla: World Port = 2000
[2018.04.25-19.12.52:585][ 0]LogCarla: Server Time-out = 100000 ms
[2018.04.25-19.12.52:585][ 0]LogCarla: Synchronous Mode = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: Send Non-Player Agents Info = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/LevelSettings]
[2018.04.25-19.12.52:585][ 0]LogCarla: Player Vehicle = Default
[2018.04.25-19.12.52:585][ 0]LogCarla: Number Of Vehicles = 15
[2018.04.25-19.12.52:585][ 0]LogCarla: Number Of Pedestrians = 30
[2018.04.25-19.12.52:585][ 0]LogCarla: Weather Id = 1
[2018.04.25-19.12.52:585][ 0]LogCarla: Seed Vehicle Spawner = 123456789
[2018.04.25-19.12.52:585][ 0]LogCarla: Seed Pedestrian Spawner = 123456789
[2018.04.25-19.12.52:585][ 0]LogCarla: Found 0 available weather settings.
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/QualitySettings]
[2018.04.25-19.12.52:585][ 0]LogCarla: Quality Settings = Epic
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/Sensor]
[2018.04.25-19.12.52:585][ 0]LogCarla: Added 0 sensors.
[2018.04.25-19.12.52:585][ 0]LogCarla: Semantic Segmentation = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: ================================================================================
Here is some part of server log.
[2018.04.25-19.12.48:196][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png' error.
[2018.04.25-19.12.48:196][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png
[2018.04.25-19.12.48:196][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:196][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:196][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:196][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:197][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png' error.
[2018.04.25-19.12.48:197][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png
[2018.04.25-19.12.48:197][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:197][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:197][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:197][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:197][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png' error.
[2018.04.25-19.12.48:197][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png
[2018.04.25-19.12.48:198][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:198][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:198][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:198][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:198][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png' error.
[2018.04.25-19.12.48:198][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_24x.png
[2018.04.25-19.12.48:198][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:198][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:199][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png' error.
[2018.04.25-19.12.48:199][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Mac/Platform_Mac_128x.png
[2018.04.25-19.12.48:201][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_24x.png' error.
[2018.04.25-19.12.48:202][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_24x.png
[2018.04.25-19.12.48:202][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:202][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:202][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:202][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:202][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_24x.png' error.
[2018.04.25-19.12.48:202][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_24x.png
[2018.04.25-19.12.48:203][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:203][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:203][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:203][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:203][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ATC_24x.png' error.
[2018.04.25-19.12.48:203][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ATC_24x.png
[2018.04.25-19.12.48:203][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:203][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:204][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:204][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:204][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_DXT_24x.png' error.
[2018.04.25-19.12.48:204][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_DXT_24x.png
[2018.04.25-19.12.48:204][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:204][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:204][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:204][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:205][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ETC1_24x.png' error.
[2018.04.25-19.12.48:205][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ETC1_24x.png
[2018.04.25-19.12.48:205][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:205][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:205][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:205][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:205][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ETC2_24x.png' error.
[2018.04.25-19.12.48:205][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ETC2_24x.png
[2018.04.25-19.12.48:205][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:205][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:206][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:206][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:206][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_PVRTC_24x.png' error.
[2018.04.25-19.12.48:206][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_PVRTC_24x.png
[2018.04.25-19.12.48:206][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:206][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:206][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:206][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:207][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ASTC_24x.png' error.
[2018.04.25-19.12.48:207][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_ASTC_24x.png
[2018.04.25-19.12.48:207][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:207][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.48:207][ 0]LogStreaming: Warning: Failed to read file '../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png' error.
[2018.04.25-19.12.48:207][ 0]LogSlate: Could not find file for Slate resource: ../../../Engine/Content/Editor/Slate/Launcher/Android/Platform_Android_128x.png
[2018.04.25-19.12.52:236][ 0]LogUdpMessaging: Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
[2018.04.25-19.12.52:245][ 0]LogTcpMessaging: Initializing TcpMessaging bridge
[2018.04.25-19.12.52:584][ 0]LogCarla: Loading CARLA settings from "../../../../carla/Unreal/CarlaUE4/Config/CarlaSettings.ini"
[2018.04.25-19.12.52:585][ 0]LogCarla: == CARLA Settings ==============================================================
[2018.04.25-19.12.52:585][ 0]LogCarla: Last settings file loaded: ../../../../carla/Unreal/CarlaUE4/Config/CarlaSettings.ini
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/Server]
[2018.04.25-19.12.52:585][ 0]LogCarla: Networking = Enabled
[2018.04.25-19.12.52:585][ 0]LogCarla: World Port = 2000
[2018.04.25-19.12.52:585][ 0]LogCarla: Server Time-out = 100000 ms
[2018.04.25-19.12.52:585][ 0]LogCarla: Synchronous Mode = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: Send Non-Player Agents Info = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/LevelSettings]
[2018.04.25-19.12.52:585][ 0]LogCarla: Player Vehicle = Default
[2018.04.25-19.12.52:585][ 0]LogCarla: Number Of Vehicles = 15
[2018.04.25-19.12.52:585][ 0]LogCarla: Number Of Pedestrians = 30
[2018.04.25-19.12.52:585][ 0]LogCarla: Weather Id = 1
[2018.04.25-19.12.52:585][ 0]LogCarla: Seed Vehicle Spawner = 123456789
[2018.04.25-19.12.52:585][ 0]LogCarla: Seed Pedestrian Spawner = 123456789
[2018.04.25-19.12.52:585][ 0]LogCarla: Found 0 available weather settings.
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/QualitySettings]
[2018.04.25-19.12.52:585][ 0]LogCarla: Quality Settings = Epic
[2018.04.25-19.12.52:585][ 0]LogCarla: [CARLA/Sensor]
[2018.04.25-19.12.52:585][ 0]LogCarla: Added 0 sensors.
[2018.04.25-19.12.52:585][ 0]LogCarla: Semantic Segmentation = Disabled
[2018.04.25-19.12.52:585][ 0]LogCarla: ================================================================================
[2018.04.25-19.12.54:354][ 0]SourceControl: Source control is disabled
[2018.04.25-19.12.54:354][ 0]SourceControl: Source control is disabled
[2018.04.25-19.12.54:444][ 0]SourceControl: Source control is disabled
[2018.04.25-19.12.54:547][ 0]SourceControl: Source control is disabled
[2018.04.25-19.12.54:840][ 0]LogMaterial: Uniform references updated for custom material expression Custom.
[2018.04.25-19.12.56:274][ 0]LogEngine: Initializing Engine...
[2018.04.25-19.12.56:719][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: Construct from data asset - 0.000 s
[2018.04.25-19.12.56:719][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: GameplayTagTreeChangedEvent.Broadcast - 0.000 s
[2018.04.25-19.12.56:941][ 0]LogAIModule: Creating AISystem for world Untitled
[2018.04.25-19.12.57:031][ 0]LogDerivedDataCache: Saved boot cache 0.08s 100MB ../../../../carla/Unreal/CarlaUE4/DerivedDataCache/Boot.ddc.
[2018.04.25-19.12.57:194][ 0]LogInit: Texture streaming: Enabled
[2018.04.25-19.12.57:554][ 0]LogEngineSessionManager: EngineSessionManager initialized
[2018.04.25-19.12.58:098][ 0]LogInit: Transaction tracking system initialized
[2018.04.25-19.12.58:691][ 0]BlueprintLog: New page: Editor Load
[2018.04.25-19.12.59:972][ 0]LocalizationService: Localization service is disabled
[2018.04.25-19.13.00:953][ 0]LogConsoleResponse: Display:
[2018.04.25-19.13.01:338][ 0]LogFileCache: Scanning file cache for directory '/home/jdhwang/carla/Unreal/CarlaUE4/Content/' took 0.05s
[2018.04.25-19.13.01:338][ 0]LogCook: Display: Max memory allowance for cook 16384mb min free memory 0mb
[2018.04.25-19.13.01:338][ 0]LogCook: Display: Mobile HDR setting 1
[2018.04.25-19.13.01:338][ 0]LogGameplayTags: Display: UGameplayTagsManager::DoneAddingNativeTags. DelegateIsBound: 0
[2018.04.25-19.13.02:808][ 0]SourceControl: Source control is disabled
[2018.04.25-19.13.02:808][ 0]Cmd: MAP LOAD FILE="../../../../carla/Unreal/CarlaUE4/Content/Maps/Town01.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
[2018.04.25-19.13.02:818][ 0]LightingResults: New page: Lighting Build
[2018.04.25-19.13.02:871][ 0]MapCheck: New page: Map Check
[2018.04.25-19.13.02:871][ 0]LightingResults: New page: Lighting Build
[2018.04.25-19.13.21:034][ 0]LogAIModule: Creating AISystem for world Town01
[2018.04.25-19.13.23:741][ 0]LogEditorServer: Finished looking for orphan Actors (0.000 secs)
[2018.04.25-19.13.24:032][ 0]Cmd: MAP CHECKDEP NOCLEARLOG
[2018.04.25-19.13.24:174][ 0]MapCheck: Map check complete: 0 Error(s), 0 Warning(s), took 142.282ms to complete.
[2018.04.25-19.13.24:174][ 0]LogFileHelpers: Loading map 'Town01' took 21.366
[2018.04.25-19.13.24:187][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:187][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:187][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:188][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:272][ 0]LogCollectionManager: Loaded 0 collections in 0.001158 seconds
[2018.04.25-19.13.24:296][ 0]LogFileCache: Scanning file cache for directory '/home/jdhwang/carla/Unreal/CarlaUE4/Saved/Collections/' took 0.00s
[2018.04.25-19.13.24:296][ 0]LogFileCache: Scanning file cache for directory '/home/jdhwang/carla/Unreal/CarlaUE4/Content/Developers/jdhwang/Collections/' took 0.00s
[2018.04.25-19.13.24:296][ 0]LogFileCache: Scanning file cache for directory '/home/jdhwang/carla/Unreal/CarlaUE4/Content/Collections/' took 0.00s
[2018.04.25-19.13.24:296][ 0]LogContentBrowser: Native class hierarchy populated in 0.0199 seconds. Added 2375 classes and 485 folders.
[2018.04.25-19.13.24:299][ 0]LogCollectionManager: Rebuilt the GUID cache for 0 collections in 0.000003 seconds
[2018.04.25-19.13.24:493][ 0]LogContentBrowser: Native class hierarchy updated for 'WidgetCarousel' in 0.0006 seconds. Added 0 classes and 0 folders.
[2018.04.25-19.13.24:517][ 0]LogContentBrowser: Native class hierarchy updated for 'AddContentDialog' in 0.0005 seconds. Added 0 classes and 0 folders.
[2018.04.25-19.13.24:593][ 0]LogContentBrowser: Native class hierarchy updated for 'SceneOutliner' in 0.0005 seconds. Added 1 classes and 2 folders.
[2018.04.25-19.13.24:631][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:631][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:631][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:649][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:652][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:652][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:652][ 0]LogLinux: Could not get DPI information for monitor #0, assuming 1.0f
[2018.04.25-19.13.24:779][ 0]LogContentBrowser: Native class hierarchy updated for 'HierarchicalLODOutliner' in 0.0005 seconds. Added 1 classes and 2 folders.
[2018.04.25-19.13.24:779][ 0]LogLoad: (Engine Initialization) Total time: 46.73 seconds
[2018.04.25-19.13.24:779][ 0]LogLoad: (Engine Initialization) Total Blueprint compile time: 0.00 seconds
[2018.04.25-19.13.24:779][ 0]LogExternalProfiler: No external profilers were discovered. External profiling features will not be available.
[2018.04.25-19.13.24:780][ 0]LogSlate: Took 0.000087 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K)
[2018.04.25-19.13.24:783][ 0]LogSlate: Took 0.000069 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Bold.ttf' (160K)
[2018.04.25-19.13.24:792][ 0]LogSlate: Took 0.000086 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/FontAwesome.ttf' (139K)
[2018.04.25-19.13.25:015][ 0]LogContentStreaming: Texture pool size now 2000 MB
[2018.04.25-19.13.25:041][ 0]LogRenderer: Reallocating scene render targets to support 804x360 Format 10 NumSamples 1 (Frame:1).
[2018.04.25-19.13.25:041][ 0]LogSlate: Took 0.000114 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (159K)
[2018.04.25-19.13.25:478][ 1]LogLinux: Setting swap interval to 'Immediate'
[2018.04.25-19.13.25:478][ 1]LogLinux: Warning: Unable to set desired swap interval 'Immediate'
[2018.04.25-19.13.25:534][ 1]LogLinux: Setting swap interval to 'Immediate'
[2018.04.25-19.13.25:534][ 1]LogLinux: Warning: Unable to set desired swap interval 'Immediate'
[2018.04.25-19.13.26:888][ 18]LogAssetRegistry: Asset discovery search completed in 40.6796 seconds
[2018.04.25-19.13.26:913][ 18]LogCollectionManager: Rebuilt the object cache for 0 collections in 0.000001 seconds (found 0 objects)
[2018.04.25-19.13.26:913][ 18]LogCollectionManager: Fixed up redirectors for 0 collections in 0.000111 seconds (updated 0 objects)
Meet same problem. Hope someone can help solve it. Great thanks.
@jd730
I just checked the code for carla, find the error is raised in Pythonclient/carla/tcp.py, line 44:
except socket.error as exception:
45 error = exception
46 logging.debug('%sconnection attempt %d: %s', self._logprefix, attempt, error)
47 time.sleep(1)
For me, this socket.error is caused by fact that carla server is not listening at port 2000,
you could check whether server is listening or not by type
lsof -i:2000 in terminal, if your port is 2000.
I use word-port 2000 to start the server, then the problem is solved.
Hope it's useful for you.
@jackspp Thanks for sharing your experience. I think I also checked using nmap and netstat. It is still closed although I set port 2000 or other.
Does it work when you run the compiled version?
And just to make sure, have you pressed "Play" after opening the editor? It doesn't seem so in the log.
@nsubiron I am running on server. So I do not have play button. I succeeded one server using compiled version. However, I still fail to use source code version. In addition the other server does not work both compiled and soource code
@jd730 The source code version by default launches the editor, not the game, you can compile a packaged version on a headless server using
$ export UE4_ROOT=/Path/to/UnrealEngine
$ ./Rebuild.sh --no-editor
$ ./Package.sh
@nsubiron Thank you for giving information.
Currently, I confronted CMake Error. I will resolve it later.
By the way, one server had same problem on issues(port does not open) although I used compiled version.
cf. CMake error is below.
CMake Error: The current CMakeCache.txt directory /home/jdhwang/t_carla/Util/Build/googletest-source/build/CMakeCache.txt is different than the directory /ho me/jdhwang/carla/Util/Build/googletest-source/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you ar e not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/jdhwang/t_carla/Util/Build/googletest-source/CMakeLists.txt" does not match the source "/home/jdhwang/carla/Util/Build/googlet est-source/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
@jd730 If the port does not open in just one machine, it's probably an issue with the configuration of the machine, make sure too that no other application in that machine is using the same port.
About the CMake error, I see I made a mistake in the instructions I gave you above, should be _Rebuild.sh_ instead of _Setup.sh_ (already fixed it), sorry about that :confused:. The easy but long way to fix it is to remove the folder _Util/Build_ and run the setup again, full instructions
$ rm -Rf Util/Build
$ ./Setup.sh
$ export UE4_ROOT=/Path/to/UnrealEngine
$ ./Rebuild.sh --no-editor
$ ./Package.sh
@nsubiron
Like you said, re-install worked although I used script of compiled version.
Thanks.
@jd730
I just checked the code for carla, find the error is raised in Pythonclient/carla/tcp.py, line 44:
except socket.error as exception: 45 error = exception 46 logging.debug('%sconnection attempt %d: %s', self._logprefix, attempt, error) 47 time.sleep(1)
For me, this socket.error is caused by fact that carla server is not listening at port 2000,
you could check whether server is listening or not by type
lsof -i:2000in terminal, if your port is 2000.I use word-port 2000 to start the server, then the problem is solved.
Hope it's useful for you.
adding "-port=2000" helped
Thanks