Gotenberg PDF

73 views
Skip to first unread message

mehmetme...@gmail.com

unread,
Apr 23, 2023, 2:44:14 PM4/23/23
to OpenOlat
Hello

I am using Openolat version 17.2.6. I also configured the "gotenberg" tool from pdf tools. When I want to view the exam results as pdf, I get an error that the pdf document cannot be loaded.

Thank you.

Florian Gnägi

unread,
Apr 24, 2023, 2:56:09 AM4/24/23
to open...@googlegroups.com
Hi

The gotenberg plugin is not yet ready for production, this is still in development. We did not have the time yet to fully test and optimize this. Nevertheless, if you want to help here you need to provide more information. „I get an error“ does not really help. 

- What error exactly? 
- Where did you try to create the PDF? 
- What are your settings?
- Do you have any stacktrace in your log? 

This info might help speeding up the finalizing of this feature.  

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/77342781-e27c-4a39-84db-bd2f610b2e11n%40googlegroups.com.

--------------------------------------------------------------------
professional services for the e-learning system OpenOlat
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Okenstrasse 6
CH-8037 Zürich, Switzerland


Find me on mastodon linkedin 
--------------------------------------------------------------------


frentixgmb_Halle1-C40_LT_23_Banner-fuer-E-Mail_Signatur_650x200.jpg

Stéphane Rossé

unread,
Apr 25, 2023, 8:28:12 AM4/25/23
to OpenOlat
Hi

I can generate PDF of tests with a lot of mathematical formulas. Don't use the live demo of gotenberg.dev, it is limited in RAM and CPU. It will eventually work for small certificates but not for real life test results.

If you install gotenberg yourself with docker, I would suggest first to try to generate a PDF from the login page with the command line:

curl \
--request POST 'http://localhost:3000/forms/chromium/convert/url' \
--form 'url="http://192.168.1.203:8082/"' \
-o my.pdf

The docker image has its own localhost, and it's always possible that your image doesn't see your OpenOlat (it was my case for development). Replace the IP address in the command above with the one of your OpenOlat, or your domain name.

Best regards
Stéphane

Reply all
Reply to author
Forward
0 new messages