ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Sam Powers's profile - activity

2019-05-28 12:04:23 -0500 received badge  Taxonomist
2017-07-23 14:25:01 -0500 received badge  Good Question (source)
2016-02-16 09:58:58 -0500 received badge  Guru (source)
2016-02-16 09:58:58 -0500 received badge  Great Answer (source)
2015-01-17 15:02:26 -0500 received badge  Good Answer (source)
2015-01-17 15:02:26 -0500 received badge  Enlightened (source)
2014-02-26 19:58:56 -0500 received badge  Nice Question (source)
2014-02-26 19:58:54 -0500 received badge  Nice Answer (source)
2013-03-11 16:00:11 -0500 received badge  Self-Learner (source)
2013-03-11 16:00:11 -0500 received badge  Teacher (source)
2013-02-22 01:28:27 -0500 received badge  Notable Question (source)
2013-02-22 01:28:27 -0500 received badge  Famous Question (source)
2012-02-07 10:27:59 -0500 received badge  Popular Question (source)
2011-06-30 08:25:34 -0500 answered a question No such file or directory when using rosrun?

My coworker figured out the answer. It was a DOS text file, not a UNIX text file. Converting it fixed the problem, and it was able to be rosrun.

I have no idea why it was a DOS text file, but at least it works now.

2011-06-30 03:31:34 -0500 commented question No such file or directory when using rosrun?
When I run /usr/bin/env python: Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
2011-06-30 02:54:54 -0500 commented answer No such file or directory when using rosrun?
I did that. Everyone who's looked at my problem has too. It doesn't help.
2011-06-29 11:06:24 -0500 received badge  Student (source)
2011-06-28 03:38:16 -0500 commented question No such file or directory when using rosrun?
Oh, yes, I should have mentioned that. I can do "python State_Machine.py" and it runs fine. (EDIT: Actually, I need permission to post the code, so I have to get that first.)
2011-06-27 09:41:29 -0500 asked a question No such file or directory when using rosrun?

I'm running Diamondback on Maverick Meerkat Ubuntu. Basically the problem is that when I rosrun a particular node (State_Machine.py), I just get a " ': [Errno 2] No such file or directory " error.

I can rosrun other files in the directory, so it's definitely in my package path. The permissions are set correctly (chmod +x worked). I have "#!/usr/bin/env python" at the top of my file. I ran it on a friend's computer (who also has ROS setup), and it threw the same error for him, so it wouldn't seem to be my Linux/python. Renaming it doesn't fix the problem. Commenting out the imports doesn't help. It's been "make"d many times now. All to no avail.

I can post the code if that would help, but it's rather long, and it's not even getting to the main (doesn't do a print).

Any ideas?