AIS-Bonn / AIS-Bonn/SmartEdgeSensor3DHumanPose

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

Abierto
#2 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
36
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.