then unoconv is not installed
what happens if you execute unoconv on the command line?
or maybe "which" is not working, what happens if you execute "which" alone?
how did you install unoconv?
(03-16-2021, 09:44 AM)joebordes Wrote: [ -> ]then unoconv is not installed
what happens if you execute unoconv on the command line?
or maybe "which" is not working, what happens if you execute "which" alone?
how did you install unoconv?
Hi Joe, I have the UNOCONV installed. Now restart the server.
And when I execute the command you gave me, it returns: 255
install it as the gendoc corebos doc says
apt update
apt-get install libreoffice-core unoconv
unoconv --listener &
what happens if you execute this command
which unoconv > /dev/null; echo $?
?
(03-16-2021, 09:44 AM)joebordes Wrote: [ -> ]then unoconv is not installed
what happens if you execute unoconv on the command line?
or maybe "which" is not working, what happens if you execute "which" alone?
how did you install unoconv?
return exactly this
unoconv: you have to provide a filename or url as argument
Try `unoconv -h' for more information.
255
no, it can't return that, please run this command
Code:
which unoconv > /dev/null; echo $?
(03-16-2021, 03:58 PM)joebordes Wrote: [ -> ]what happens if you execute this command
which unoconv > /dev/null; echo $?
?
Joe
root@barotema:~# which unoconv > /dev/null; echo $?
0
that is correct, it should be detecting that you have unoconv installed. Please try debugging it.
- activate debug log (include/logging/config.php) enable background log, level=FATAL
- add this line before line 41 in the workflow email task:
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L41
PHP Code:
global $logbg; $logbg->fatal([($GenDocActive ? 'T':'F'), (OpenDocument::PDFConversionActive() ? 'T':'F')]);
- execute the workflow and share the logs/background-date.log file here
(03-18-2021, 07:42 PM)joebordes Wrote: [ -> ]that is correct, it should be detecting that you have unoconv installed. Please try debugging it.
- activate debug log (include/logging/config.php) enable background log, level=FATAL
- add this line before line 41 in the workflow email task:
https://github.com/tsolucio/corebos/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L41
PHP Code:
global $logbg; $logbg->fatal([($GenDocActive ? 'T':'F'), (OpenDocument::PDFConversionActive() ? 'T':'F')]);
- execute the workflow and share the logs/background-date.log file here
as I told you in the other post, everything solved.
I only noticed one detail.
When the invoice is sent manually, it is perfect.
When sent by the task flow, the grid / table, of products / services, it looks bad. You see the variables and not the conversion