Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket communication failure .Will there be more supplements to the block experimental documents? #9

Open
LHWsleeve opened this issue Jun 12, 2019 · 4 comments
Assignees
Labels
active We are working on it bug Something isn't working stalled

Comments

@LHWsleeve
Copy link

LHWsleeve commented Jun 12, 2019

Hi
I am trying to get the blocks code running. I first looked at the 2016 block experiment, which has detailed experimental files such as train/dev/ test, etc. I can run it. But in ciff I can only see (save-/train-) files, I run under ubuntu18.04, after opening unity, running to "Created Model..." will stop, I don't know what the result is. When I was debugging, When I debug, I found it seems
"self.connection, addr = self.socket.accept();"
The client did not establish a link.
unity log:
`(Filename: <6dc6fd08b7c044d39610a24b94bee99b> Line: 0)

Waiting for a connection...
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
AgentMessenger:sendMessage(Byte[]) (at /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/AgentMessenger.cs:327)
d__39:MoveNext() (at /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/InitScript.cs:920)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/AgentMessenger.cs Line: 327)

ApplicationException: Could not send message to agent. Error System.NullReferenceException: Object reference not set to an instance of an object
at AgentMessenger.sendMessage (System.Byte[] message) [0x0001b] in /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/AgentMessenger.cs:329
at AgentMessenger.sendMessage (System.Byte[] message) [0x0004d] in /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/AgentMessenger.cs:335
at InitScript+d__39.MoveNext () [0x000c4] in /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/InitScript.cs:920
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <6dc6fd08b7c044d39610a24b94bee99b>:0

(Filename: /home/sleeve/音乐/tf01_blocks/BlockWorldSimulator/Assets/AgentMessenger.cs Line: 335)

Opening Default ApplicationOpening Default Application`

Could you add some instructions like 2016/block?
Thanks

@LHWsleeve LHWsleeve changed the title Will there be more supplements to the block experimental documents? Socket communication failure .Will there be more supplements to the block experimental documents? Jun 19, 2019
@dkmisra
Copy link
Collaborator

dkmisra commented Jun 19, 2019

Hi @LHWsleeve the instructions for running blocks are regrettably inadequate at the moment. We are working on it and would request you to check the repository soon. The new features include capability to play multiple simulations simultaneously which not something the old repository supports.

@dkmisra dkmisra self-assigned this Jun 19, 2019
@dkmisra dkmisra added the bug Something isn't working label Jun 19, 2019
@dkmisra dkmisra added the active We are working on it label Jul 6, 2019
@LHWsleeve
Copy link
Author

1.I ran the block experiment with the latest file, but it still failed and it seems that I can't communicate with the simulator. Can this problem be solved?
Thank you
Screenshot below:
图片

  1. The latest file is missing a module, I found it in the old file and copied it. No impact on the experiment?
    Thanks again

@LHWsleeve
Copy link
Author

Hello, I downloaded and ran the CHAI experiment and found the missing configuration file.
Could you update it?
Screenshot below:
图片

@dkmisra
Copy link
Collaborator

dkmisra commented Sep 9, 2019

Hi @LHWsleeve sorry for the late reply and thank you for your detailed comments. I am looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
active We are working on it bug Something isn't working stalled
Projects
None yet
Development

No branches or pull requests

2 participants