Coder Social home page Coder Social logo

pyodide-demo's People

Contributors

mdboom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyodide-demo's Issues

Doesn't start, getting some errors.

when trying to run this from a website, I'm starting to get the following errors:

abort("abort(\"Assertion failed: undefined\"). Build with -s ASSERTIONS=1 for more info."). Build with -s ASSERTIONS=1 for more info.

That's the only message I get, the code, you can find it here.
https://jsfiddle.net/d235zctu/
This is what I did

  1. I cloned this repository
  2. I made it public through github pages in order for github to host the files with proper headers
  3. I request it as seen in the jsfiddle

The error seems triggered by line 3833 of pyodide.asm.js
if (chunkIndex < compressedData.successes.length-1) assert(originalSize === LZ4.CHUNK_SIZE); // all but the last chunk must be full-size
The sizes differ

The arguments called are these
image

I also managed to get some content from the buffer
image
Which seems the content of builtins.py

This repository was hugely helpful

I am the guy about to teach a class on Iodide and Pyodide.

As I have been working through the course assignments, I have come across a number of small glitches in Iodide. Not good. What to do?

The jewel in the crown is really Pyodide. All those highly used libraries, now running in the browser.

So I put together a single web page that calls Pyodide. The version under Iodide was not working. It was calling subroutines on some other website with a CORS violation.

Installing using run_docker. Who knows how long that will take. You may want to mention how long that takes too compile. Could be days for all i know.

Installing from this repository was so easy. 5 minutes I was up and running.

After banging my head against CORS for most of he day, what a pleasure.

So for end users this is a great starting point. Here is my advice.

Add a few more words of comments to this repository. Which version is it?

Mention it in the pyodide repository.

Somewhere in the distant past, I got an email about release 0.12 I think. Just download the tar ball. Now I cannot find it. Good if that were also mentioned in the Pyodide docs. Under Installation for end users.

Hope that feedback all helps.

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.