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

UR 3.5.4.10845 ur5_reacher.py Error #60

Open
Geonhee-LEE opened this issue Oct 27, 2019 · 0 comments
Open

UR 3.5.4.10845 ur5_reacher.py Error #60

Geonhee-LEE opened this issue Oct 27, 2019 · 0 comments

Comments

@Geonhee-LEE
Copy link

Geonhee-LEE commented Oct 27, 2019

I want to reach the target using DRL.
So, I changed the host ip and ran the python code "ur5_reacher.py".
but it isn't worked having like following warning and error:

Warning: incomplete packet from UR`

ERROR:root:One of the environment subprocess has died, closing all processes.
Traceback (most recent call last):
File "ur5_reacher.py", line 185, in
main()
File "ur5_reacher.py", line 84, in main
callback=kindred_callback
File "/home/geonhee-ml/rl_ws/src/SenseAct/baselines/baselines/trpo_mpi/trpo_mpi.py", line 199, in learn
seg = seg_gen.next()
File "/home/geonhee-ml/rl_ws/src/SenseAct/baselines/baselines/trpo_mpi/trpo_mpi.py", line 56, in traj_segment_generator
ob, rew, new, _ = env.step(ac)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/site-packages/senseact/utils.py", line 150, in step
wrapped_step = self._wrapped_env.step(scaled_action)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/site-packages/senseact/rtrl_base_env.py", line 243, in step
self.act(action)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/site-packages/senseact/rtrl_base_env.py", line 235, in act
raise e
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/site-packages/senseact/rtrl_base_env.py", line 232, in act
self._write_action(action)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/site-packages/senseact/rtrl_base_env.py", line 401, in _write_action
raise Exception("Environment has been shutdown due to subprocess error.")
Exception: Environment has been shutdown due to subprocess error.
Process Process-4:
Traceback (most recent call last):
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/managers.py", line 709, in _callmethod
conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/process.py", line 252, in _bootstrap
self.run()
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "ur5_reacher.py", line 125, in plot_ur5_reacher
old_size = len(shared_returns['episodic_returns'])
File "", line 2, in getitem
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/managers.py", line 713, in _callmethod
self._connect()
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/managers.py", line 700, in _connect
conn = self._Client(self._token.address, authkey=self._authkey)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/connection.py", line 487, in Client
c = SocketClient(address)
File "/home/geonhee-ml/anaconda2/envs/senseact/lib/python3.5/multiprocessing/connection.py", line 614, in SocketClient
s.connect(address)
FileNotFoundError: [Errno 2] No such file or directory
`

I think the software version is diffrent.
Let me know what is the problem.
Thanks for reply you comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant