{"action":"created","issue":{"url":"https://api.github.com/repos/ros/ros-overlay/issues/138","repository_url":"https://api.github.com/repos/ros/ros-overlay","labels_url":"https://api.github.com/repos/ros/ros-overlay/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/ros/ros-overlay/issues/138/comments","events_url":"https://api.github.com/repos/ros/ros-overlay/issues/138/events","html_url":"https://github.com/ros/ros-overlay/issues/138","id":247557208,"number":138,"title":"RQT Image View Plugin Won't Load","user":{"login":"paralin","id":534887,"avatar_url":"https://avatars2.githubusercontent.com/u/534887?v=4","gravatar_id":"","url":"https://api.github.com/users/paralin","html_url":"https://github.com/paralin","followers_url":"https://api.github.com/users/paralin/followers","following_url":"https://api.github.com/users/paralin/following{/other_user}","gists_url":"https://api.github.com/users/paralin/gists{/gist_id}","starred_url":"https://api.github.com/users/paralin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paralin/subscriptions","organizations_url":"https://api.github.com/users/paralin/orgs","repos_url":"https://api.github.com/users/paralin/repos","events_url":"https://api.github.com/users/paralin/events{/privacy}","received_events_url":"https://api.github.com/users/paralin/received_events","type":"User","site_admin":false},"labels":[{"id":149129982,"url":"https://api.github.com/repos/ros/ros-overlay/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-03T00:07:38Z","updated_at":"2017-08-03T00:37:38Z","closed_at":null,"body":"```\r\nERROR] [1501718751.026417745]: Failed to load nodelet [rqt_image_view/ImageView_1] of type [rqt_image_view/ImageView]\r\n: Failed to load library /opt/ros/lunar/lib//librqt_image_view.so. Make sure that you are calling the PLUGINLIB_EXPORT\r\n_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could n\r\not load library (Poco exception = libopencv_core3.so.3.2: cannot open shared object file: No such file or directory) \r\nRosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) failed creating instance\r\nPluginManager._load_plugin() could not load plugin \"rqt_image_view/ImageView\": RosPluginlibPluginProvider.load() could\r\n not load plugin \"rqt_image_view/ImageView\"                                                                          \r\n```\r\n\r\nThe file is present at /opt/ros/lunar/lib//librqt_image_view.so, but since there's an extra slash in that path (I think?) it's not loading the library correctly. I think there's a path issue somewhere in the overlay.\r\n\r\nI've tried:\r\n\r\n - Rebuilding ros-lunar/opencv3 and ros-lunar/rqt and ros-linar/rqt_image_view\r\n - Deleting ~/.config/ros.org"},"comment":{"url":"https://api.github.com/repos/ros/ros-overlay/issues/comments/319835764","html_url":"https://github.com/ros/ros-overlay/issues/138#issuecomment-319835764","issue_url":"https://api.github.com/repos/ros/ros-overlay/issues/138","id":319835764,"user":{"login":"allenh1","id":2013091,"avatar_url":"https://avatars2.githubusercontent.com/u/2013091?v=4","gravatar_id":"","url":"https://api.github.com/users/allenh1","html_url":"https://github.com/allenh1","followers_url":"https://api.github.com/users/allenh1/followers","following_url":"https://api.github.com/users/allenh1/following{/other_user}","gists_url":"https://api.github.com/users/allenh1/gists{/gist_id}","starred_url":"https://api.github.com/users/allenh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenh1/subscriptions","organizations_url":"https://api.github.com/users/allenh1/orgs","repos_url":"https://api.github.com/users/allenh1/repos","events_url":"https://api.github.com/users/allenh1/events{/privacy}","received_events_url":"https://api.github.com/users/allenh1/received_events","type":"User","site_admin":false},"created_at":"2017-08-03T00:37:38Z","updated_at":"2017-08-03T00:37:38Z","body":"@paralin I had a few to investigate it now, and it seems that the `libopencv_core*.so` files end up in `/opt/ros/lunar/lib64`, and the image view files end up in `/opt/ros/lunar/lib`.\r\n\r\nWhen I get a few more, I'll try and figure out why. \r\n\r\nIn the mean time, you can get things running by just doing this:\r\n\r\n```\r\nallenh1@hunter-laptop /opt/ros/lunar/share $ export LD_LIBRARY_PATH=\"/opt/ros/lunar/lib64:${LD_LIBRARY_PATH}\" \r\nallenh1@hunter-laptop /opt/ros/lunar/share $ rosrun image_view image_view \r\n```"}}
{"actor":{"display_login":"allenh1"}}