cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

corrupted files

Open rogue-ronin opened this issue 3 years ago • 8 comments

Not entirely sure how to discuss this -- I don't know if I can reproduce it, but it has happened several times recently.

I frequently use the Recent Documents list to swap between two CTD files. The names in the list become corrupted, and at least two files have disappeared. I have backups enabled, so I haven't lost data entirely yet but just some tiny bits of work.

I just now opened backups and re-saved as CTB files. Not sure if this will have any effect, just trying anything. Really startling when my two most important files get corrupted.

If it happens again, I'll grab a screenshot. Is there another bug somewhere that describes this?

v. 0.99.32, Manjaro Linux, XFCE 4.16

rogue-ronin avatar Apr 04 '21 01:04 rogue-ronin

I haven't got such report yet, I also frequently swap between recent files in particular test meaningless data and important data (which I have in SQLite). Do you have many images/tables/codeboxes? Roughly what is the size of the documents?

giuspen avatar Apr 04 '21 19:04 giuspen

cherrytree_Screenshot_2021-04-04_14-56-00

Sizes and types there.

The DandD one has a lot of text, not many images (if any at all), and I recently started adding tables to replace some formatted text. The other one has lots of things, but probably only a table or two. Has a couple of images, but generally stored externally. I did try to make some of the sub-nodes be mono-spaced.

I could share the DandD one, if you like. It's just my Dungeons and Dragons noodling from the last few years. The other one has personal info I'd prefer not to share.

Cherrytree got slower when I switched back to the CTB files, but that probably makes sense.

This feels like a write-to-disk issue, because I got that random symbolic garbage where the document name should be.

Aloha! and thanks for the quick response. :)

rogue-ronin avatar Apr 05 '21 01:04 rogue-ronin

I understand yours is mostly a text document (the way my documents are, actually), I would be interested to understand if it happens also with the documents in CTB

giuspen avatar Apr 05 '21 19:04 giuspen

I will instantly take screenshots, and search around in logs. I will also try to explore the directory and see if there are any clues there.

Does Cherrytree log anywhere?

rogue-ronin avatar Apr 08 '21 01:04 rogue-ronin

whoops, sorry

rogue-ronin avatar Apr 08 '21 01:04 rogue-ronin

Cherrytree will log in its preferences folder starting from next version 0.99.34

giuspen avatar Apr 08 '21 18:04 giuspen

i have the same problem it says that the file is corrupt and it wont open with any other applicaion

gssc5 avatar Oct 23 '23 14:10 gssc5

@gssc5 is it a CTB? Have you tried with the backups (files in same folder with trailing tildes) - less tildes is more recent backup

giuspen avatar Oct 23 '23 18:10 giuspen