Comments (5)
I have the same issue. As I have worked a lot wit Data Populator before, I feel like this happend with the newest sketch update.
from data-populator.
I confirm the same issue with Sketch 85.1. This plugin is much more powerful than Sketch built-in data features. It would be awesome if there was a fix.
from data-populator.
The same is happening to me. It worked for a few days and then stopped.
from data-populator.
It seems this plugin used an internal class that no longer exists.
Console shows a this:
standard 12:07:08.428778+0200 Sketch Possible Unhandled Promise Rejection: ReferenceError: Can't find variable: MSLayerArray at l (/Users/fbolte/Library/Application Support/com.bohemiancoding.sketch3/Plugins/data-populator.sketchplugin/Contents/Sketch/__src_sketch_commands_populateFromURL.js:1:60655) …
From the release notes of Sketch v84:
We removed the internal class MSLayerArray from our codebase. Code that dealt with layer arrays now uses regular NSArray objects instead. This change made our internal code cleaner and easier to maintain by removing an unnecessary layer of abstraction.
As mentioned in our Internal API page, this is an internal class that should never be used. But we are aware that some plugins use it, and we’re providing this information to help them migrate their code to use the new APIs.
Code expecting an MSLayerArray object, and using its .layers() method to get an NSArray with the layers, will now receive an NSArray object. The .layers() call is no longer needed.
Plugins relying on any of the internal methods in MSLayerArray will not work. They may even crash Sketch if they’re passing the returned value unchecked to other parts of the plugin code.
Check the table in the next section for examples of how to migrate your code.
We recommend using the JavaScript API where possible. If you feel something is missing from our API, please submit feedback and feature requests!.
Source: https://developer.sketch.com/plugins/updates/new-in-sketch-84
:-/
from data-populator.
@theguywithhat @rreina @marybmichaels @fabianbolte @Buydens we just pushed a fix – please update. sorry for the inconvenience.
from data-populator.
Related Issues (20)
- Local image path is not populating HOT 2
- Auto-height does not work for text or paragraphs HOT 3
- GraphQL Support HOT 1
- Image permissions/rights HOT 1
- Plugin doesn't work with replaced nested symbols HOT 1
- Json iterating per child element, rather than by parent element HOT 2
- JSON Reference for Devs. HOT 1
- Parse/Manipulate Data HOT 4
- Anyone please help calling this value in adobe xd through data populator plugin.
- Condition actions for #show/#hide not working HOT 3
- Bug- Data not populating in placeholders HOT 4
- Feature request- Auto populate option HOT 3
- Add support for populating multiple symbols nested inside another symbol HOT 1
- webp file in sketch JSON input crash HOT 2
- I have no option to load the local JSON file HOT 1
- Data populator major bugs that ruin the experience HOT 3
- Support Prefix & Suffix HOT 2
- Allow DataPopulator to populate artboard names HOT 1
- Bug: Populate with Json dialog box fail to appear (sketch plugin) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-populator.