Open magicvince opened 8 months ago
In the vym base directory there should be another dir "exports", e.g. on openSUSE there is:
/usr/share/vym/exports/orange-blue.conf
/usr/share/vym/exports/template-orange-blue
/usr/share/vym/exports/template-orange-blue/META-INF
/usr/share/vym/exports/template-orange-blue/META-INF/manifest.xml
/usr/share/vym/exports/template-orange-blue/Pictures
/usr/share/vym/exports/template-orange-blue/Pictures/1000000000000040000000400142E835.png
/usr/share/vym/exports/template-orange-blue/Thumbnails
/usr/share/vym/exports/template-orange-blue/Thumbnails/thumbnail.png
/usr/share/vym/exports/template-orange-blue/content-template.xml
/usr/share/vym/exports/template-orange-blue/content.xml
/usr/share/vym/exports/template-orange-blue/meta.xml
/usr/share/vym/exports/template-orange-blue/mimetype
/usr/share/vym/exports/template-orange-blue/page-template.xml
/usr/share/vym/exports/template-orange-blue/settings.xml
/usr/share/vym/exports/template-orange-blue/styles.xml
The used vymBaseDir you can see with Help->Debug info
Is that available?
With LMDE5/Debian11 the vymBaseDir is at the same place than yours.
And even with these files you get a warning?
The warning is generated in https://github.com/insilmaril/vym/blob/release/src/mainwindow.cpp#L4501
The files are searched here https://github.com/insilmaril/vym/blob/8d6e773b3aac16c27eb19a32326550179591c64e/src/exportoofiledialog.cpp#L35
Don't see why it isn't found then
Yes I've got the warning in 2.9.26-1 I saw you made specific change for LibreOffice export and I tried to compil the source with qtcreator, but I had some warnings:
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28: erreur : Could not find a package configuration file provided by "Qt5Script" with any of the following names: Qt5ScriptConfig.cmake qt5script-config.cmake Add the installation prefix of "Qt5Script" to CMAKE_PREFIX_PATH or set "Qt5Script_DIR" to a directory containing one of the above files. If "Qt5Script" provides a separate development package or SDK, be sure it has been installed. CMakeLists.txt:67 (find_package)
It's the first time I try to use qtcreator. I got similar error (could find a package provided by qt5script" when I try to compil in command line.
Uh, looks like your Linux installation is missing some development package of Qt, namely Qt5Script. Not sure how to install this...
The change I have done in de0b06b3649a9369a7af2fe433749982071e15a2 was just replacing the hardcoded path with the variable vymBaseDir, shouldn't really change something.
I still don't get, why the /usr/share/vym/exports/orange-blue.conf config file isn't found in your installation. Next places, which are searched are $HOME/.vym/exports (which I have never used) and finally relative to current directory in ./exports, which I only use when coding.
Ok I have no time yet to learn how to add the forgotten package, but I try something "dirty" after reading your last message. I copy the /usr/share/vym/exports/ in a MyHome/.vym/exports and it works. So the problem isn't really solve but I can work with vym Thanks Hope it helps (Now I have to understand how to customize the presentation template :) )
Indeed that was my idea, trying it in your $HOME dir. Sorry, could have been more explicit.
The libreoffice export template is really old, maybe it could be reworked meanwhile. Though I am quite busy to stabilize vym 3.0 and just today I have the first build running on Qt6, which also will need a lot of love before becoming fully usable :-/
Any help is welcome ;-)
Thanks, I'm also busy, but if I have some indication and a bit of time, I could try to renew the libreoffice template.
I am using vym 2.9.22 on LMDE5 (Linux Mint Debian Edition based on debian 11)
When I try to export with LibreOffice option, I've got a message "Attention : couldn't find configuration to export."
I have no parameters to setup LibreOffice in VYm.
Is there a way to configure this export?
Thank you