AIS-Bonn / AIS-Bonn/SmartEdgeSensor3DHumanPose

'QByteArray(): too many arguments' when using 'rqt --perspective-file pose_hall.perspective'

未关闭
#2 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
36
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

I could cont open the pose_hall.perspective by rqt. I suppose the error in line [1089 to 1095](https://github.com/AIS-Bonn/SmartEdgeSensor3DHumanPose/blob/801e69f6a342173658e55bac52b67d5b769b55e5/pose_hall.perspective#L1095) of pose_hall.perspective. Because it's so long.

The following is the ouput of 'rqt --perspective-file pose_hall.perspective'
```
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 347, in _on_import_perspective
self.import_perspective_from_file(file_name, perspective_name)
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 360, in import_perspective_from_file
self._convert_values(data, self._import_value)
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 422, in _convert_values
self._convert_values(groups[group], convert_function)
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 419, in _convert_values
keys[key] = convert_function(keys[key])
File "/opt/ros/noetic/lib/python3/dist-packages/qt_gui/perspective_manager.py", line 429, in _import_value
return QByteArray.fromHex(eval(value['repr(QByteArray.hex)']))
File "", line 1, in
TypeError: arguments did not match any overloaded call:
QByteArray(): too many arguments
QByteArray(int, str): argument 1 has unexpected type 'str'
QByteArray(Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'str'
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。