cherrytree-future slow loading

Created on 3 May 2020  路  17Comments  路  Source: giuspen/cherrytree

cherrytree-future needs several minutes starting. However cherrytree-python was much faster with the same big database. I suspect something wrong with the data loading and parsing algorithm.

All 17 comments

Hi, what file type do you use?

ct.ctd: XML 1.0 document, UTF-8 Unicode text, with very long lines

袨泻, I suppose, you don't want to show the file even to @giuspen.
In menu, Tree -> Tree Info, can you make a screenshot of that dialog?

Tree -> Tree Info doesn't do anything.
It's one database with imported cherrytree manual:
-rw-r--r-- 1 dodona users 3.5M May 3 10:00 ct.ctd

Sorry, I meant Tree Info in python version.

Are you saying, cherrytree-future opens the manual too slow?

Ok, I imported the manual a few times to make the file big and now it opens slow, I'm going to fix.

I mean that I imported the manual in the database. The database is 3.5 mb big.

Thank you for fixing the problem.

Beside this or that menu entry doesn't do anything there are codebox property conversion errors, as it converts a 22px high to 42 px codebox.

However its a alpha release, and i support the move to c++ as I feel that cherrybox, which once was small and fast, became so powerful that it drives python beyond its ends.

It fixes slow opening, but now you have slow saving :)
I will keep working on it, also I'll take a look at the codebox issue.

Thanks for testing!

_dnf info cherrytree-future_
announces a 'available package', ie. the update, beside the installed package. However same version number as the already installed package, A dnf upgrade or update doesn't do anything. I never saw something like that.

Last metadata expiration check: 0:07:24 ago on Sun 03 May 2020 08:16:03 PM CEST.
Installed Packages
Name : cherrytree-future
Version : 0.0.1.20200427git7a26f27
Release : 2.fc32
Architecture : x86_64
Size : 4.1 M
Source : cherrytree-future-0.0.1.20200427git7a26f27-2.fc32.src.rpm
Repository : @System
From repo : copr:copr.fedorainfracloud.org:bcotton:cherrytree
Summary : Hierarchical note taking application
URL : http://www.giuspen.com/cherrytree/
License : GPLv3+
Description : CherryTree is a hierarchical note taking application, featuring rich text and
: syntax highlighting, storing all the data (including images) in a single XML
: file with extension ".ctd".

Available Packages
Name : cherrytree-future
Version : 0.0.1.20200427git7a26f27
Release : 2.fc32
Architecture : src
Size : 10 M
Source : None
Repository : copr:copr.fedorainfracloud.org:bcotton:cherrytree
Summary : Hierarchical note taking application
URL : http://www.giuspen.com/cherrytree/
License : GPLv3+
Description : CherryTree is a hierarchical note taking application, featuring rich text and
: syntax highlighting, storing all the data (including images) in a single XML
: file with extension ".ctd".

git7a26f27 is 5 days ago commit

so your updated version unfortunately isn't available via dnf.
I would like to continue testing.

Ah, that was unclear for me,
dfn version is @funnelfiasco initiative. His github repo:
https://github.com/funnelfiasco/copr-cherrytree/issues

You can ask him to update the package.

I fixed codebox min height and slow saving

many thanks!!!
Test it as soon as its available via dnf.

Today I had some crashes. However I can't reproduce them. If I can then I report another issue 4 sure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

casainho picture casainho  路  7Comments

codingo picture codingo  路  7Comments

bhutch picture bhutch  路  6Comments

Thmyris picture Thmyris  路  5Comments

afonsomatos picture afonsomatos  路  3Comments