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

Failed to open rqt->introspection->Node Graph on Windows10 with ros2-foxy-20211007-windows-release-amd64.zip #72

Open
dzywater opened this issue Oct 11, 2021 · 1 comment

Comments

@dzywater
Copy link

Traceback (most recent call last):
File "C:\Python38\lib\site-packages\pydot.py", line 1912, in create
stdout_data, stderr_data, process = call_graphviz(
File "C:\Python38\lib\site-packages\pydot.py", line 129, in call_graphviz
process = subprocess.Popen(
File "C:\Python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] ???????????

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 121, in _restore_settings
self._plugin.restore_settings(plugin_settings_plugin, instance_settings_plugin)
File "D:\app\ros2\lib\site-packages\rqt_graph\ros_graph.py", line 265, in restore_settings
self._refresh_rosgraph()
File "D:\app\ros2\lib\site-packages\rqt_graph\ros_graph.py", line 293, in _refresh_rosgraph
self._update_graph_view(self._generate_dotcode())
File "D:\app\ros2\lib\site-packages\rqt_graph\ros_graph.py", line 312, in _generate_dotcode
return self.dotcode_generator.generate_dotcode(
File "D:\app\ros2\lib\site-packages\rqt_graph\dotcode.py", line 939, in generate_dotcode
dotcode = dotcode_factory.create_dot(dotgraph)
File "D:\app\ros2\lib\site-packages\qt_dotgraph\pydotfactory.py", line 178, in create_dot
dot = graph.create_dot()
File "C:\Python38\lib\site-packages\pydot.py", line 1722, in new_method
return self.create(
File "C:\Python38\lib\site-packages\pydot.py", line 1922, in create
raise OSError(*args)
FileNotFoundError: [WinError 2] "dot" not found in path.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 231, in restore_settings
self._restore_settings(plugin_settings, instance_settings)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 123, in _restore_settings
qCritical(
UnicodeEncodeError: 'ascii' codec can't encode characters in position 650-660: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 102, in load
self._load()
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 61, in _load
self._emit_load_completed()
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 67, in _emit_load_completed
super(PluginHandlerDirect, self)._emit_load_completed(exception)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 115, in _emit_load_completed
callback(self, exception)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_manager.py", line 272, in _load_plugin_restore
self._restore_plugin_settings(handler.instance_id(), self._emit_load_plugin_completed)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_manager.py", line 309, in _restore_plugin_settings
handler.restore_settings(plugin_settings, instance_settings, callback)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 233, in restore_settings
qCritical('PluginHandler.restore_settings() plugin "%s" raised an exception:\n%s' %
UnicodeEncodeError: 'ascii' codec can't encode characters in position 643-653: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_manager.py", line 194, in load_plugin
self._load_plugin_load(instance_id, self._load_plugin_restore, argv)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_manager.py", line 253, in _load_plugin_load
handler.load(self._plugin_provider, callback)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 52, in load
super(PluginHandlerDirect, self).load(plugin_provider, callback)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 104, in load
self._emit_load_completed(e)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler_direct.py", line 67, in _emit_load_completed
super(PluginHandlerDirect, self)._emit_load_completed(exception)
File "D:\app\ros2\lib\site-packages\qt_gui\plugin_handler.py", line 115, in _emit_load_completed
callback(self, exception)
TypeError: _emit_load_plugin_completed() takes 2 positional arguments but 3 were given

@dzywater
Copy link
Author

Default codec of Python utf-8
import sys
sys.getfilesystemencoding()
'utf-8'

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

1 participant