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 摘要。