Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows recentfiles.yml YAML::ParserException at startup #460

Closed
bvernoux opened this issue Jul 31, 2022 · 3 comments
Closed

Windows recentfiles.yml YAML::ParserException at startup #460

bvernoux opened this issue Jul 31, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@bvernoux
Copy link
Contributor

bvernoux commented Jul 31, 2022

Windows recentfiles.yml YAML::ParserException at startup (even with latest build)
Return error
terminate called after throwing an instance of 'YAML::ParserException'
what(): yaml-cpp: error at line 2, column 42: bad character found while scanning hex number

Path C:\Users\xxx\AppData\Roaming\glscopeclient\recentfiles.yml is not formatted correctly
See content of the file

file0:
    path: "D:\_proj\__Lab_Tools\USB3_USB2HS_Gigabit\CH569\wch-ch569-serdes\CH1_TXSTATE_Ch2_RXIRQ_UART_CH4_SerDes_180Mbps\CH1_TXSTATE_Ch2_RXIRQ_UART_CH4_SerDes_180Mbps.bin.scopesession"
    timestamp: 1659296109

Solution until it is fixed is to remove that recentfiles.yml before to launch glscopeclient

@azonenberg
Copy link
Collaborator

Can you take a look at OscilloscopeWindow.cpp:4768 and see if escpath is properly escaped? The code looks fine to me but I don't have a Windows box to test on.

@azonenberg azonenberg added the bug Something isn't working label Aug 3, 2022
@bvernoux
Copy link
Contributor Author

bvernoux commented Aug 7, 2022

The issue seems related to length of path+file
It is not really clear so far as with shorter path it works

@bvernoux
Copy link
Contributor Author

bvernoux commented Jun 9, 2023

Issue closed as it cannot be reproduced and was not related to scopehal-apps

@bvernoux bvernoux closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants