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

ImportError: No module named util #128

Closed
jihoonl opened this issue Oct 7, 2014 · 3 comments · Fixed by #129
Closed

ImportError: No module named util #128

jihoonl opened this issue Oct 7, 2014 · 3 comments · Fixed by #129

Comments

@jihoonl
Copy link
Member

jihoonl commented Oct 7, 2014

process[concert/rosbridge_websocket-11]: started with pid [10318]
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/rosbridge_server/rosbridge_websocket", line 46, in <module>
    from rosbridge_library.rosbridge_protocol import RosbridgeProtocol
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/rosbridge_protocol.py", line 33, in <module>
    from rosbridge_library.protocol import Protocol
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rosbridge_library/protocol.py", line 41, in <module>
    from rosbridge_library.util import json
ImportError: No module named util
@jihoonl
Copy link
Member Author

jihoonl commented Oct 7, 2014

It happens because rosbridge_library.util is not in the setup.py rule

https://github.com/RobotWebTools/rosbridge_suite/blob/develop/rosbridge_library/setup.py#L7

@jihoonl
Copy link
Member Author

jihoonl commented Oct 7, 2014

Seems like util directory is not installed by deb.

screenshot from 2014-10-07 09 49 35

jihoonl added a commit that referenced this issue Oct 7, 2014
@jihoonl
Copy link
Member Author

jihoonl commented Oct 7, 2014

With the patch above, now util module gets installed properly.

screenshot from 2014-10-07 09 55 36

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

Successfully merging a pull request may close this issue.

1 participant