UserFlows icon indicating copy to clipboard operation
UserFlows copied to clipboard

Sketch v52 - Generate Flow Diagram not working

Open fredfontes opened this issue 7 years ago • 8 comments

Flow Diagram is not being generating on 52 and 52.1 Sketch versions. Settings, Connection Style and other features neither.

fredfontes avatar Oct 08 '18 18:10 fredfontes

Thanks @fredfontes. I've pushed another patch update (v2.3.1). Let me know if that fixes the issues.

abynim avatar Oct 09 '18 02:10 abynim

Sorry, @abynim not working. I've tried with 52.0, 52.1 and 52.2 =/

fredfontes avatar Oct 10 '18 13:10 fredfontes

@fredfontes could you please post a screenshot of your UserFlows Settings? I'm probably missing some specific combination of settings. Also what exactly is not working?

abynim avatar Oct 10 '18 14:10 abynim

Settings do not popup anything. Generate Flow Diagram, Language and other things neither =(

userflows-features-not-working

fredfontes avatar Oct 10 '18 14:10 fredfontes

@fredfontes any errors showing up in Console.app when you run one of the commands?

abynim avatar Oct 10 '18 14:10 abynim

@abynim here it goes:

padrão 11:59:19.921946 -0300 Sketch UNIX error exception: 17 padrão 11:59:19.937520 -0300 Sketch UNIX error exception: 17 padrão 11:59:33.580787 -0300 Sketch TypeError: null is not an object (evaluating 'strings["alerts-save"]') line: 1913 sourceURL: /Users/fredfontes/Library/Application Support/com.bohemiancoding.sketch3/Plugins/UserFlows.sketchplugin/Contents/Sketch/script.js column: 43 stack: editSettings@/Users/fredfontes/Library/Application Support/com.bohemiancoding.sketch3/Plugins/UserFlows.sketchplugin/Contents/Sketch/script.js:1913:43 padrão 11:59:34.919756 -0300 Sketch TIC Enabling TLS [18:0x6000001771c0] padrão 11:59:34.919796 -0300 Sketch TIC TCP Conn Start [18:0x6000001771c0] padrão 11:59:34.919896 -0300 Sketch Task <B9D9315F-9F68-47CF-B28F-BD2F32D4AE91>.<2> setting up Connection 18 padrão 11:59:34.919918 -0300 Sketch [18 ] start padrão 11:59:34.923415 -0300 Sketch TIC TCP Conn Connected [18:0x6000001771c0]: Err(16) padrão 11:59:34.923598 -0300 Sketch TIC TCP Conn Event [18:0x6000001771c0]: 1 padrão 11:59:34.923653 -0300 Sketch [19 ] start padrão 11:59:34.928609 -0300 Sketch [19 stream, pid: 21567, url: https://gate.hockeyapp.net/v2/track, tls] cancelled [19.1 853208E3-DF55-4356-89E5-7BCC958223C0 .51948<->] Connected Path: satisfied (Path is satisfied), interface: lo0, dns Duration: 0.004s, , TCP @0.002s took 0.001s bytes in/out: 0/0, packets in/out: 0/0, rtt: 0.000s, retransmitted packets: 0, out-of-order packets: 0 padrão 11:59:35.079018 -0300 Sketch TIC Enabling TLS [18:0x6000001771c0] padrão 11:59:35.080055 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 1, Pending(0) padrão 11:59:35.363209 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 2, Pending(0) padrão 11:59:35.363696 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 11, Pending(0) padrão 11:59:35.364041 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 12, Pending(0) padrão 11:59:35.364071 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 14, Pending(0) padrão 11:59:35.371303 -0300 Sketch System Trust Evaluation yielded status(0) padrão 11:59:35.377745 -0300 Sketch TIC TLS Trust Result [18:0x6000001771c0]: 0 padrão 11:59:35.529328 -0300 Sketch TIC TLS Event [18:0x6000001771c0]: 20, Pending(0) padrão 11:59:35.529448 -0300 Sketch TIC TCP Conn Event [18:0x6000001771c0]: 8 padrão 11:59:35.529497 -0300 Sketch TIC TLS Handshake Complete [18:0x6000001771c0] padrão 11:59:35.530161 -0300 Sketch Task <B9D9315F-9F68-47CF-B28F-BD2F32D4AE91>.<2> now using Connection 18 padrão 11:59:35.530508 -0300 Sketch Task <B9D9315F-9F68-47CF-B28F-BD2F32D4AE91>.<2> sent request, body S padrão 11:59:35.689751 -0300 Sketch Task <B9D9315F-9F68-47CF-B28F-BD2F32D4AE91>.<2> received response, status 200 content K padrão 11:59:35.689918 -0300 Sketch Task <B9D9315F-9F68-47CF-B28F-BD2F32D4AE91>.<2> response ended padrão 11:59:43.671962 -0300 Sketch TypeError: null is not an object (evaluating 'strings["generateFlow-saveButtonTitle"]') line: 811 sourceURL: /Users/fredfontes/Library/Application Support/com.bohemiancoding.sketch3/Plugins/UserFlows.sketchplugin/Contents/Sketch/script.js column: 43 stack: generateFlow@/Users/fredfontes/Library/Application Support/com.bohemiancoding.sketch3/Plugins/UserFlows.sketchplugin/Contents/Sketch/script.js:811:43

fredfontes avatar Oct 10 '18 15:10 fredfontes

Looks like there's an issue with the Portuguese localization. Can you try to switch back to English by running this snippet in the custom script window:

NSUserDefaults.standardUserDefaults().setObject_forKey("en", "com.abynim.userflows.languageCode");

abynim avatar Oct 10 '18 15:10 abynim

Oh, man! I love you. Worked prefectly ;)

fredfontes avatar Oct 10 '18 17:10 fredfontes