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

PDF from ODT template by LibreOffice randomly generated (or not) on Mac M1 #169

Open
JohannPouponnot opened this issue Sep 7, 2022 · 1 comment
Labels
T: bug Functionality that does not work as intended/expected

Comments

@JohannPouponnot
Copy link

Environment
Carbone Version: Carbone ^3.2.3
Node Version: Node v14.20.0
Browsers: Chrome Version 104.0.5112.101 (Build officiel) (arm64)
Desktop OS: macOs Monterey Version 12.5.1 - MacBook Pro (13-inch, M1, 2020)
Other: LibreOffice 7.3.5.2

Expected Behaviour
From Web application : need to generate PDF from ODT file passing by LibreOffice

Actual Behaviour
On click to generate a pdf document from an odt template passing by LibreOffice, randomly, the document is not generated (maybe 1 per 40 or 50 works).

Steps to reproduce
Steps to reproduce the bug:

  1. On dev environment (localhost)
  2. Click on button to send request
  3. Most of the time, the request stay pending
  4. By clicking a lot of time, the document ends up being created (randomly)

Screenshots
Capture d’écran 2022-09-07 à 10 39 11

Other comments
All my colleagues with Apple M1 encounter the same problem. Others, with Intel Chip, don't.

When request stay pending, I still have this message in my terminal :

info: Generated file saved in /var/folders/48/5tqnq07x26q8310fxz_pgd7h0000gp/T/.pdf {"name":"DocumentBuilder","service":"service","timestamp":"2022-09-07T09:03:31.461Z"}

@JohannPouponnot JohannPouponnot added the T: bug Functionality that does not work as intended/expected label Sep 7, 2022
@zaaack93
Copy link

zaaack93 commented Feb 9, 2023

Hi @JohannPouponnot
I'm also faced this issue Add another property extension
like that :
{convertTo : 'pdf',extension:'pdf'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants