-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
[Bug] 3 of 7,659 GRASS 8 generic weekly for Linux -- startup error around grass 8 raster lib #2192
Comments
Could you try to manually add the following upstream commit: to this file locally : |
Another option might be that "/usr/local/grass8.0.1dev-x86_64-pc-linux-gnu-11_02_2022/lib" is not part of your LD_LIBRARY_PATH. Maybe it should be set by the startup script? Could you try:
|
Thanks for these suggestions as soon as I can. I do run ldconfig every time
I install these generic binaries, but I did not (and never had to before)
specifically export the binary path in this way. Worth a shot at least!
I'm trying to avoid compilation from source since it takes some time (a
resource I'm perennially short on these days), but will try the upstream
fix if I can get a moment next week to try to compile.
Isaac
Sent from my📱
…On Sat, Feb 12, 2022, 8:26 AM Stefan Blumentrath ***@***.***> wrote:
Another option might be that
"/usr/local/grass8.0.1dev-x86_64-pc-linux-gnu-11_02_2022/lib" is not part
of your LD_LIBRARY_PATH. Maybe it should be set by the startup script?
Could you try:
export LD_LIBRARY_PATH="/usr/local/grass8.0.1dev-x86_64-pc-linux-gnu-11_02_2022/lib:$LD_LIBRARY_PATH"
grass
—
Reply to this email directly, view it on GitHub
<#2192 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDYS5ERD2ORITZIYDI36BLU22CZ7ANCNFSM5OFWWJGQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You can also apply the same commit on |
Replaces pygrass.utils.decode as not needed here, grass.utils.decode was internally called anyway. This should prevent that gui crashes when loading C libraries fails, see #2192.
Replaces pygrass.utils.decode as not needed here, grass.utils.decode was internally called anyway. This should prevent that gui crashes when loading C libraries fails, see #2192.
Reporting back that neither workaround suggested by @ninsbl nor the upstream replacement of the ctypes loader suggest by @nilason has worked. HOWEVER, I am able to successfully launch and use the same version of the Generic 64bit linux binary on my lab computers, which have the same OS and version (Pop!_OS 20.10). I am now thinking it might be something related to my python installation on my laptop? Is there any known issues, for example, due to previous installations of python libraries via pip versus apt? For example, if I have previously installed numpy or scipy via pip, will that conflict with the search path for these libraries that is in the grass generic binary? |
I installed 8.0.1 generic 64-bit binary today, and it is now working fine. I am marking this issue closed. |
Replaces pygrass.utils.decode as not needed here, grass.utils.decode was internally called anyway. This should prevent that gui crashes when loading C libraries fails, see OSGeo#2192.
Replaces pygrass.utils.decode as not needed here, grass.utils.decode was internally called anyway. This should prevent that gui crashes when loading C libraries fails, see OSGeo#2192.
Replaces pygrass.utils.decode as not needed here, grass.utils.decode was internally called anyway. This should prevent that gui crashes when loading C libraries fails, see OSGeo#2192.
Describe the bug
trying to get GRASS 8 running on my laptop (Pop!_OS 20.10) and trying the generic 64-bit Linux binaries. Made sure all dependencies are installed, etc., (done this many times before), but getting a new error upon start up. Splash screen goes, and then I get the following before the new GUI can load:
To Reproduce
Steps to reproduce the behavior:
1.start GRASS on Linux as above.
Expected behavior
GRASS GUI should launch.
Screenshots
If applicable, add screenshots to help explain your problem.
System description (please complete the following information):
Additional context
This looks like something caused by ctypesgen failing to find the grass_raster.8.0 library.
The text was updated successfully, but these errors were encountered: