Skip to content

[BUG] Plots with GR on Mac OS stopped working at all #3800

@kellertuer

Description

@kellertuer

As a continuation of https://discourse.julialang.org/t/plots-broken-on-mac/65551/9 – I am facing a similar issue that I do not seem to be able to resolve (and I am not sure whether its Plots or GR either).

I get the error message

ERROR: LoadError: SystemError: opening file "/var/folders/q4/7mgqym9s5nx0kq4jx_z40wj00000gn/T/jl_AtKYms.png": No such file or directory

when running code with Plots/GR inside

  • On both Julia 1.6.0
  • On both most recent GR and 0.48
  • Mac OS Big Sur (M1)

things I further tried

  • deleting all artefacts
  • deleting Plots and GR (] rm Plots, GR) and adding them back again
  • deleting Juila and installing Julia again

The only thing I can additionally provide, is that on most recent GR, it also prints

objc[12652]: Class RunLoopModeTracker is implemented in both /Users/ronny/.julia/conda/3/lib/libQt5Core.5.9.7.dylib (0x1a97d5a80) and .julia/artifacts/d594d9e68b9d104aaf1a41d933728d2dad54c869/lib/QtCore.framework/Versions/5/QtCore (0x1fef79aa8). One of the two will be used. Which one is undefined.
GKS: dlopen(.julia/artifacts/04878bfb5e675dcc3270d3beaa04445ac8cba280/lib/../lib/cairoplugin.so, 1): Library not loaded: @rpath/libtiff.5.dylib
  Referenced from: .julia/artifacts/04878bfb5e675dcc3270d3beaa04445ac8cba280/lib/cairoplugin.so
  Reason: Incompatible library version: cairoplugin.so requires version 13.0.0 or later, but libtiff.5.dylib provides version 11.0.0

Backends

GR

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot
plotly
plotlyjs
pgfplotsx
inspectdr

Versions

Plots.jl version: 1.15.2
Backend version (]st -m <backend(s)>): GR 57.5 (or 0.48 or some in between)
Output of versioninfo():

Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, westmere)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions