After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758332 - can't produce a PDF on a headless environment with pinpoint 0.1.8
can't produce a PDF on a headless environment with pinpoint 0.1.8
Status: RESOLVED WONTFIX
Product: pinpoint
Classification: Other
Component: general
0.1.x
Other Linux
: Normal normal
: ---
Assigned To: Pinpoint maintainer(s)
Pinpoint maintainer(s)
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2015-11-19 11:58 UTC by Antonio Terceiro
Modified: 2018-08-17 19:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Antonio Terceiro 2015-11-19 11:58:56 UTC
Hi,

I maintain pinpoint in Debian and I wrote some simple smoke tests to have them
run in the Debian CI infrastructure. Up until pinpoint 0.1.6, I could easily
export to PDF without DISPLAY being set (which is the case in the CI runs), but
with 0.1.8 I can't do that anymore.

0.1.6:

----------------8<----------------8<----------------8<-----------------
$ dpkg-query --show pinpoint
pinpoint	1:0.1.6-1
$ DISPLAY= pinpoint -o /tmp/test.pdf debian.pin
Unable to init server: Could not connect: Connection refused

(pinpoint:9389): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk
$ file -i /tmp/test.pdf 
/tmp/test.pdf: application/pdf; charset=binary
$ rm -f /tmp/test.pdf
removed ‘/tmp/test.pdf’
----------------8<----------------8<----------------8<-----------------

Even though it printed a warning about not being able to connect to the X
server (fair enough), pinpoint still produced the PDF file just fine.

Now, with the 0.1.8 package I have just built, it aborts before producing the
PDF:

----------------8<----------------8<----------------8<-----------------
$ sudo dpkg -i /home/terceiro/src/debian/build-area/pinpoint_0.1.8-1_amd64.deb 
(Reading database ... 181782 files and directories currently installed.)
Preparing to unpack .../pinpoint_0.1.8-1_amd64.deb ...
Unpacking pinpoint (1:0.1.8-1) over (1:0.1.6-1) ...
Setting up pinpoint (1:0.1.8-1) ...
Processing triggers for man-db (2.7.5-1) ...
$ DISPLAY= pinpoint -o /tmp/test.pdf debian.pin
Unable to init server: Could not connect: Connection refused
$ file -i /tmp/test.pdf
/tmp/test.pdf: cannot open `/tmp/test.pdf' (No such file or directory)
----------------8<----------------8<----------------8<-----------------
Comment 1 André Klapper 2018-08-17 19:56:52 UTC
pinpoint is not under active development anymore since 2015.
Its codebase has been archived:
https://gitlab.gnome.org/Archive/pinpoint/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.