-
Notifications
You must be signed in to change notification settings - Fork 12
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
ms_innerlines has error in 0.5.0 #157
Comments
This is on Linux (RHEL), #159 is on Windows. @pachadotdev, can you tell me what platform you are using in #158? |
Can you please report the output of: |
Here you go: > V8::engine_info()
$version
[1] "6.8.275.32"
$numeric_version
[1] ‘6.8.275.32’ |
Ok, that's pretty old, but as far as I remember v8 >= 6 should work, but it's possible the new version of the mapshaper library has code that requires a newer version of V8. Can you try reinstalling V8 with: Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1)
install.packages("V8") |
@lewkrr and @pachadotdev, can you also please paste the output of |
I followed those instructions and the same version is stated under |
hi @ateucher, I am on Ubuntu 22 and my info is
|
So I think this is because the new mapshaper uses the I'm going to have to figure out if we can update the version of the static libv8 on different platforms... |
I should say that I uninstalled the latest rmapshaper and installed an older version from the archive so that I could get this function to work. How does one update the V8 version on their machine? Is there a way to do this from within R? Thanks so much for taking this up, ateucher! |
Interesting, from what I can see in the V8 repo, Windows should have libv8 9.1. @lewkrr can you try reinstalling V8, and be sure to get the binary ( Then run |
@pachadotdev I think you might be able to do something like this:
Then in R: Sys.setenv(DISABLE_STATIC_LIBV8 = 1)
Sys.unsetenv("DOWNLOAD_STATIC_LIBV8")
install.packages("V8", type = "source") (related: jeroen/V8#140) |
@al-obrien might this issue help you at all? jeroen/V8#168 |
@ateucher hi! the problem persists, I shall stick to 0.4.6 |
Sure, that's a fine choice. You should be able to build V8 with a modern libv8 but I'm afraid that's outside of my domain. The other option is to install the node mapshaper library ( |
This may take me some time to confirm as I do not have permissions to install Linux software on the system. For now I will also roll-back the version and try to follow-up if IT approves the change. If there are any other options I am all ears too |
@pachadotdev can you please post the output of: @al-obrien the v8 engine you have seems to suggest that your system has an old gcc version (4.x), according to the logic here. |
|
Interesting, thanks. So you have a very new libv8 (libnode) on your system, but can't get the V8 R package to build with it. Might be worth following up at the V8 repo. |
Hi, |
Thanks for reporting @clozanoruiz - I'm afraid you're right. I can't do much about this in rmapshaper, so I'm going to have to just add a startup message informing users about the libv8 version requirements. |
Hi i had similar issue with
I got the same error message:
V8 issue:
in R:
The problem was that I use the r_profile so I accessed
After that:
This solved the problem with the sample code.
|
I was facing the same issue with |
I'm marking this now closed via cb8ca34 |
The latest version, 0.5.0, now produces an error when using
ms_innerlines()
. This does not occur if rolling back to 0.4.6.The error is:
I reproduced this in the following:
Session Info
The text was updated successfully, but these errors were encountered: