powellnorma

Results 106 comments of powellnorma

> I mean, we could do something like this, but we would still need to implement a second pseudo *os.File I might be missing something obvious, but why is that?...

> That’s a pretty surprising error for a handle that you definitely know the server just gave you, so it better exist I see. An "permission denied" could also be...

> You are wrong in your assessment that “permission denied” is surprising. It is the normal expected error from requesting performance of an operation that cannot be performed. I agree...

> This operations cannot be performed on this handle. But 🤷‍♀️ that’s effectively just permission denied by other words. I personally think `This operations cannot be performed on this handle`...

Why so passive aggressive? For me these seem to be different things.. * `Permission denied`: The user could potentially fix this by redoing the process with a different user, that...

> Same for me. Uninstalling does not fix issue. Fwiw, I am facing the same problem, and am also using vite

> it likely indicates that you're not using a "svelte-aware" bundler setup. What does this mean? What does this package specifiy that would need special handling?

> could you do a minimal repro With the following I am able to reproduce it: https://github.com/powellnorma/toast-problem Using `npm i` and `npm run dev`, I get: ``` ✘ [ERROR] [plugin...

Fyi, after specifying `"type": "module",` in `package.json` and updating `vite-plugin-svelte` + `vite` it worked

Note: In case you have an optional field like `day: date|None`, you have to add: ```python dataclasses_json.cfg.global_config.encoders[date|None] = lambda x: x and date.isoformat(x) ``` otherwise you still get the `TypeError:...