sketch-dynamic-button-3.5 icon indicating copy to clipboard operation
sketch-dynamic-button-3.5 copied to clipboard

Dynamic buttons have lapsed in version 53 of sketch

Open Nirnturt opened this issue 6 years ago • 16 comments

I'm using the latest version of sketch 53, and the dynamic button is no longer working on this version.

Nirnturt avatar Feb 13 '19 16:02 Nirnturt

Similar problem in version 53.

EzhovIgor avatar Feb 20 '19 20:02 EzhovIgor

I'll look into it. If only my i can get my macbook to get past the white screen of death.

fuggfuggfugg avatar Feb 21 '19 05:02 fuggfuggfugg

@EIVX @EzhovIgor I cannot install Sketch53 because my OS is old. Can you help me with the error:

1: Open console app (cmd + space > console) Type sketch in the search bar so errors are filtered. 2: Open Sketch > new doc > Type something and cmd + J. 3: Click Save (under search bar) or copy paste errors here.

fuggfuggfugg avatar Feb 21 '19 07:02 fuggfuggfugg

Well, as I will be near the computer, I will conduct the procedure =)

EzhovIgor avatar Feb 21 '19 08:02 EzhovIgor

@fuggfuggfugg which log file do you want?

sashagolds avatar Feb 21 '19 16:02 sashagolds

Could not get the data. Can I describe in more detail the process of getting the error files?

EzhovIgor avatar Feb 21 '19 19:02 EzhovIgor

@sashagolds @EzhovIgor

Follow below steps:

1 2 3 4

fuggfuggfugg avatar Feb 22 '19 00:02 fuggfuggfugg

Sorry. I still rolled back to version 52.6. By the way, in 53 the plugin works, but it is crooked and only with objects already done before.

EzhovIgor avatar Feb 22 '19 06:02 EzhovIgor

@fuggfuggfugg Attached below!

default	11:03:44.508477 -0800	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001e1dda0 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x600001214230>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600002209b90 (com.bohemiancoding.sketch3 - 10210)>";
}}
default	11:03:44.580789 -0800	Sketch	UNIX error exception: 17
default	11:03:44.596752 -0800	Sketch	UNIX error exception: 17
default	11:03:44.783907 -0800	Sketch	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 165 vs 3268, 512, <private>
default	11:03:50.192325 -0800	Sketch	No WebView present. Event cannot be posted to the web UI.
default	11:03:50.478776 -0800	Sketch	TypeError: container.resizeToFitChildrenWithOption is not a function. (In 'container.resizeToFitChildrenWithOption(1)', 'container.resizeToFitChildrenWithOption' is undefined)
line: 25
sourceURL: /Users/sasha/Library/Application Support/com.bohemiancoding.sketch3/Plugins/sketch-dynamic-button-3.5-master/DynamicButton3.5.sketchplugin/Contents/Sketch/script.cocoascript
column: 44
stack: addLayerOfRectType@/Users/sasha/Library/Application Support/com.bohemiancoding.sketch3/Plugins/sketch-dynamic-button-3.5-master/DynamicButton3.5.sketchplugin/Contents/Sketch/script.cocoascript:25:44
recursiveDynamic@/Users/sasha/Library/Application Support/com.bohemiancoding.sketch3/Plugins/sketch-dynamic-button-3.5-master/DynamicButton3.5.sketchplugin/Contents/Sketch/script.cocoascript:170:43
onRun@/Users/sasha/Library/Application Support/com.bohemiancoding.sketch3/Plugins/sketch-dynamic-button-3.5-master/DynamicButton3.5.sketchplugin/Contents/Sketch/script.cocoascript:198:21
default	11:03:51.429799 -0800	Sketch	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 165, 513, <private>
default	11:03:51.590210 -0800	Sketch	Read (Async) options: 1 -- URL: <private> -- purposeID: DD00C33C-47A6-4144-A7D9-A71087305DF3 -- claimID: A6C3DE63-D83D-4E5F-B732-4054FF9DA566
default	11:03:51.590236 -0800	Sketch	Write (Async) options: 0 -- URL: <private> -- purposeID: DD00C33C-47A6-4144-A7D9-A71087305DF3 -- claimID: A6C3DE63-D83D-4E5F-B732-4054FF9DA566
default	11:03:51.591717 -0800	Sketch	Claim A6C3DE63-D83D-4E5F-B732-4054FF9DA566 granted in client
default	11:03:51.591752 -0800	Sketch	Claim A6C3DE63-D83D-4E5F-B732-4054FF9DA566 invoked in client
default	11:03:52.404133 -0800	revisiond	typeHint:sketch typeRequested:CSP_ZIP typeUsed:CSP_ZIP sectionCount:25
default	11:03:55.698267 -0800	Sketch	Making presenter DD00C33C-47A6-4144-A7D9-A71087305DF3 observe change
default	11:03:59.529545 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> resuming, QOS(0x19)
default	11:03:59.531123 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
default	11:03:59.531504 -0800	Sketch	TIC Enabling TLS [138:0x6000018f6100]
default	11:03:59.531609 -0800	Sketch	TIC TCP Conn Start [138:0x6000018f6100]
default	11:03:59.531850 -0800	Sketch	[C138 Hostname#66825918:443 tcp, url: https://gate.hockeyapp.net/v2/track, tls] start
default	11:03:59.532434 -0800	Sketch	nw_connection_report_state_with_handler_locked [C138] reporting state preparing
default	11:03:59.533872 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> setting up Connection 138
default	11:03:59.671060 -0800	Sketch	nw_socket_handle_socket_event [C138.1:3] Socket received CONNECTED event
default	11:03:59.671198 -0800	Sketch	nw_endpoint_flow_protocol_connected [C138.1 IPv4#b660cdd1:443 in_progress socket-flow (satisfied)] Transport protocol connected
default	11:03:59.672779 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 1, Pending(0)
default	11:03:59.672947 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 2, Pending(0)
default	11:03:59.783306 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 2, Pending(0)
default	11:03:59.783484 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 11, Pending(0)
default	11:03:59.783639 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 14, Pending(0)
default	11:03:59.795137 -0800	Sketch	System Trust Evaluation yielded status(0)
default	11:03:59.804821 -0800	Sketch	TIC TLS Trust Result [138:0x6000018f6100]: 0
default	11:03:59.878420 -0800	Sketch	nw_endpoint_flow_protocol_connected [C138.1 IPv4#b660cdd1:443 in_progress socket-flow (satisfied)] Output protocol connected
default	11:03:59.878609 -0800	Sketch	nw_connection_report_state_with_handler_locked [C138] reporting state ready
default	11:03:59.879363 -0800	Sketch	TIC TLS Event [138:0x6000018f6100]: 20, Pending(0)
default	11:03:59.879460 -0800	Sketch	TIC TCP Conn Connected [138:0x6000018f6100]: Err(16)
default	11:03:59.880012 -0800	Sketch	TIC TCP Conn Event [138:0x6000018f6100]: 1
default	11:03:59.880149 -0800	Sketch	TIC TCP Conn Event [138:0x6000018f6100]: 8
default	11:03:59.880259 -0800	Sketch	TIC TLS Handshake Complete [138:0x6000018f6100]
default	11:03:59.880724 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> now using Connection 138
default	11:03:59.880931 -0800	Sketch	nw_endpoint_flow_protocol_connected [C138.1 IPv4#b660cdd1:443 ready socket-flow (satisfied)] Output protocol connected
default	11:03:59.881539 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> sent request, body S
default	11:03:59.992033 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> received response, status 200 content K
default	11:03:59.992246 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> response ended
default	11:03:59.992379 -0800	Sketch	Task <31024B47-2630-4C7D-B59E-674743EFCA94>.<31> done using Connection 138
default	11:04:30.200319 -0800	Sketch	TIC TCP Conn Cancel [138:0x6000018f6100]
default	11:04:30.200446 -0800	Sketch	[C138 Hostname#66825918:443 tcp, url: https://gate.hockeyapp.net/v2/track, tls] cancel
default	11:04:30.200589 -0800	Sketch	[C138 Hostname#66825918:443 tcp, url: https://gate.hockeyapp.net/v2/track, tls] cancelled
	[C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443]
	Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
	Duration: 30.668s, DNS @0.000s took 0.043s, TCP @0.047s took 0.092s, TLS took 0.207s
	bytes in/out: 7635/1589, packets in/out: 7/4, rtt: 0.087s, retransmitted packets: 0, out-of-order packets: 0
default	11:04:30.200629 -0800	Sketch	0.000s [C138 <private> Hostname#66825918:443 resolver] path:start
default	11:04:30.200660 -0800	Sketch	0.000s [C138 <private> Hostname#66825918:443 resolver] path:satisfied
default	11:04:30.200687 -0800	Sketch	0.000s [C138 <private> Hostname#66825918:443 resolver] resolver:start_dns
default	11:04:30.200713 -0800	Sketch	0.043s [C138 <private> Hostname#66825918:443 resolver] resolver:receive_dns
default	11:04:30.200744 -0800	Sketch	0.044s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] path:start
default	11:04:30.200772 -0800	Sketch	0.044s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] path:satisfied
default	11:04:30.200799 -0800	Sketch	0.047s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] flow:start_connect
default	11:04:30.200826 -0800	Sketch	0.139s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] flow:finish_transport
default	11:04:30.200867 -0800	Sketch	0.139s [C138 <private> Hostname#66825918:443 resolver] flow:finish_transport
default	11:04:30.201002 -0800	Sketch	0.346s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] flow:finish_connect
default	11:04:30.201035 -0800	Sketch	0.346s [C138 <private> Hostname#66825918:443 resolver] flow:finish_connect
default	11:04:30.201097 -0800	Sketch	0.346s [C138.1 <private> 192.168.0.15:60860<->IPv4#b660cdd1:443 socket-flow] flow:changed_viability
default	11:04:30.201201 -0800	Sketch	0.347s [C138 <private> Hostname#66825918:443 resolver] flow:changed_viability
default	11:04:30.201234 -0800	Sketch	30.668s [C138] path:cancel
default	11:04:30.201716 -0800	Sketch	nw_endpoint_flow_protocol_disconnected [C138.1 IPv4#b660cdd1:443 cancelled socket-flow (null)] Output protocol disconnected
default	11:04:30.201852 -0800	Sketch	nw_connection_report_state_with_handler_locked [C138] reporting state cancelled
default	11:04:57.676845 -0800	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001e005d0 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x600001214230>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600002207960 (com.bohemiancoding.sketch3 - 10210)>";
}}
default	11:04:57.764227 -0800	Sketch	UNIX error exception: 17
default	11:04:57.768811 -0800	Sketch	UNIX error exception: 17
default	11:04:59.260861 -0800	Sketch	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 167, 513, <private>
default	11:05:06.841536 -0800	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001e07ed0 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x600001214230>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600002209b90 (com.bohemiancoding.sketch3 - 10210)>";
}}
default	11:05:06.922442 -0800	Sketch	UNIX error exception: 17
default	11:05:06.926286 -0800	Sketch	UNIX error exception: 17
default	11:05:07.671405 -0800	Sketch	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 169, 513, <private>
default	11:05:12.610735 -0800	NowPlayingTouchUI	[NowPlayingTouchUI] Reloading available apps due to workspace activating an application: NSConcreteNotification 0x600001e26ca0 {name = NSWorkspaceDidActivateApplicationNotification; object = <NSWorkspace: 0x600001214230>; userInfo = {
    NSWorkspaceApplicationKey = "<NSRunningApplication: 0x600002214fc0 (com.bohemiancoding.sketch3 - 10210)>";
}}
default	11:05:12.692900 -0800	Sketch	UNIX error exception: 17
default	11:05:12.696396 -0800	Sketch	UNIX error exception: 17
default	11:05:12.821132 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> resuming, QOS(0x19)
default	11:05:12.821401 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
default	11:05:12.821632 -0800	Sketch	TIC Enabling TLS [139:0x600001817cc0]
default	11:05:12.821677 -0800	Sketch	TIC TCP Conn Start [139:0x600001817cc0]
default	11:05:12.821788 -0800	Sketch	[C139 Hostname#66825918:443 tcp, url: https://gate.hockeyapp.net/v2/track, tls] start
default	11:05:12.822172 -0800	Sketch	nw_connection_report_state_with_handler_locked [C139] reporting state preparing
default	11:05:12.823315 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> setting up Connection 139
default	11:05:12.941940 -0800	Sketch	nw_socket_handle_socket_event [C139.1:3] Socket received CONNECTED event
default	11:05:12.942102 -0800	Sketch	nw_endpoint_flow_protocol_connected [C139.1 IPv4#b660cdd1:443 in_progress socket-flow (satisfied)] Transport protocol connected
default	11:05:12.943878 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 1, Pending(0)
default	11:05:12.944113 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 2, Pending(0)
default	11:05:13.065462 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 2, Pending(0)
default	11:05:13.065794 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 11, Pending(0)
default	11:05:13.066220 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 14, Pending(0)
default	11:05:13.076944 -0800	Sketch	System Trust Evaluation yielded status(0)
default	11:05:13.086842 -0800	Sketch	TIC TLS Trust Result [139:0x600001817cc0]: 0
default	11:05:13.170525 -0800	Sketch	nw_endpoint_flow_protocol_connected [C139.1 IPv4#b660cdd1:443 in_progress socket-flow (satisfied)] Output protocol connected
default	11:05:13.170715 -0800	Sketch	nw_connection_report_state_with_handler_locked [C139] reporting state ready
default	11:05:13.171160 -0800	Sketch	TIC TLS Event [139:0x600001817cc0]: 20, Pending(0)
default	11:05:13.171199 -0800	Sketch	TIC TCP Conn Connected [139:0x600001817cc0]: Err(16)
default	11:05:13.171454 -0800	Sketch	TIC TCP Conn Event [139:0x600001817cc0]: 1
default	11:05:13.171534 -0800	Sketch	TIC TCP Conn Event [139:0x600001817cc0]: 8
default	11:05:13.171559 -0800	Sketch	TIC TLS Handshake Complete [139:0x600001817cc0]
default	11:05:13.171759 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> now using Connection 139
default	11:05:13.171921 -0800	Sketch	nw_endpoint_flow_protocol_connected [C139.1 IPv4#b660cdd1:443 ready socket-flow (satisfied)] Output protocol connected
default	11:05:13.172366 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> sent request, body S
default	11:05:13.290299 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> received response, status 200 content K
default	11:05:13.290537 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> response ended
default	11:05:13.290662 -0800	Sketch	Task <4EFE0E5F-795F-422E-BFA6-9F45BB183390>.<32> done using Connection 139
default	11:05:14.276075 -0800	Sketch	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 171, 513, <private>

sashagolds avatar Feb 22 '19 19:02 sashagolds

@sashagolds Thanks a lot, I see the type error - Looks like the method is deprecated. Uninstall your plugin and run this for Sketch 53. It works for lower versions.

Test_DynamicButton53.sketchplugin.zip

If you can confirm then I can update the Repo

fuggfuggfugg avatar Feb 23 '19 00:02 fuggfuggfugg

@fuggfuggfugg Confirmed your zip works for me in 53.2. Thanks so much for keeping this updated!

corywatilo avatar Feb 25 '19 08:02 corywatilo

that zip file version is working fine in 53.2

Thanks for the quick update!

raulfunkie avatar Feb 25 '19 15:02 raulfunkie

Thanks for the confirmation. I noticed the sketchpacks thingy needs to be updated as well. I'll update the repo & fix sketchpacks so future releases will be easy.

fuggfuggfugg avatar Feb 25 '19 19:02 fuggfuggfugg

Thanks for keeping the plugin alive!

raulfunkie avatar Feb 28 '19 13:02 raulfunkie

Thanks a lot.

WenjuanWang avatar May 13 '19 08:05 WenjuanWang

Thank you @fuggfuggfugg for your continued support. Dynamic button is a lifesaver. Can confirm that the zipped file version of the plugin works for Sketch 54.1.

dan-shin avatar May 20 '19 16:05 dan-shin