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

Info message every time I start julia #58

Closed
haakon-e opened this issue Jun 11, 2023 · 2 comments
Closed

Info message every time I start julia #58

haakon-e opened this issue Jun 11, 2023 · 2 comments

Comments

@haakon-e
Copy link

I have added AbbreviatedStackTraces.jl to my global environment, and the line using AbbreviatedStackTraces to my startup.jl file. Ever since (I think), Julia 1.9, I get the following @info messages whenever I start a Julia session:

me@dhcp-72-191 folder % julia
[ Info: Precompiling AbbreviatedStackTraces [ac637c84-cc71-43bf-9c33-c1b4316be3d4]
[ Info: Skipping precompilation since __precompile__(false). Importing AbbreviatedStackTraces [ac637c84-cc71-43bf-9c33-c1b4316be3d4].
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.1 (2023-06-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> 

Is this expected, and should I just ignore it? Or should I consider another approach for loading this package?

versioninfo()
julia> versioninfo()
Julia Version 1.9.1
Commit 147bdf428cd (2023-06-07 08:27 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_EDITOR = code
@BioTurboNick
Copy link
Owner

Unfortunately this is unavoidable. Trying to remove it just causes more pain. It shouldn't have any negative effect other than being ugly though.

@haakon-e
Copy link
Author

haakon-e commented Jun 13, 2023

Okay, thanks for the info. It's good to know it's expected, at least.

edit: this is probably not recommended, but an aesthetic workaround is this:

using Suppressor
@suppress using AbbreviatedStackTraces

@BioTurboNick BioTurboNick closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants