Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#67226 closed defect (fixed)

graphviz-gui @8.0.1: Export command does nothing

Reported by: contraDanc3r Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen)
Port: graphviz-gui

Description

images of .dot files work perfectly. The File->Export command does nothing. This is on macos 12.6.1

Change History (6)

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy added
Owner: set to ryandesign
Status: newassigned
Summary: Export command does nothinggraphviz-gui: Export command does nothing

comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: graphviz-gui: Export command does nothinggraphviz-gui @8.0.1: Export command does nothing

I am on macOS 12.6.4 and I see the same thing. When choosing Export… from the File menu, this appears in Console.app:

error	18:34:14.590415-0500	Graphviz	An uncaught exception was raised
error	18:34:14.590516-0500	Graphviz	*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
error	18:34:14.593126-0500	Graphviz	(
	0   CoreFoundation                      0x00007ff8164abe8b __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff816209e48 objc_exception_throw + 48
	2   CoreFoundation                      0x00007ff81656768b _CFThrowFormattedException + 194
	3   CoreFoundation                      0x00007ff816565611 -[__NSPlaceholderArray initWithCapacity:].cold.1 + 0
	4   CoreFoundation                      0x00007ff8163b57f0 -[__NSPlaceholderArray initWithObjects:count:] + 154
	5   CoreFoundation                      0x00007ff8164184a0 __createArray + 47
	6   CoreFoundation                      0x00007ff816418463 +[NSArray arrayWithObject:] + 25
	7   Graphviz                            0x000000010f558445 Graphviz + 21573
	8   AppKit                              0x00007ff818fa408e -[NSApplication(NSResponder) sendAction:to:from:] + 288
	9   AppKit                              0x00007ff819098c10 -[NSMenuItem _corePerformAction] + 413
	10  AppKit                              0x00007ff819098932 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
	11  AppKit                              0x00007ff8190e327f -[NSMenu performActionForItemAtIndex:] + 113
	12  AppKit                              0x00007ff8190e3205 -[NSMenu _internalPerformActionForItemAtIndex:] + 82
	13  AppKit                              0x00007ff8190e304c -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 101
	14  AppKit                              0x00007ff81907d1e2 NSSLMMenuEventHandler + 1074
	15  HIToolbox                           0x00007ff81f52634d _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1365
	16  HIToolbox                           0x00007ff81f52579c _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 333
	17  HIToolbox                           0x00007ff81f53a3a9 SendEventToEventTarget + 39
	18  HIToolbox                           0x00007ff81f5982e5 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 361
	19  HIToolbox                           0x00007ff81f5bd457 SendMenuCommandWithContextAndModifiers + 46
	20  HIToolbox                           0x00007ff81f5bd405 SendMenuItemSelectedEvent + 344
	21  HIToolbox                           0x00007ff81f5bd250 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 96
	22  HIToolbox                           0x00007ff81f5bdc48 _ZL14MenuSelectCoreP8MenuData5PointdjPP13OpaqueMenuRefPt + 625
	23  HIToolbox                           0x00007ff81f5bd93e _HandleMenuSelection2 + 456
	24  AppKit                              0x00007ff818f3e6d9 _NSHandleCarbonMenuEvent + 215
	25  AppKit                              0x00007ff818f3e546 _DPSEventHandledByCarbon + 54
	26  AppKit                              0x00007ff818d9ede0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3368
	27  AppKit                              0x00007ff818d90cd9 -[NSApplication run] + 586
	28  AppKit                              0x00007ff818d64c57 NSApplicationMain + 817
	29  dyld                                0x000000011c70f52e start + 462
)

comment:3 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

I see the same after updating graphviz-devel-gui to 8.0.2 so I filed a bug report: https://gitlab.com/graphviz/graphviz/-/issues/2375

comment:4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

In 38824a61db9726becfa106164a77935665b02337/macports-ports (master):

graphviz-devel: Fix gvplugin_list

Fixes graphviz-gui-devel's Export function.

See: #67226

comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In cf72f19f44cc5d567ff2691fba8c1470c6b38975/macports-ports (master):

graphviz: Update to 8.0.2

Includes the gvplugin_list patch that fixes graphviz-gui's Export function.

Closes: #67226

comment:6 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Looks like this has been broken since 5.0.0! The fix will be in 8.0.3 and I've included it in MacPorts for 8.0.2_1 which you can get within the hour by running sudo port selfupdate.

Note: See TracTickets for help on using tickets.