Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sketch v52 - Generate Flow Diagram not working #144

Open
fredfontes opened this issue Oct 8, 2018 · 8 comments
Open

Sketch v52 - Generate Flow Diagram not working #144

fredfontes opened this issue Oct 8, 2018 · 8 comments

Comments

@fredfontes
Copy link

fredfontes commented Oct 8, 2018

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

@fredfontes fredfontes changed the title Generate Flow Diagram not working Sketch 52 - Generate Flow Diagram not working Oct 8, 2018
@fredfontes fredfontes changed the title Sketch 52 - Generate Flow Diagram not working Sketch v52 - Generate Flow Diagram not working Oct 8, 2018
@abynim
Copy link
Owner

abynim commented Oct 9, 2018

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

@fredfontes
Copy link
Author

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

@abynim
Copy link
Owner

abynim commented Oct 10, 2018

@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?

@fredfontes
Copy link
Author

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

userflows-features-not-working

@abynim
Copy link
Owner

abynim commented Oct 10, 2018

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

@fredfontes
Copy link
Author

@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 .<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 .<2> now using Connection 18
padrão 11:59:35.530508 -0300 Sketch Task .<2> sent request, body S
padrão 11:59:35.689751 -0300 Sketch Task .<2> received response, status 200 content K
padrão 11:59:35.689918 -0300 Sketch Task .<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

@abynim
Copy link
Owner

abynim commented Oct 10, 2018

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");

@fredfontes
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants