Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#827404: gramps: Unable to init server: Could not connect: Connection refused

113 views
Skip to first unread message

Vincent Smeets

unread,
Jun 15, 2016, 3:10:03 PM6/15/16
to
Package: gramps
Version: 4.2.3~dfsg-1
Severity: minor

Hallo,

I have a batch script that calls gramps to make a backup of the
databases. This script is run by crontab, so it is run without an X
display avaliable. In case no X display is avaliable, then gramps
outputs an error message. Even in case no display is needed. See the
following output:

vincent@PC-Vincent:~$ echo $DISPLAY
:0
vincent@PC-Vincent:~$ gramps -l
List of known Family Trees in your database path

/home/vincent/.gramps/grampsdb/544be60b with name "Smeets"
vincent@PC-Vincent:~$ unset DISPLAY
vincent@PC-Vincent:~$ gramps -l
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
List of known Family Trees in your database path

/home/vincent/.gramps/grampsdb/544be60b with name "Smeets"
vincent@PC-Vincent:~$


My backup script still works so this is only a minor error.

Regards,
Vincent


-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gramps depends on:
ii gir1.2-gtk-3.0 3.20.6-1
ii librsvg2-2 2.40.15-1
ii python3-bsddb3 6.1.0-1+b2
ii python3-gi 3.20.1-1
ii python3-gi-cairo 3.20.1-1
pn python3:any <none>
ii xdg-utils 1.1.1-1

Versions of packages gramps recommends:
ii gir1.2-gexiv2-0.10 0.10.3-2
ii gir1.2-osmgpsmap-1.0 1.1.0-1
ii graphviz 2.38.0-13
ii python3-icu 1.9.2-2+b2

Versions of packages gramps suggests:
ii fonts-freefont-ttf 20120503-4
pn gir1.2-goocanvas-2.0 <none>
pn gir1.2-gtkspell3-3.0 <none>
ii python3-pil 3.2.0-2
pn rcs <none>

-- no debconf information

Vincent Smeets

unread,
Aug 22, 2017, 12:10:03 PM8/22/17
to
Hallo,

This bug can now be closed.

I have Debian/Testing and since a few days/weeks the problem doesn't occure anymore.

vincent@PC-Vincent:~$ gramps -l
List of known Family Trees in your database path

/srv/GrampsDB/544be60b with name "Smeets"
vincent@PC-Vincent:~$ unset DISPLAY
vincent@PC-Vincent:~$ gramps -l
List of known Family Trees in your database path

/srv/GrampsDB/544be60b with name "Smeets"
vincent@PC-Vincent:~$ 


Regards,
Vincent
0 new messages