Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render to svg: filename too long #4545

Open
fonsp opened this issue Nov 23, 2022 · 13 comments
Open

render to svg: filename too long #4545

fonsp opened this issue Nov 23, 2022 · 13 comments
Labels

Comments

@fonsp
Copy link
Contributor

fonsp commented Nov 23, 2022

Setup:

~ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.8) pkg> activate --temp
  Activating new project at `/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_58k0Sb`

(jl_58k0Sb) pkg> add Plots
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_58k0Sb/Project.toml`
  [91a5bcdd] + Plots v1.36.3
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_58k0Sb/Manifest.toml`
  [d1d4a3ce] + BitFlags v0.1.7
  [d360d2e6] + ChainRulesCore v1.15.6
  [9e997f8a] + ChangesOfVariables v0.1.4
  [944b1d66] + CodecZlib v0.7.0
  [35d6a980] + ColorSchemes v3.19.0
  [3da002f7] + ColorTypes v0.11.4
  [c3611d14] + ColorVectorSpace v0.9.9
  [5ae59095] + Colors v0.12.8
  [34da2185] + Compat v4.4.0
  [d38c429a] + Contour v0.6.2
  [9a962f9c] + DataAPI v1.13.0
  [864edb3b] + DataStructures v0.18.13
  [ffbed154] + DocStringExtensions v0.9.2
  [c87230d0] + FFMPEG v0.4.1
  [53c48c17] + FixedPointNumbers v0.8.4
  [59287772] + Formatting v0.4.2
⌅ [28b8d3ca] + GR v0.69.5
  [42e2da0e] + Grisu v1.0.2
  [cd3eb016] + HTTP v1.5.5
  [83e8ac13] + IniFile v0.5.1
  [3587e190] + InverseFunctions v0.1.8
  [92d709cd] + IrrationalConstants v0.1.1
  [1019f520] + JLFzf v0.1.5
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [b964fa9f] + LaTeXStrings v1.3.0
  [23fbe1c1] + Latexify v0.15.17
  [2ab3a3ac] + LogExpFunctions v0.3.19
  [e6f89c97] + LoggingExtras v1.0.0
  [1914dd2f] + MacroTools v0.5.10
  [739be429] + MbedTLS v1.1.7
  [442fdcdd] + Measures v0.3.2
  [e1d29d7a] + Missings v1.0.2
  [77ba4419] + NaNMath v1.0.1
  [4d8831e6] + OpenSSL v1.3.2
  [bac558e1] + OrderedCollections v1.4.1
  [69de0a69] + Parsers v2.5.1
  [b98c9c47] + Pipe v1.3.0
  [ccf2f8ad] + PlotThemes v3.1.0
  [995b91a9] + PlotUtils v1.3.1
  [91a5bcdd] + Plots v1.36.3
  [21216c6a] + Preferences v1.3.0
  [3cdcf5f2] + RecipesBase v1.3.1
  [01d81517] + RecipesPipeline v0.6.11
  [189a3867] + Reexport v1.2.2
  [05181044] + RelocatableFolders v1.0.0
  [ae029012] + Requires v1.3.0
  [6c6a2e73] + Scratch v1.1.1
  [992d4aef] + Showoff v1.0.3
  [777ac1f9] + SimpleBufferStream v1.1.0
  [66db9d55] + SnoopPrecompile v1.0.1
  [a2af1166] + SortingAlgorithms v1.1.0
  [276daf66] + SpecialFunctions v2.1.7
  [82ae8749] + StatsAPI v1.5.0
  [2913bbd2] + StatsBase v0.33.21
  [62fd8b95] + TensorCore v0.1.1
  [3bb67fe8] + TranscodingStreams v0.9.9
  [5c2747f8] + URIs v1.4.0
  [1cfade01] + UnicodeFun v0.4.1
  [41fe7b60] + Unzip v0.2.0
  [6e34b625] + Bzip2_jll v1.0.8+0
  [83423d85] + Cairo_jll v1.16.1+1
  [2e619515] + Expat_jll v2.4.8+0
  [b22a6f82] + FFMPEG_jll v4.4.2+2
  [a3f928ae] + Fontconfig_jll v2.13.93+0
  [d7e528f0] + FreeType2_jll v2.10.4+0
  [559328eb] + FriBidi_jll v1.0.10+0
  [0656b61e] + GLFW_jll v3.3.8+0
⌅ [d2c73de3] + GR_jll v0.69.1+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.74.0+1
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+1
  [aacddb02] + JpegTurbo_jll v2.1.2+0
  [c1c5ebd0] + LAME_jll v3.100.1+0
  [88015f11] + LERC_jll v3.0.0+1
  [dd4b983a] + LZO_jll v2.10.1+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.7+0
  [7e76a0d4] + Libglvnd_jll v1.3.0+3
  [7add5ba3] + Libgpg_error_jll v1.42.0+0
  [94ce4f54] + Libiconv_jll v1.16.1+1
  [4b2f31a3] + Libmount_jll v2.35.0+0
  [89763e89] + Libtiff_jll v4.4.0+0
  [38a345b3] + Libuuid_jll v2.36.0+0
  [e7412a2a] + Ogg_jll v1.3.5+1
  [458c3c95] + OpenSSL_jll v1.1.19+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [91d4177d] + Opus_jll v1.3.2+0
  [30392449] + Pixman_jll v0.40.1+0
  [ea2cea3b] + Qt5Base_jll v5.15.3+2
  [a2964d1f] + Wayland_jll v1.19.0+0
  [2381bf8a] + Wayland_protocols_jll v1.25.0+0
  [02c8fc9c] + XML2_jll v2.9.14+0
  [aed1982a] + XSLT_jll v1.1.34+0
  [4f6342f7] + Xorg_libX11_jll v1.6.9+4
  [0c0b7dd1] + Xorg_libXau_jll v1.0.9+4
  [935fb764] + Xorg_libXcursor_jll v1.2.0+4
  [a3789734] + Xorg_libXdmcp_jll v1.1.3+4
  [1082639a] + Xorg_libXext_jll v1.3.4+4
  [d091e8ba] + Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] + Xorg_libXi_jll v1.7.10+4
  [d1454406] + Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] + Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+4
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.0+3
  [c7cfdc94] + Xorg_libxcb_jll v1.13.0+3
  [cc61e674] + Xorg_libxkbfile_jll v1.1.0+4
  [12413925] + Xorg_xcb_util_image_jll v0.4.0+1
  [2def613f] + Xorg_xcb_util_jll v0.4.0+1
  [975044d2] + Xorg_xcb_util_keysyms_jll v0.4.0+1
  [0d47668e] + Xorg_xcb_util_renderutil_jll v0.3.9+1
  [c22f9ab0] + Xorg_xcb_util_wm_jll v0.4.1+1
  [35661453] + Xorg_xkbcomp_jll v1.4.2+4
  [33bec58e] + Xorg_xkeyboard_config_jll v2.27.0+4
  [c5fb5394] + Xorg_xtrans_jll v1.4.0+3
  [3161d3a3] + Zstd_jll v1.5.2+0
⌅ [214eeab7] + fzf_jll v0.29.0+0
  [a4ae2306] + libaom_jll v3.4.0+0
  [0ac62f75] + libass_jll v0.15.1+0
  [f638f0a6] + libfdk_aac_jll v2.0.2+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [f27f6e37] + libvorbis_jll v1.3.7+1
  [1270edf5] + x264_jll v2021.5.5+0
  [dfaa095f] + x265_jll v3.5.0+0
  [d8fb68d0] + xkbcommon_jll v1.4.1+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [05823500] + OpenLibm_jll v0.8.1+0
  [efcefdf7] + PCRE2_jll v10.40.0+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but cannot be upgraded. To see why use `status --outdated -m`

julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]

Problem:

julia> p = plot([200000, 1], ylims=(0, 20));

julia> r = repr(MIME"image/svg+xml"(), p)
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/ae8fed890e1fcf64f2d362ea295cd0c9f1e8036c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/0f5f1e3ab08dbb0108720005783d5e8fb18b875e/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/86db9318cb3ddd958e38d2b28884c793f4bef988/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/2f38ae8b406b01e85a4f0e165d3976d8f6bf80c9/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/1b3d05e1af5571e3dc596223ea161ce78ad30e1c/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/9132d749fdc5f1fad9d2663ab3577028060824b5/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n<defs>\n  <clipPath id=\"clip310\">\n    <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n  </clipPath>\n</defs>\n<path clip-path=\"url(#clip310)\" d=\"\nM0 1600 L2400 1600 L2400 0 L0 0  Z\n  \" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity=\"1\"/>\n<defs>\n  <clipPath id=\"clip311\">\n    <rect x=\"480\" y=\"0\" width=\"1681\" height=\"1600\"/>\n  </clipPath>\n</defs>\n<path clip-path=\"url(#clip310)\"" ⋯ 19473 bytes ⋯ ".786 Q2206.22 171.786 2207.19 170.952 Q2208.17 170.119 2209.35 167.017 L2210.11 165.073 L2199.63 139.564 L2204.14 139.564 L2212.24 159.841 L2220.34 139.564 L2224.86 139.564 L2213.47 167.897 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /><path clip-path=\"url(#clip310)\" d=\"M2232.15 161.554 L2239.79 161.554 L2239.79 135.189 L2231.48 136.855 L2231.48 132.596 L2239.74 130.93 L2244.42 130.93 L2244.42 161.554 L2252.06 161.554 L2252.06 165.49 L2232.15 165.49 L2232.15 161.554 Z\" fill=\"#000000\" fill-rule=\"evenodd\" fill-opacity=\"1\" /></svg>\n"

