Home | Tutorials | Wiki | Issues
Ask Your Question

position2d.cfg image not identified

asked 2017-04-13 07:00:39 -0500

paulrusu gravatar image


I am trying to implement the player in the pertaining tutorial. After creating the position2d.cfg file, I run

  gazebo worlds/pioneer2dx.world

and in another terminal

 ~/gazebo_position2d$ player position2d.cfg

Unfortunately, I get following error message:

 Traceback (most recent call last):
 File "/usr/bin/player", line 98, in <module>
 im = Image.open(filename)
 File "/home/paul/.local/lib/python3.5/site-packages/PIL/Image.py", line 2452, in open
 % (filename if filename else fp))
 OSError: cannot identify image file 'position2d.cfg'

Has anyone else experienced this problem and know a solution?

Thanks a lot.

edit retag flag offensive close merge delete



what's the result of `which player` , please

eugene-katsevman gravatar imageeugene-katsevman ( 2017-04-13 10:09:05 -0500 )edit


paulrusu gravatar imagepaulrusu ( 2017-04-13 18:06:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-13 19:16:10 -0500

eugene-katsevman gravatar image

/usr/bin/player happens to be a PIL or Pillow animated image player and not the intended playeras in player/stage. A mere name conflict. May be you'd better contact player developers here : https://github.com/rtv/Stage

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-04-13 07:00:39 -0500

Seen: 30 times

Last updated: Apr 13