Skip to content

Error in plot /pdf(...): failed to load default encoding #10

Closed
@psychemedia

Description

@psychemedia

I am trying to run a local version of webr via the JupyterLite (3.3) kernel in a self-contained package served usig flask and bundled using pyinstaller. It works well enough on a Mac, but on Windows I get an Error: Error in pdf(...): failed to load default encoding when I try a simple plot.

image

Any suggestions about workarounds / fixes much appreciated.

If I run:

Sys.getlocale()
localeToCharset()

On both Mac and Win I get: [1] "UTF-8" "ISO8859-1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions