Opened 7 years ago

Closed 7 years ago

#54179 closed defect (invalid)

gv @3.7.4 fails to open correctly

Reported by: o12johns Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Up to date port installation. E.g., xfig works correctly. But gv does not.

AeroNew:~ ojohns$ gv ~/Desktop/body-cone-earth.eps 

produces panel labeled

GHOSTSCRIPT MESSAGES

with the text:

Unknown device: x11
  ./base/gsicc_manage.c:1126: gsicc_open_search(): Could not find default_gray.icc 
| ./base/gsicc_manage.c:1754: gsicc_set_device_profile(): cannot find device profile
Unrecoverable error: unknownerror in .special_op
Operand stack:
    defaultdevice
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
    defaultdevice

Then gv program comes up, but with empty display. Attempts to OPEN the eps file from within gv result in the same message as above.

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: o12johns removed
Description: modified (diff)
Owner: set to ryandesign
Status: newassigned
Summary: gv 3.7.4 fails to open correctlygv @3.7.4 fails to open correctly

I can't exactly reproduce that on my system. If ghostscript is installed with the x11 variant, gs opens eps files just fine for me. If ghostscript is installed without the x11 variant, then gs displays just a watch cursor when trying to open eps files.

So I would suggest if ghostscript is installed without the x11 variant, try reinstalling it with the x11 variant.

sudo port upgrade --enforce-variants ghostscript +x11

comment:2 Changed 7 years ago by o12johns

Problem is with gv not gs. gs opens correctly. gv does not. I did "sudo port upgrade --enforce-variants ghostscript +x11" as suggested. Had no effect. My system is OSX, XQuartz, XCode all at their latest versions. When I cd to ~/ and then type just "gv", gv opens with empty panel. I then use the FILE : OPEN dialog to open "active-passive.eps". I get the above GHOSTSCRIPT MESSAGES, as noted. But, I see that the heading of the gv window now reads "gv: active-passive.dvi". There is no file active-passive.dvi in my home directory.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

User reported by email:

Solved. Was a PATH problem. I had an old version of gs hiding in my /usr/local/bin . Please close the ticket. Thanks for your patience.

Note: See TracTickets for help on using tickets.