Opened 8 years ago

Closed 7 years ago

#52738 closed defect (fixed)

postgis2 +postgresql96 +sfcgal + gui +raster +topology: shp2pgsql-gui aborts Gtk-WARNING **: cannot open display:

Reported by: aiyanes Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: postgis2

Description

shp2pgsql-gui aborts immediately and outputs a warning message.

$ shp2pgsql-gui

(shp2pgsql-gui:858): Gtk-WARNING **: cannot open display: 
$ 

Other installed ports: postgresql96 +perl +python27 postgresql96-server

PATH: /opt/local/lib/postgresql96/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Change History (4)

comment:1 Changed 8 years ago by aiyanes

OS: Macos Sierra 10.12.1 Xcode 8.1

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… openmaintainer@… removed
Keywords: postgis2 postgresql96 shp2pgsql-gui gtk2 removed
Owner: changed from macports-tickets@… to Veence
Status: newassigned

Have you installed the xorg-server port, or XQuartz, and have you opened the app it installed? What is the value of the DISPLAY environment variable?

comment:3 Changed 8 years ago by Veence (Vincent)

Oh, oops. That seems to point to the fact that you compiled gtk2 with X11 but have no X11 active. Try reinstall gtk2 with the +quartz option, for example.

Last edited 8 years ago by Veence (Vincent) (previous) (diff)

comment:4 Changed 7 years ago by Veence (Vincent)

Resolution: fixed
Status: assignedclosed

Time out?

Note: See TracTickets for help on using tickets.