julia> versioninfo()
Julia Version 1.8.0
Commit 5544a0fab76 (2022-08-17 13:38 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.3.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  DYLD_FALLBACK_LIBRARY_PATH = /Users/fons/.julia/artifacts/2a86ef020f132332b2f4be2fb40912cc7df5da29/lib:/Users/fons/.julia/artifacts/3fc0ab1adf6d66d25ae6809ee61ec1e388c9b6ca/lib:/Users/fons/.julia/artifacts/5b338c8fa90c05e6faea86e54d2996cca76cfbbe/lib:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/ae8fed890e1fcf64f2d362ea295cd0c9f1e8036c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/0f5f1e3ab08dbb0108720005783d5e8fb18b875e/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/86db9318cb3ddd958e38d2b28884c793f4bef988/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/2f38ae8b406b01e85a4f0e165d3976d8f6bf80c9/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/1b3d05e1af5571e3dc596223ea161ce78ad30e1c/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/9132d749fdc5f1fad9d2663ab3577028060824b5/lib:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib/julia:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib:

julia> isfile("hello.svg")
true
@fonsp fonsp added the bug label Nov 23, 2022
@fonsp fonsp changed the title savefig: filename too long render to svg: filename too long Nov 23, 2022
@t-bltg
Copy link
Member

t-bltg commented Nov 23, 2022

@jheinen, maybe.

@t-bltg t-bltg added the GR label Nov 23, 2022
@jheinen
Copy link
Member

jheinen commented Nov 23, 2022

What happens with the new version?

@t-bltg
Copy link
Member

t-bltg commented Mar 8, 2023

No answer, assuming fixed.

@t-bltg t-bltg closed this as completed Mar 8, 2023
@fonsp
Copy link
Contributor Author

fonsp commented Mar 22, 2023

This is still an issue, the reproducer above still fails. Sometimes I need to run the repr(MIME"image/svg+xml"(), p) command multiple times to get the error.

@fonsp
Copy link
Contributor Author

fonsp commented Mar 22, 2023

With the latest versions:

julia> show_svg(x) = repr(MIME"image/svg+xml"(), x)
show_svg (generic function with 1 method)

julia> import Plots
 │ Package Plots not found, but a package named Plots is available from a
 │ registry. 
 │ Install package?
 │   (jl_2opCWX) pkg> add Plots 
 └ (y/n/o) [y]: 
   Resolving package versions...
   Installed GR_jll ─ v0.71.8+0
   Installed Plots ── v1.38.8
   Installed GR ───── v0.71.8
  Downloaded artifact: GR
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_2opCWX/Project.toml`
  [91a5bcdd] + Plots v1.38.8
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_2opCWX/Manifest.toml`
  [d1d4a3ce] + BitFlags v0.1.7
  [944b1d66] + CodecZlib v0.7.1
  [28b8d3ca] + GR v0.71.8
  [cd3eb016] + HTTP v1.7.4
  [83e8ac13] + IniFile v0.5.1
  [1019f520] + JLFzf v0.1.5
  [23fbe1c1] + Latexify v0.15.18
  [e6f89c97] + LoggingExtras v1.0.0
  [739be429] + MbedTLS v1.1.7
  [442fdcdd] + Measures v0.3.2
  [4d8831e6] + OpenSSL v1.3.3
  [b98c9c47] + Pipe v1.3.0
  [ccf2f8ad] + PlotThemes v3.1.0
  [91a5bcdd] + Plots v1.38.8
  [3cdcf5f2] + RecipesBase v1.3.3
  [01d81517] + RecipesPipeline v0.6.11
  [777ac1f9] + SimpleBufferStream v1.1.0
  [5c2747f8] + URIs v1.4.2
  [41fe7b60] + Unzip v0.2.0
  [0656b61e] + GLFW_jll v3.3.8+0
  [d2c73de3] + GR_jll v0.71.8+0
  [88015f11] + LERC_jll v3.0.0+1
  [7e76a0d4] + Libglvnd_jll v1.6.0+0
  [89763e89] + Libtiff_jll v4.4.0+0
  [ea2cea3b] + Qt5Base_jll v5.15.3+2
  [a2964d1f] + Wayland_jll v1.21.0+0
  [2381bf8a] + Wayland_protocols_jll v1.25.0+0
  [935fb764] + Xorg_libXcursor_jll v1.2.0+4
  [d091e8ba] + Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] + Xorg_libXi_jll v1.7.10+4
  [d1454406] + Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] + Xorg_libXrandr_jll v1.5.2+4
  [cc61e674] + Xorg_libxkbfile_jll v1.1.0+4
  [12413925] + Xorg_xcb_util_image_jll v0.4.0+1
  [2def613f] + Xorg_xcb_util_jll v0.4.0+1
  [975044d2] + Xorg_xcb_util_keysyms_jll v0.4.0+1
  [0d47668e] + Xorg_xcb_util_renderutil_jll v0.3.9+1
  [c22f9ab0] + Xorg_xcb_util_wm_jll v0.4.1+1
  [35661453] + Xorg_xkbcomp_jll v1.4.2+4
  [33bec58e] + Xorg_xkeyboard_config_jll v2.27.0+4
  [3161d3a3] + Zstd_jll v1.5.4+0
⌅ [214eeab7] + fzf_jll v0.29.0+0
  [d8fb68d0] + xkbcommon_jll v1.4.1+0
  [8bb1440f] + DelimitedFiles
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  3 dependencies successfully precompiled in 39 seconds. 228 already precompiled.

julia> import Plots

julia> Plots.scatter(v)
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER

julia> Plots.scatter(v)
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER

julia> Plots.scatter(v) |> show_svg
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"600\" height=\"400\" viewBox=\"0 0 2400 1600\">\n<defs>\n  <clipPath id=\"clip360\">\n    <rect x=\"0\" y=\"0\" width=\"2400\" height=\"1600\"/>\n  </clipPath>\n</defs>\n<path clip-path=\"url(#clip360)\" d=\"M0 1600 L2400 1600 L2400 0 L0 0  Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" fill-opacity" ⋯ 24792 bytes ⋯ ".63 1406.07 2235.18 1406.84 Q2232.75 1407.6 2229.97 1409.15 L2229.97 1404.43 Q2232.8 1403.29 2235.25 1402.72 Q2237.7 1402.14 2239.74 1402.14 Q2245.11 1402.14 2248.31 1404.82 Q2251.5 1407.51 2251.5 1412 Q2251.5 1414.13 2250.69 1416.05 Q2249.9 1417.95 2247.8 1420.54 Q2247.22 1421.21 2244.12 1424.43 Q2241.01 1427.62 2235.37 1433.39 Z\" fill=\"#000000\" fill-rule=\"nonzero\" fill-opacity=\"1\" /></svg>\n"

julia> Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
^[[A^[[D^[[D^[[D^[[D^C




connect: Connection refused
^CGKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
ERROR: InterruptException:
Stacktrace:
  [1] unsafe_wrap
    @ ./strings/string.jl:89 [inlined]
  [2] _searchindex(s::String, t::String, i::Int64)
    @ Base ./strings/search.jl:200
  [3] occursin
    @ ./strings/search.jl:628 [inlined]
  [4] gr_inqtext(x::Int64, y::Int64, s::String)
    @ Plots ~/.julia/packages/Plots/B5j7d/src/backends/gr.jl:252
  [5] gr_text_size(str::String, rot::Int64)
    @ Plots ~/.julia/packages/Plots/B5j7d/src/backends/gr.jl:726
  [6] gr_get_ticks_size(ticks::Tuple{Vector{Float64}, Vector{String}}, rot::Int64)
    @ Plots ~/.julia/packages/Plots/B5j7d/src/backends/gr.jl:745
  [7] _update_min_padding!(sp::Plots.Subplot{Plots.GRBackend})
    @ Plots ~/.julia/packages/Plots/B5j7d/src/backends/gr.jl:869
  [8] iterate
    @ ./generator.jl:47 [inlined]
  [9] _collect(c::Matrix{RecipesBase.AbstractLayout}, itr::Base.Generator{Matrix{RecipesBase.AbstractLayout}, typeof(Plots._update_min_padding!)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{2})
    @ Base ./array.jl:807
 [10] collect_similar
    @ ./array.jl:716 [inlined]
 [11] map
    @ ./abstractarray.jl:2933 [inlined]
 [12] _update_min_padding!(layout::Plots.GridLayout)
    @ Plots ~/.julia/packages/Plots/B5j7d/src/layouts.jl:277
 [13] prepare_output(plt::Plots.Plot{Plots.GRBackend})
    @ Plots ~/.julia/packages/Plots/B5j7d/src/plot.jl:239
 [14] show
    @ ~/.julia/packages/Plots/B5j7d/src/output.jl:231 [inlined]
 [15] __binrepr(m::MIME{Symbol("image/svg+xml")}, x::Plots.Plot{Plots.GRBackend}, context::Nothing)
    @ Base.Multimedia ./multimedia.jl:159
 [16] _textrepr
    @ ./multimedia.jl:151 [inlined]
 [17] #repr#1
    @ ./multimedia.jl:147 [inlined]
 [18] repr
    @ ./multimedia.jl:147 [inlined]
 [19] show_svg
    @ ./REPL[5]:1 [inlined]
 [20] |>(x::Plots.Plot{Plots.GRBackend}, f::typeof(show_svg))
    @ Base ./operators.jl:911

julia> Plots.scatter(v) |> show_svg;

julia> Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long

^C

@jheinen
Copy link
Member

jheinen commented Mar 22, 2023

This is how it works in GR:

Screenshot 2023-03-22 at 16 54 47

Unfortunately, I can't see where GRDISPLAY is set in the Plots GR backend.

@jheinen
Copy link
Member

jheinen commented Mar 23, 2023

I can't reproduce this behaviour. Where does the error message File name too long come from?
Screenshot 2023-03-23 at 08 11 25

@fonsp
Copy link
Contributor Author

fonsp commented Mar 23, 2023

My bug report was from the REPL, I did not use Pluto (I know, crazy day 😅). I just opened a Julia REPL and entered the commands from #4545 (comment) in a clean Pkg environment.

@fonsp
Copy link
Contributor Author

fonsp commented Mar 23, 2023

Here is my ENV, in case it is relevant:

➜  ~ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.3 (2022-11-14)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> show(ENV)
__CFBundleIdentifier=com.apple.Terminal
TMPDIR=/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/
XPC_FLAGS=0x0
LaunchInstanceID=3395640E-93E4-4B1A-BEF0-2DB19F1EBCAA
TERM=xterm-256color
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.xFjqmuduZM/Listeners
SECURITYSESSIONID=186ac
XPC_SERVICE_NAME=0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=447
TERM_SESSION_ID=5C0C641C-CFB6-4FC5-A58E-255B4AD951C0
SHELL=/bin/zsh
HOME=/Users/fons
LOGNAME=fons
USER=fons
PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/fons/.deno/bin:/Library/TeX/texbin
SHLVL=1
PWD=/Users/fons
OLDPWD=/Users/fons
ZSH=/Users/fons/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LANG=nl_NL.UTF-8
_=/usr/local/bin/julia
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x5

julia> 

@jheinen
Copy link
Member

jheinen commented Mar 23, 2023

I could not reproduce the problem in REPL either. Could you try to start in a fresh environment or provide some debug information: JULIA_DEBUG=GR julia ...

@fonsp
Copy link
Contributor Author

fonsp commented Mar 28, 2023

Here you go:

➜  ~ JULIA_DEBUG=GR julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.3 (2022-11-14)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.8) pkg> activate --temp
  Activating new project at `/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_mT6Xrs`

(jl_mT6Xrs) pkg> add Plots
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed OrderedCollections ─ v1.5.0
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_mT6Xrs/Project.toml`
  [91a5bcdd] + Plots v1.38.8
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_mT6Xrs/Manifest.toml`
  [d1d4a3ce] + BitFlags v0.1.7
  [d360d2e6] + ChainRulesCore v1.15.7
  [9e997f8a] + ChangesOfVariables v0.1.6
  [944b1d66] + CodecZlib v0.7.1
  [35d6a980] + ColorSchemes v3.20.0
  [3da002f7] + ColorTypes v0.11.4
  [c3611d14] + ColorVectorSpace v0.9.10
  [5ae59095] + Colors v0.12.10
  [34da2185] + Compat v4.6.1
  [d38c429a] + Contour v0.6.2
  [9a962f9c] + DataAPI v1.14.0
  [864edb3b] + DataStructures v0.18.13
  [ffbed154] + DocStringExtensions v0.9.3
  [c87230d0] + FFMPEG v0.4.1
  [53c48c17] + FixedPointNumbers v0.8.4
  [59287772] + Formatting v0.4.2
  [28b8d3ca] + GR v0.71.8
  [42e2da0e] + Grisu v1.0.2
  [cd3eb016] + HTTP v1.7.4
  [83e8ac13] + IniFile v0.5.1
  [3587e190] + InverseFunctions v0.1.8
  [92d709cd] + IrrationalConstants v0.2.2
  [1019f520] + JLFzf v0.1.5
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [b964fa9f] + LaTeXStrings v1.3.0
  [23fbe1c1] + Latexify v0.15.18
  [2ab3a3ac] + LogExpFunctions v0.3.23
  [e6f89c97] + LoggingExtras v1.0.0
  [1914dd2f] + MacroTools v0.5.10
  [739be429] + MbedTLS v1.1.7
  [442fdcdd] + Measures v0.3.2
  [e1d29d7a] + Missings v1.1.0
  [77ba4419] + NaNMath v1.0.2
  [4d8831e6] + OpenSSL v1.3.3
  [bac558e1] + OrderedCollections v1.5.0
  [69de0a69] + Parsers v2.5.8
  [b98c9c47] + Pipe v1.3.0
  [ccf2f8ad] + PlotThemes v3.1.0
  [995b91a9] + PlotUtils v1.3.4
  [91a5bcdd] + Plots v1.38.8
  [21216c6a] + Preferences v1.3.0
  [3cdcf5f2] + RecipesBase v1.3.3
  [01d81517] + RecipesPipeline v0.6.11
  [189a3867] + Reexport v1.2.2
  [05181044] + RelocatableFolders v1.0.0
  [ae029012] + Requires v1.3.0
  [6c6a2e73] + Scratch v1.2.0
  [992d4aef] + Showoff v1.0.3
  [777ac1f9] + SimpleBufferStream v1.1.0
  [66db9d55] + SnoopPrecompile v1.0.3
  [a2af1166] + SortingAlgorithms v1.1.0
  [276daf66] + SpecialFunctions v2.2.0
  [82ae8749] + StatsAPI v1.5.0
  [2913bbd2] + StatsBase v0.33.21
  [62fd8b95] + TensorCore v0.1.1
  [3bb67fe8] + TranscodingStreams v0.9.11
  [5c2747f8] + URIs v1.4.2
  [1cfade01] + UnicodeFun v0.4.1
  [41fe7b60] + Unzip v0.2.0
  [6e34b625] + Bzip2_jll v1.0.8+0
  [83423d85] + Cairo_jll v1.16.1+1
  [2e619515] + Expat_jll v2.4.8+0
  [b22a6f82] + FFMPEG_jll v4.4.2+2
  [a3f928ae] + Fontconfig_jll v2.13.93+0
  [d7e528f0] + FreeType2_jll v2.10.4+0
  [559328eb] + FriBidi_jll v1.0.10+0
  [0656b61e] + GLFW_jll v3.3.8+0
  [d2c73de3] + GR_jll v0.71.8+0
  [78b55507] + Gettext_jll v0.21.0+0
  [7746bdde] + Glib_jll v2.74.0+2
  [3b182d85] + Graphite2_jll v1.3.14+0
  [2e76f6c2] + HarfBuzz_jll v2.8.1+1
  [aacddb02] + JpegTurbo_jll v2.1.91+0
  [c1c5ebd0] + LAME_jll v3.100.1+0
  [88015f11] + LERC_jll v3.0.0+1
  [dd4b983a] + LZO_jll v2.10.1+0
⌅ [e9f186c6] + Libffi_jll v3.2.2+1
  [d4300ac3] + Libgcrypt_jll v1.8.7+0
  [7e76a0d4] + Libglvnd_jll v1.6.0+0
  [7add5ba3] + Libgpg_error_jll v1.42.0+0
  [94ce4f54] + Libiconv_jll v1.16.1+2
  [4b2f31a3] + Libmount_jll v2.35.0+0
  [89763e89] + Libtiff_jll v4.4.0+0
  [38a345b3] + Libuuid_jll v2.36.0+0
  [e7412a2a] + Ogg_jll v1.3.5+1
  [458c3c95] + OpenSSL_jll v1.1.20+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [91d4177d] + Opus_jll v1.3.2+0
  [30392449] + Pixman_jll v0.40.1+0
  [ea2cea3b] + Qt5Base_jll v5.15.3+2
  [a2964d1f] + Wayland_jll v1.21.0+0
  [2381bf8a] + Wayland_protocols_jll v1.25.0+0
  [02c8fc9c] + XML2_jll v2.10.3+0
  [aed1982a] + XSLT_jll v1.1.34+0
  [4f6342f7] + Xorg_libX11_jll v1.6.9+4
  [0c0b7dd1] + Xorg_libXau_jll v1.0.9+4
  [935fb764] + Xorg_libXcursor_jll v1.2.0+4
  [a3789734] + Xorg_libXdmcp_jll v1.1.3+4
  [1082639a] + Xorg_libXext_jll v1.3.4+4
  [d091e8ba] + Xorg_libXfixes_jll v5.0.3+4
  [a51aa0fd] + Xorg_libXi_jll v1.7.10+4
  [d1454406] + Xorg_libXinerama_jll v1.1.4+4
  [ec84b674] + Xorg_libXrandr_jll v1.5.2+4
  [ea2f1a96] + Xorg_libXrender_jll v0.9.10+4
  [14d82f49] + Xorg_libpthread_stubs_jll v0.1.0+3
  [c7cfdc94] + Xorg_libxcb_jll v1.13.0+3
  [cc61e674] + Xorg_libxkbfile_jll v1.1.0+4
  [12413925] + Xorg_xcb_util_image_jll v0.4.0+1
  [2def613f] + Xorg_xcb_util_jll v0.4.0+1
  [975044d2] + Xorg_xcb_util_keysyms_jll v0.4.0+1
  [0d47668e] + Xorg_xcb_util_renderutil_jll v0.3.9+1
  [c22f9ab0] + Xorg_xcb_util_wm_jll v0.4.1+1
  [35661453] + Xorg_xkbcomp_jll v1.4.2+4
  [33bec58e] + Xorg_xkeyboard_config_jll v2.27.0+4
  [c5fb5394] + Xorg_xtrans_jll v1.4.0+3
  [3161d3a3] + Zstd_jll v1.5.4+0
⌅ [214eeab7] + fzf_jll v0.29.0+0
  [a4ae2306] + libaom_jll v3.4.0+0
  [0ac62f75] + libass_jll v0.15.1+0
  [f638f0a6] + libfdk_aac_jll v2.0.2+0
  [b53b4c65] + libpng_jll v1.6.38+0
  [f27f6e37] + libvorbis_jll v1.3.7+1
  [1270edf5] + x264_jll v2021.5.5+0
  [dfaa095f] + x265_jll v3.5.0+0
  [d8fb68d0] + xkbcommon_jll v1.4.1+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.1
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [05823500] + OpenLibm_jll v0.8.1+0
  [efcefdf7] + PCRE2_jll v10.40.0+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  6 dependencies successfully precompiled in 38 seconds. 128 already precompiled.

julia> show_svg(x) = repr(MIME"image/svg+xml"(), x)
show_svg (generic function with 1 method)

julia> import Plots

julia> v = rand(10,2)
10×2 Matrix{Float64}:
 0.989133  0.899008
 0.959311  0.909464
 0.420547  0.839635
 0.984527  0.5394
 0.922801  0.0948971
 0.05873   0.295928
 0.398604  0.0978582
 0.765853  0.551082
 0.181605  0.440861
 0.362515  0.818234

julia> Plots.scatter(v)
┌ Debug: `macOS`: set fallback library search path to
│   ENV["DYLD_FALLBACK_LIBRARY_PATH"] = "/Users/fons/.julia/artifacts/2a86ef020f132332b2f4be2fb40912cc7df5da29/lib:/Users/fons/.julia/artifacts/b376941014acf8e5501996cdf9932036cfb3bb71/lib:/Users/fons/.julia/artifacts/5b338c8fa90c05e6faea86e54d2996cca76cfbbe/lib:/Applications/Julia-1.8 ARM.app" ⋯ 3287 bytes ⋯ "24ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib/julia:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib:"
└ @ GR ~/.julia/packages/GR/0hFMH/src/funcptrs.jl:67
┌ Debug: Artifacts setup
│   ENV["GKSwstype"] = "gksqt"
│   ENV["GKS_QT"] = "env DYLD_FALLBACK_LIBRARY_PATH=/Users/fons/.julia/artifacts/2a86ef020f132332b2f4be2fb40912cc7df5da29/lib:/Users/fons/.julia/artifacts/b376941014acf8e5501996cdf9932036cfb3bb71/lib:/Users/fons/.julia/artifacts/5b338c8fa90c05e6faea86e54d2996cca76cfbbe/lib:" ⋯ 3397 bytes ⋯ "fe438645e94829f26148806a16/lib:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib/julia:/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/../lib /Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/bin/gksqt"
└ @ GR ~/.julia/packages/GR/0hFMH/src/GR.jl:334
┌ Debug: Default GKS_ENCODING
│   ENV["GKS_ENCODING"] = "utf8"
└ @ GR ~/.julia/packages/GR/0hFMH/src/GR.jl:348
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine FILLAREA
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYLINE
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine TEXT
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER
GKS: GKS not in proper state. GKS must be either in the state WSAC or SGOP in routine POLYMARKER

julia> Plots.scatter(v) |> show_svg;

julia> Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long




connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS

julia> 

julia> 

julia> 

julia> 

julia> Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS

julia> @time Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
  6.309463 seconds (10.34 k allocations: 684.805 KiB, 0.07% compilation time)

julia> @time Plots.scatter(v) |> show_svg;
env: ARM.app/Contents/Resources/julia/lib/julia:/Users/fons/.julia/artifacts/f987f10c94bc56fe3589d9b30a6e2f419402a31c/lib:/Users/fons/.julia/artifacts/9410bad2635eda2239b4a72ba4316c4aa8f5b76e/lib:/Users/fons/.julia/artifacts/c08186c25e5525a58ec149de9bdd30703c0464c2/lib:/Users/fons/.julia/artifacts/086c1b4e2156bba1b383b684839e78fe75e6d546/lib:/Users/fons/.julia/artifacts/b917751a0a1532e56881e471e0f9b441460f2295/lib:/Users/fons/.julia/artifacts/0263e80940b81bc6d73a88423c690d6450a9ff09/lib:/Users/fons/.julia/artifacts/41d2d4f312d93b56961767987cf48ea1f6d6fadc/lib:/Users/fons/.julia/artifacts/e6b9fb44029423f5cd69e0cbbff25abcc4b32a8f/lib:/Users/fons/.julia/artifacts/b2108f561a8812e376eb80e71a24a3678a24d231/lib:/Users/fons/.julia/artifacts/ada2a202928dd4cb2fc4bd18c4efa9d5455ec742/lib:/Users/fons/.julia/artifacts/df3881e810714d6a09467fe85a6fde79385fe702/lib:/Users/fons/.julia/artifacts/3b3d0bcaf14a9b239a4f4dc20ef7b9e63030a47e/lib:/Users/fons/.julia/artifacts/abf161ac3d4df76ae74bbf5432b7e061b3876236/lib:/Users/fons/.julia/artifacts/4260cf51a368d8e305a5de3669e32539e1e6cc72/lib:/Users/fons/.julia/artifacts/fc7ba632b72ce7d852c1924aa2bbfe244a71c780/lib:/Users/fons/.julia/artifacts/413111420faa4e2aeaa383c075eaa213402d939c/lib:/Users/fons/.julia/artifacts/ca2831bf6edc5088aec5b329ea98364951d6cad0/lib:/Users/fons/.julia/artifacts/3fe6bf926e57cc4be598151cd40832221de2e894/lib:/Users/fons/.julia/artifacts/c325a23bc1f6521474cef5f634f18c8ab311bb02/lib:/Users/fons/.julia/artifacts/0db9c3f6cf936a0da49e2ba954ba3e10bed6ad72/lib:/Users/fons/.julia/artifacts/1a7e22e66b523d9cb884cf85c3ec065b5fb3e5c3/lib:/Users/fons/.julia/artifacts/b1a055a9c307b137556560efcc2cee3a6405dfd7/lib:/Users/fons/.julia/artifacts/4609432e7098d8434a7a4c7876dd5b9e09b2a5e7/lib:/Users/fons/.julia/artifacts/bf37190b92ac2fc3dd5e7073ff7ec7bbfd10343f/lib:/Users/fons/.julia/artifacts/7f4d1479db8bfb628aff3806c483e5fec617271a/lib:/Users/fons/.julia/artifacts/9472204d25ab69d52d571b650fdc9d562455ca4a/lib:/Users/fons/.julia/artifacts/b450526929615030746974fd622effa333c2c87a/lib:/Users/fons/.julia/artifacts/86c32a34b06c15b5ec8d4f694c2b91435253f209/lib:/Users/fons/.julia/artifacts/e0874abced850b5bab1921e0f028d50861af3e18/lib:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtConcurrent.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtCore.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtDBus.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtGui.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtNetwork.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtOpenGL.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtPrintSupport.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtSql.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtTest.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtWidgets.framework/Versions/5:/Users/fons/.julia/artifacts/b37aebc8943f796682edea53e2ec10463bf624ac/lib/QtXml.framework/Versions/5:/Users/fons/.julia/artifacts/6f424a9679ba5dfe438645e94829f26148806a16/lib:/Applications/Julia-1.8: File name too long
connect: Connection refused
GKS: can't connect to GKS socket application

GKS: Open failed in routine OPEN_WS
GKS: GKS not in proper state. GKS must be either in the state WSOP or WSAC in routine ACTIVATE_WS
  6.303071 seconds (5.84 k allocations: 427.766 KiB)

julia> 

@jheinen
Copy link
Member

jheinen commented Mar 28, 2023

I have no idea where this (ARM.app) comes from:

└ @ GR ~/.julia/packages/GR/0hFMH/src/GR.jl:348
env: ARM.app/Contents/Resources/julia/lib/julia: ...

Could you try to explicitly set the text encoding:

GKS_ENCODING=utf8 julia ...

@fonsp
Copy link
Contributor Author

fonsp commented Mar 30, 2023

Ah I see! I renamed the Julia app because I have an ARM and x86 version:

image

My Julia command is set up like so:

➜  ~ sudo ln -fs '/Applications/Julia-1.8 ARM.app/Contents/Resources/julia/bin/julia' /usr/local/bin/julia     

So probably the space in the filename is not handled correctly :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants