Giter Site home page Giter Site logo

Comments (7)

giuspen avatar giuspen commented on June 22, 2024

You did file--save_as of a .ctx choosing the exact same file path/name of the existing document you are currently saving, and that causes the issue, is that correct?
I will try to reproduce and get back.

from cherrytree.

DarthtidusX avatar DarthtidusX commented on June 22, 2024

Hi,

yes that's the issue.
Okay, let me know If you have news.
Thank you.

from cherrytree.

giuspen avatar giuspen commented on June 22, 2024

I see it, thanks for reporting I will come back with a fix shortly

[2024-05-07 22:07:54.558] [   ] [error] fs::remove: g_remove failed to remove C:\msys64\tmp\.9JB2M2\bug2.ctb
[2024-05-07 22:07:54.559] [   ] [error] fs::remove: g_remove failed to remove C:\msys64\tmp\.9JB2M2\bug2.ctb
[2024-05-07 22:07:54.559] [   ] [error] !! sqlite3 'CREATE TABLE node (node_id INTEGER UNIQUE,name TEXT,txt TEXT,syntax TEXT,tags TEXT,is_ro INTEGER,is_richtxt INTEGER,has_codebox INTEGER,has_table INTEGER,has_image INTEGER,level INTEGER,ts_creation INTEGER,ts_lastsave INTEGER)': table node already exists

from cherrytree.

DarthtidusX avatar DarthtidusX commented on June 22, 2024

No Problem.
Thank you.

from cherrytree.

giuspen avatar giuspen commented on June 22, 2024

Thanks again for reporting.
I have now added checks and a warning dialog preventing a 'Save As' or 'Export' resulting in the overwrite of the currently open document.
Running 'Save' is the only supported way to update the open document in place.

from cherrytree.

DarthtidusX avatar DarthtidusX commented on June 22, 2024

Oh nice.
Thanks for fixing the issue.
Have a nice weekend.

from cherrytree.

giuspen avatar giuspen commented on June 22, 2024

Have a good weekend ;)

from cherrytree.

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.