Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot export to html from command line with windows executable #2502

Open
LiranSX opened this issue May 4, 2024 · 3 comments
Open

cannot export to html from command line with windows executable #2502

LiranSX opened this issue May 4, 2024 · 3 comments

Comments

@LiranSX
Copy link

LiranSX commented May 4, 2024

Version, Operative system
1.1.2

Describe the bug
according to the docs at https://www.giuspen.com/cherrytreemanual/#_exporting, using "cherrytree.exe -x [path]" should export the notes to html. it doesn't work - instead the UI is launched. also "cherrytree.exe -h" for help does nothing. is command line supported for windows?

To Reproduce
just run "cherrytree.exe -h" on windows version for example - nothing happens. running "cherrytree.exe -x [path]" opens the app and does not export anything.

@giuspen
Copy link
Owner

giuspen commented May 5, 2024

This is tricky, there is currently a setting in the build to exclude the terminal on windows as otherwise cherrytree always opens with a terminal window which is annoying. I will see if something can be done so that the same executable can support both modes

@LiranSX
Copy link
Author

LiranSX commented May 5, 2024

will be great if it can be solved. actually exporting the tree of notes is a great feature generally - it'll make it possible to carry a copy of all notes on mobile cell.

@pepal00
Copy link

pepal00 commented Jul 8, 2024

Hello,
Not sure if I should open a new issue or leave it here, but this is happening in Linux as well.

Version, Operative system
1.1.2, Kali 6.8.11-amd64 1 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux

Describe the bug
Last week I was able to run cherrytree file.ctd -x ~/Documents/path-to-exported-html/ from the terminal, but it's not working today, it only launches the file.ctd and the export is not created.

The export works fine if done through the graphical client, ie: File -> Export -> To HMTL -> All tree (single file not selected)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants