IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.42k stars 4.8k forks source link

Problema no Intel.RealSense.Viewer.exe #13068

Open Giovanna-Ruiz-intel opened 6 days ago

Giovanna-Ruiz-intel commented 6 days ago
librealsense 2.55.1 RELEASE
OS Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:

RealSense error calling rs2_create_context_ex(api_version:25501, json_settings:{):
    failed to load configuration file (C:\Users\giova\AppData\Roaming\realsense-config.json): [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON
MartyG-RealSense commented 6 days ago

Hi @Giovanna-Ruiz-intel A possible cause of this error is that the RealSense SDK uses a json file to store settings. Sometimes, due to an app not cleanly closing down, those json files are empty and the SDK will crash on the next time that it is launched. The json files can be found at the following location on a Windows computer:

C:\Users\[user]\AppData\Roaming

'user' in the path is your Windows user account name.

The folder contains files like 'realsense-config.json'. The workaround is to delete the empty json files at this location and then relaunch.


Olá @Giovanna-Ruiz-intel Uma possível causa desse erro é que o RealSense SDK usa um arquivo json para armazenar configurações. Às vezes, devido ao fato de um aplicativo não ser encerrado corretamente, esses arquivos json ficam vazios e o SDK falhará na próxima vez que for iniciado. Os arquivos json podem ser encontrados no seguinte local em um computador Windows:

C:\Users\[user]\AppData\Roaming

'usuário' no caminho é o nome da sua conta de usuário do Windows.

A pasta contém arquivos como ‘realsense-config.json’. A solução alternativa é excluir os arquivos json vazios neste local e reiniciar.

MartyG-RealSense commented 1 day ago

Hi @Giovanna-Ruiz-intel Do you require further assistance with this case, please? Thanks!