Alex Morozov

Results 18 comments of Alex Morozov

I've created a test document, and a simple text link looks like this: ``` ... link inner contents ... ``` So I think you could try use this tag.

Hi, It almost certainly is related to the specific LibreOffice build not having LOKit built in. Could you try, for instance, to install a 5.1.1.3 LO version? It's specified in...

@AnSharipov `templated_docs` creates a temporary file for every requested document, runs it through templating system, and then uses LibreOffice to convert it to another format. Finally, it returns the filename...

That is the question. ) Can you run your application in debug mode via `./manage.py runserver`? Does it show any exceptions?

@AnSharipov can you share an example of a document template that doesn't work?

You may have the point! I've tried converting the template you sent me, and it took more than 11 seconds: ``` In [10]: %time fill_template('x.odt', {}, output_format='pdf') CPU times: user...

I just noticed that the template itself is almost 5 megabytes. It may be useful then to scale down the pictures. As a comparison, try to convert the file to...

@AnSharipov try to convert a file in `./manage.py shell` (like I did a couple of comments above). If everything goes well, then the it's the server setup issue. If you...

It almost certainly has to do with your LibreOffice configuration. I'd try another virtual machine / container. If you're feeling enthusiastic, you could also attach to the running process with...