-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
GeoArrays working in REPL, not working in Pluto.jl #375
Comments
Very strange errors! Can you try it with |
Hi Fonsp, this was my initial code as well. But since I it worked in the REPL I tried using the standard environment. Here is some more error output for the first error:
|
These issues might be related: Versions I see in the console, while using Pluto: In REPL running Pkg.status() gives: Hope this helps. If you believe the problem is with the ArchGDAL package please let me know. |
Does it work in the REPL if you do If this doesn't work in the REPL: begin
import Pkg
Pkg.activate(mktempdir())
Pkg.Registry.update()
end
# ╔═╡ 2d7cfe40-eee1-11ea-32f4-8fff47db1e13
begin
Pkg.add("GeoArrays")
using GeoArrays
end
# ╔═╡ 7da3dfde-eee3-11ea-06ab-6bfb1ccbdcb9
begin
fn = download("https://github.com/yeesian/ArchGDALDatasets/blob/master/data/utmsmall.tif?raw=true")
geoarray = GeoArrays.read(fn)
end then you should post this script and the error in an issue to GeoArrays |
It does work in the REPL using |
Did the error also disappear on Pluto? |
I still have the error in Pluto. |
I have run the following code in the REPL and in a Notebook and compared the package directories.
I will ask around today to see if someone can replicate this error to check if it is not just my machine. |
I tried to reproduce this on linux and loading GeoArrays works in Pluto for me. |
sprint() do io
Pkg.status(mode=Pkg.PKGMODE_MANIFEST, io=io)
end |> Text inside Pluto |
(updated to latest Pluto: v0.11.14) You are right it is the GDAL package, running the following triggers the error:
Result of the manifest code (both REPL and Pluto give the same result):
I am still looking for someone to replicate this on windows, I hope to have more info tomorrow. |
This does not sound like an issue with Pluto (nor like something that I can help with). |
@MBotman I got the same error. Any solution? |
@kongdd Unfortunately no, I never found a solution |
I just tried, and I could not reproduce on latest Pluto with the latest GDAL build, GDAL_jll v3.0.4+7. If you still have the problem, it's maybe best to open a new issue on https://github.com/JuliaGeo/GDAL.jl, since Pluto is an unlikely culprit here. There have been moments in the past that the GDAL build broke, in fact it was broken this week on some platforms until an hour ago. It should be getting more robust though, but it is a quite complex build. The good thing is that we have control over the environment, so if you get DLL errors from GDAL.jl, it's best to submit an issue such that we can fix it. |
Hi,
I run into an issue using GeoArrays, (and ArchGDAL). When using these in the REPL all is working correctly. In Pluto.jl I get the following error on cell 2d7cfe40-eee1-11ea-32f4-8fff47db1e13 (see notebook below):
If I run the cell again the error becomes:
3th time:
4th and 5th time:
6th time: No error on this cell! But the last error moved to the last cell.
System:
Windows 10
Julia 1.5.1
Notebook:
I'm new to Julia/Pluto.jl so unsure if this is a bug or an error on my part.
The text was updated successfully, but these errors were encountered: