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

Error Parsing the CherryTree Path: "xml parse fail" #2505

Open
OskiBoy14 opened this issue May 8, 2024 · 11 comments
Open

Error Parsing the CherryTree Path: "xml parse fail" #2505

OskiBoy14 opened this issue May 8, 2024 · 11 comments

Comments

@OskiBoy14
Copy link

OskiBoy14 commented May 8, 2024

Version: 1.1.2
Operative system: Windows 11 Enterprise | Version: 10.0.26120 Build 26120

Started the app this morning to continue collecting my notes and received the error message Error Parsing the CherryTree Path: "xml parse fail"

Click on any Node, the application crashes.

image

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

Can you share with me privately the file? If you didn't disable the backups you should also have 3 time based backups in the same folder

@OskiBoy14
Copy link
Author

Hi thank you for your reply. I am not sure which folder you are talking about. This message is a pop-up box which comes up when CherryTree is opened. Can you direct me to the folder that contains the files you need and the file names?

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

Sure, the path to the cherrytree document file or folder (depends from your chosen data storage type) is visible on the window title.

@OskiBoy14
Copy link
Author

Window title? Sorry, I still don't get it.

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

image
In this example, the document name is delonghi.ctb and it is located in C:\Users\penoneg\Documents

@OskiBoy14
Copy link
Author

I am unable to see this information because the application crashes when I select the main parent node.

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

OK, then open C:\Users\<yourusername>\AppData\Local\cherrytree\config.cfg
You should find at the top something like:

[state]
doc_0=C:\\Users\\penoneg\\Documents\\delonghi.ctb

@OskiBoy14
Copy link
Author

CherryTreeError.mp4

See attached

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

Please open C:\Users\<yourusername>\AppData\Local\cherrytree\config.cfg with a text editor such as notepad.
You should find at the top something like:

[state]
doc_0=C:\\Users\\penoneg\\Documents\\delonghi.ctb

@OskiBoy14
Copy link
Author

[state]
doc_0=F:\CherryTreeFiles\My

This is what i see.. Within this folder are 3 .M and 1 M folder.

image

@giuspen
Copy link
Owner

giuspen commented May 8, 2024

OK you are using the multifile storage type.
Your document folder is My and the time based rotating backups are in the folders .My~, .My~~, .My~~~
If you can zip up all 4 those folders and send to me (my email is in the help--about dialog) I will have a look and get back with a folder or document not crashing anymore and possibly improve cherrytree to better cope with such situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants