AIS-Bonn / AIS-Bonn/SmartEdgeSensor3DHumanPose

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

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
36
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.