timuric / Content-generator-sketch-plugin

Sketch app plugin for generating dummy data such as avatars, names, photos, geo data etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Persona images not working in Sketch version 41.2 (35397)

mediter opened this issue · comments

just re-downloaded the zip of the current master branch of Content Generator repo.

Using any of the three options in the Persona images produce no change. the system show the following relevant log.

Male (Sketch Plugin)[4807]: ~/Dropbox/Sketch3/Plugins/Content Generator%20Sketch%20Plugin/CG.sketchplugin/Contents/Sketch/data/images/persona/male/

Sketch[4807]: Exception: TypeError: null is not an object (evaluating 'imagesFileNames. count')

Male (Sketch Plugin)[4807]: TypeError: null is not an object (evaluating 'imagesFileNames. count')
	sourceURL: ~/Dropbox/Sketch3/Plugins/Content Generator Sketch Plugin/CG.sketchplugin/Contents/Sketch/Persona/Photos/Male.js

a bit explanation about the location of Sketch plug-in folder:

I used "ln -s" command to create a symlink so that the plugins can be synced to the cloud, that way I don't have reinstall them manually after OS reinstallation.

All the other plug-ins are working, so I assume this might not be the cause.

Thank you for the awesome plug-in!

Did you installed the plugin via Sketch Toolbox? It doesn't work that way. I've tried that.

Instead, I uninstalled it from the Sketch Toolbox, then followed the official instructions to re-install it.

And now it works.

first installed via Sketch Toolbox, didn't work.

Removed. Downloaded zip file of the current master branch. Manually put the files inside Sketch's plug-in folder. Still didn't work.

@rockallite Works Now 💃🏻
Thanks!!

These aren't working for me either. Just stopped working a while back. I've uninstalled/ reinstalled, etc and I can get the flickr images to load in but nothing under persona.... anyone else having this issue?

EDIT I've read up and found that this is because sketch 42 no longer support non-HTTPS calls due to macOS security junk. :/ Also tried reaching out to the guy who runs uifaces.com to see if he's willing to add a SSL cert to his site. No response as of 2/14/17 (reached out to him via twitter)

@alexblakwolf still didn't work T-T

Would really really love this to be fixed please guys.

For those who installed from Sketch Toolbox. Uninstall the plugin in Sketch Toolbox. Follow the instraction. It worked for me. Thanks!

@alexhitch what specifically worked for you? The rest of the plugin works fine, yes. but the "Persona>Photos>Female/Male/Neutral" image generation does NOT work in Sketch 42.

@timuric you closed a duplicate of this issue, but I cannot get this to work even in the latest build from March 6, 2017. please advise.

This has been fixed! I've verified that it works now as of the March 6, 2017 build. Thank you @timuric !

I've installed through the Sketch Toolbox, I've installed manually. I have the latest version of sketch and content generator plug in and I still don't get persona images. Any suggestions?