Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

(athenapdf:14640): Gtk-WARNING **: cannot open display: :99 #198

Open
lampnick opened this issue Jul 23, 2019 · 3 comments
Open

(athenapdf:14640): Gtk-WARNING **: cannot open display: :99 #198

lampnick opened this issue Jul 23, 2019 · 3 comments

Comments

@lampnick
Copy link

lampnick commented Jul 23, 2019

version:v2.13.0
env: run in k8s
error message:exit status 1 :
(athenapdf:14640): Gtk-WARNING **: cannot open display: :99
log meesage:

[Worker #5] processing conversion job (pending conversions: 0)
[AthenaPDF] converting to PDF: https://test.com/5-91a0-d.html
[AthenaPDF][Error1]==>[athenapdf -S --no-cache {https://test.com/5-91a0-d.html  text/html; charset=utf-8 false}],[errinfo]==>exit status 1 : 
(athenapdf:14640): Gtk-WARNING **: cannot open display: :99

captured errors:
Error #01: exit status 1 : 
(athenapdf:14640): Gtk-WARNING **: cannot open display: :99


[GIN] 2019/07/23 - 03:23:14 | 200 |  124.925714ms |    172.25.0.129 |  GET     /convert
Error #01: exit status 1 : 
(athenapdf:14640): Gtk-WARNING **: cannot open display: :99

like this issue: #161
but the issue say this problem has been solved.
What is the reason for this problem?

@WinniX
Copy link

WinniX commented Nov 2, 2020

Hi there! We have the same issue using v2.16.0. Do you have any updates? Thanks in advance!

@MrSaints
Copy link
Collaborator

MrSaints commented Nov 2, 2020

Hey @WinniX, this project is a bit dated, and unmaintained. This seems to be a good successor: https://thecodingmachine.github.io/gotenberg/. Or, if you have access to Cloud Functions / Lambda, check out https://github.com/Courtsite/shuttlepdf.

@mingshenggan
Copy link

Leaving message here, hope it helps future folks

Try GIN_MODE=1 to get more information.
For us, we allocated insufficient memory and thus it failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants