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

Error when running 'roslaunch ocrtoc_task trigger.launch task_index:=0-0' #11

Open
Skylark0924 opened this issue Nov 11, 2021 · 3 comments

Comments

@Skylark0924
Copy link

When running roslaunch ocrtoc_task trigger.launch task_index:=0-0, I got this error:

process[trigger-1]: started with pid [1072]
Traceback (most recent call last):
  File "/root/ocrtoc_ws/src/ocrtoc_task/scripts/trigger.py", line 13, in <module>
    from grasp_detection import Grasp_Detector
  File "/root/ocrtoc_ws/src/ocrtoc_task/scripts/grasp_detection.py", line 19, in <module>
    from ocrtoc_common.transform_interface import TransformInterface
ImportError: No module named ocrtoc_common.transform_interface
[trigger-1] process has died [pid 1072, exit code 1, cmd /root/ocrtoc_ws/src/ocrtoc_task/scripts/trigger.py __name:=trigger __log:=/root/.ros/log/49e883fe-4306-11ec-8f7a-3c7c3f2de8b9/trigger-1.log].
log file: /root/.ros/log/49e883fe-4306-11ec-8f7a-3c7c3f2de8b9/trigger-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

I rosrun that py script only, and got this:

root@computer1:~/ocrtoc_ws/src/ocrtoc_task/scripts# rosrun ocrtoc_task grasp_detection.py 
Traceback (most recent call last):
  File "/root/ocrtoc_ws/src/ocrtoc_task/scripts/grasp_detection.py", line 19, in <module>
    from ocrtoc_common.transform_interface import TransformInterface
ImportError: No module named ocrtoc_common.transform_interface
@GouMinghao
Copy link
Contributor

Could you please tell what is the problem?

@GouMinghao GouMinghao reopened this Nov 15, 2021
@Skylark0924
Copy link
Author

I cloned it in a Windows and transfer it to my Ubuntu server, so this error is caused by the wrong code style in these two systems. After I downloaded it directly on ubuntu, the problem was solved.

@emigmo
Copy link

emigmo commented Nov 22, 2021

The same problem still exists in version 2.1.
This problem does not exist in the previous version

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

No branches or pull requests

3 participants