Hood Chatham

Results 1082 comments of Hood Chatham

Hmm well that's not a timeout: ``` CppException CoolProp::CoolPropError: Initialize failed for backend: "?", fluid: "Walter" fractions "[ 1.0000000000 ]"; error: key [Walter] was not found in string_to_index_map in JSONFluidLibrary...

> any idea why enabling JSPI would interpret cpp exception a fatal error Yes, it makes sense why a bug in the JSPI code could cause a problem like this....

Okay I'm pretty sure I fixed it. Thankfully it looks like the problem was a simple omission on my part not some more complicated mistake.

I think it is built with aborting exceptions. To fix, add ```yaml build: cxxflags: -fexceptions ldflags: -fexceptions ``` to `meta.yaml`.

Yeah please make a PR and add a test.

Shouldn't you be calling `pickle.loads`? I'd recommend doing something like: ```js const mountDir = "/mnt"; pyodide.FS.mkdir(mountDir); pyodide.FS.mount(pyodide.FS.filesystems.NODEFS, { root: "." }, mountDir); pyodide.runPython(` import pickle data = pickle.load(open("/mnt/ML_model/model.pkl")) `); ```

I think you can use `FS.createDevice` for this sort of thing.

I think this is the intended behavior, though it may be a bit unexpected. Perhaps we ought to clarify somewhere... You have to do as follows: ```js import { loadPyodide...

It's a bit confusing I agree: * `src/test-js` is a folder for typescript type tests... we might think about renaming it to make this clear * the test there is...