GithubHelp home page GithubHelp logo

Comments (5)

theguywithhat avatar theguywithhat commented on May 26, 2024

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.

rreina avatar rreina commented on May 26, 2024

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.

marybmichaels avatar marybmichaels commented on May 26, 2024

The same is happening to me. It worked for a few days and then stopped.

from data-populator.

fabianbolte avatar fabianbolte commented on May 26, 2024

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.

nitrada avatar nitrada commented on May 26, 2024

@theguywithhat @rreina @marybmichaels @fabianbolte @Buydens we just pushed a fix – please update. sorry for the inconvenience.

from data-populator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.