Comments (2)
[The following has been copied and pasted from an email I just sent]
Hi,
Sorry it took me so long.
I found a way to remove most data in the file, "save and vacuum", and still experience faulty behaviour. You will find the file attached to this message.
If you add a subnode to the "rabbitMQ" node and save the file, you will get the error ยซ UNIQUE constraint failed: children.node_id ยป
Same error after adding a subnode to some other nodes, like the 8 or 9 lowest nodes in the file.
Two bizarre things I saw in the SQL dump for this file :
- there's a node n. 557 that is not displayed anywhere when I open the file with CherryTree, as is it not referenced in the "children" table
- there are holes in the "sequence" numbers for children of node 190, it seems like this bug is triggered after adding a subnode to one of the nodes that are after this hole (those with "sequence" > 12 in the "children" table)
Anyway, don't worry too much about this, it's probably a result of some kind of corruption that happened with an older release, and cannot happen in current releases, plus I can fix the file by using the "save as" function.
But thanks for looking into it anyway :-)
Cheers,
Sylvain
from cherrytree.
Hi @sylvainfaivre the 'save as' is regenerating a completely new database while the 'save' is only updating the part that you modified, so the save relies on the past. A 'save as' is also regenerating all the node IDs starting from 1. You can send me the misbehaving database via email (see help--about) and explain what to do to reproduce the issue
from cherrytree.
Related Issues (20)
- Regular expression help - dead url HOT 3
- Sync ~/.config/cherrytree/config.cfg with Recent Documents list in CT session. HOT 3
- Can't generate latex HOT 26
- A simple feature automatically collapse the node the next time you open the interface HOT 2
- "" changes into โโ in Formatted text node HOT 2
- Duplicate text in File menu (Portuguese translation)
- [PowerPC] Segfault on launch: `KERN_PROTECTION_FAILURE at address: 0x00000014` HOT 2
- Where do the IMGs in .ctb or .ctd file? HOT 1
- Preview embed image from Internet link HOT 1
- [FR] Internet proxy configuration in menu Preferences missing HOT 9
- Add up and down keys to table cell navigation HOT 6
- All pictures/tables erased in a node HOT 1
- Add show / hide option to show in status bar full path of selected node HOT 6
- Cherrytree wont load last used file on next startup. HOT 4
- Node path to be accessed by means other than manual copying HOT 1
- Streamlining formatting of static code blocks (not CodeBoxes).
- No localization after last update HOT 12
- Setting for navigating the tree (nodes and subnodes) using up and down arrow keys? HOT 2
- Introduce CT-Doc/Node breadcrumb trail as in Chrome Browser History HOT 1
- Some codebox inconsistent behavior
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherrytree.