-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
REPL throws huge error when trying to use many packages with 1.11.0-rc2 on NixOS #55309
Comments
After further testing, I see that it's the loading of the DataFrames package that seems to break other packages.. which is strange. For example, LibPQ is working fine until I run
|
Maybe related to #54888 ? |
Which version of DataFrames is this? You can find it by executing |
Could you try and see if this reproduces with nightly, too? |
The weird thing is that Line 533 in 34c3a63
|
Could you try this script and report the output: using REPL: REPL
term = REPL.Terminals.TTYTerminal("dumb", stdin, stdout, stderr)
repl = REPL.LineEditREPL(term, true)
println(repl isa REPL.AbstractREPL)
using DataFrames
println(repl isa REPL.AbstractREPL)
println(repl isa DataFrames.REPL.AbstractREPL) Try:
|
Could you try if the issue still repros with a fresh depot? Just start Julia with an empty directory as its depot. |
I was already using a fresh depot. I tried with both DataFrames 1.6.1 and the current master with the same result. I get an error with the 2nd line of your REPL commands when pasting it into the REPL or including it:
But just running the commands as a file works:
|
Same with latest Julia nightly:
|
On a 1 year old nightly, it works fine:
|
The error looks identical to #54888 so let's close this as a duplicate. |
I suspect something changed in 1.11 with regards to locating system libraries that is causing Julia on NixOS to have problems using many 3rd-party packages. I haven't had any issues with built-in packages. Julia 1.10 and earlier all worked fine when installed on the same system (by running julia from the extracted the official tarball).
As an example, I get the following error when simply typing
DataFrames(
(without pressing enter or tab). The error is massive, so just including some pieces from it. I guess it's dumping everything in memory? Is there anything I can do to provide more useful debug info?The text was updated successfully, but these errors were encountered: