giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Add nodes of a Cherrytree file #2463

Open monteleo1 opened 3 months ago

monteleo1 commented 3 months ago

1.1.0, Kubuntu 23.10

I have in the toolbar the icon "Add Nodes of a CherryTree File to the Current Tree" to add a node from a template file. After upgrade to CT 1.1.0 when I select the icon in the toolbar the window "Select File" appears but when I select template CT file no new node is not created.

To Reproduce File -> Preferences -> Preferences -> Toolbar -> select "Add Nodes of a CherryTree File to the Current Tree"

The icon is added in the toolbar, click on it and select a *.ctd file, click open. The window "Who is the Parent?" appears, select "The Tree Root" or "The Selcted Node", click OK, no node is created

I tried to remove and add again the icon in the toolbar or to move the icon position in the toolbar but the issue remains.

giuspen commented 3 months ago

Thanks for reporting I'll try to reproduce and get back

giuspen commented 3 months ago

Hi again, I cannot reproduce it, can you try to run cherrytree from the terminal and see if something useful is printed when it fails? If you simply open your template with cherrytree, does it open fine? Could you share with me the template file that you import, also privetely? (find my email in cherrytree help--about dialog)

monteleo1 commented 3 months ago

Hi,

If I simply open my template with CT, it opens fine.

If I run CT from terminal, I have the following printed:

[2024-03-24 15:12:20.092] [ ] [debug] /home/monteleo/.config/cherrytree/config.cfg parsed [2024-03-24 15:12:20.169] [ ] [debug] autosave on 10 min [2024-03-24 15:12:20.252] [ ] [debug] Node 9 > node [2024-03-24 15:12:36.681] [ ] [debug] Node 1 > Section Meeting [2024-03-24 15:12:48.018] [ ] [error] import_nodes_from_ct_file: map::at

The line with the error is when I import a template file.

I have sent you a template that fails to be imported in your email: @.***

Thank you Claudio

On Sun, Mar 24, 2024 at 10:39 AM Giuseppe Penone @.***> wrote:

Hi again, I cannot reproduce it, can you try to run cherrytree from the terminal and see if something useful is printed when it fails? If you simply open your template with cherrytree, does it open fine? Could you share with me the template file that you import, also privetely? (find my email in cherrytree help--about dialog)

— Reply to this email directly, view it on GitHub https://github.com/giuspen/cherrytree/issues/2463#issuecomment-2016751332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARVOGXPVHNW5WWMYGV5XMF3YZ2NOXAVCNFSM6AAAAABFDHQSYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG42TCMZTGI . You are receiving this because you authored the thread.Message ID: @.***>

giuspen commented 3 months ago

This should be now fixed. If you could try the test build from https://www.giuspen.net/cherrytree/#testing (called 1.1.0+7) and report if that works as expected or still has issues it would be very useful

monteleo1 commented 3 months ago

Dear Giuseppe,

I tried the AppImage of the test build, it works as expected.

Grazie mille Claudio

On Sun, Mar 24, 2024 at 11:37 PM Giuseppe Penone @.***> wrote:

This should be now fixed. If you could try the test build from https://www.giuspen.net/cherrytree/#testing (called 1.1.0+7) and report if that works as expected or still has issues it would be very useful

— Reply to this email directly, view it on GitHub https://github.com/giuspen/cherrytree/issues/2463#issuecomment-2016970472, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARVOGXKMQ6JB2F2SIV6XC4LYZ5IR7AVCNFSM6AAAAABFDHQSYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHE3TANBXGI . You are receiving this because you authored the thread.Message ID: @.***>