Coder Social home page Coder Social logo

Comments (6)

davidbannon avatar davidbannon commented on May 30, 2024

Hi Erik, thanks for the report.

Most of that stack trace you have sent is about LCL components complaining about exiting before cleanup so have happened after the problem.

My guess is you have a corrupted note and, to my chagrin, tomboy-ng is not reporting it correctly ! If you can work out which note you can have a look at it. Otherwise, best idea would be for me to make a special binary (I'm guessing you don't have Lazarus installed) with a lot more debugging turned on.

I assume you have the latest tomboy-ng ? v0.15 ? I have a bit more error reporting in there, however, I expect in the event of a crash, you won't see it. Sigh ...

A possible test might be to open each note, one by one and see if one of them fails, again, some error reporting will appear in the Search form. If you can find the offending note, look at the xml (if you can). If the note itself does not have any sensitive info, I'd love to see it so please keep a safe copy before trying to fix it.

Of course, if the corrupted note is in the sync repo rather than the local note directory, thats harder....

tomboy-ng is 'designed' to recover from a sync problem by starting from scratch but I strongly advise against that until we have no choice. Tomboy is a bit inclined to double up on notes doing that too I'm afraid.

David

from tomboy-ng.

erik-brangs avatar erik-brangs commented on May 30, 2024

I don't know how to find the problematic note and I've got about 2000 notes. Therefore, I'd prefer the binary.

I tried throwing away the local directory and sync from the folder but it also crashed. So I suppose the problematic note is in the sync folder.

I'm not sure about Lazarus. I installed the 0.15 amd64 Debian package from the releases page.

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

OK, there is now a new binary in that release, tomboy-ng-special.gz. You can ungzip that, it contains only a tomboy-ng binary, for Linux 64bit. Its basicily the same as the one you have now but accepts a command line switch that turns on a quite wordy dump of lines during sync. Hopefully will show, note by note, report of which one we are looking at. Last one we see before the crash is the problem.

./tomboy-ng --debug-sync

If you look at that one, and either determine whats wrong or, better still, after checking it has nothing sensitive, send it to me. Once I know whats wrong, I can build another binary that will at worse skip that note, ideally fix it.

We may be able to fix that not "by hand".

David

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

A further thought, if you have 2k notes, then that list of debug messages will be quite long.

./tomboy-ng --debug-sync >> debug.report

might be a good idea. You will generate a file up to a meg or so, depending on when it crashes.

..... and the last line of my previous message should have been -

"we may be able to fix that "by hand""

Davo

from tomboy-ng.

erik-brangs avatar erik-brangs commented on May 30, 2024

I sent you an e-mail with the information a while back. You should have received it by now unless it was caught by some spam filter.

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

(an off line discussion ensured).
Fixed in current head and will be fixed in release v0.16
Thanks for the report and subsequent testing.

from tomboy-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.