giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

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

Open OskiBoy14 opened 1 month ago

OskiBoy14 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

OskiBoy14 commented 1 month ago

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

giuspen commented 1 month ago

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

OskiBoy14 commented 1 month ago

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

giuspen commented 1 month ago

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 commented 1 month ago

https://github.com/giuspen/cherrytree/assets/95173005/b959b766-510d-4259-8341-abd090b76bd0

See attached

giuspen commented 1 month ago

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 commented 1 month ago

[state] doc_0=F:\CherryTreeFiles\My

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

image

giuspen commented 1 month ago

OK you are using the multifile storage type. Your document folder is Myand 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.