ASAR Problem with gdal
See original GitHub issue- Version: 21.2.0
- Target: mac dmg
We are using the node module “gdal”. When this node module is packaged, it is automatically put into the asar file, however, it needs to access csv files within the module, and cannot do that when it is in the asar file. When I specifically set asarUnpack: ["**/node_modules/gdal/**/*"]
, gdal is still looking in the <app>/Contents/Resources/app.asar/node_modules/gdal/deps/libgdal/gdal/data
directory so I have to manually set GDAL_DATA to the correct unpacked directory ( <app>/Contents/Resources/app.asar.unpacked/node_modules/gdal/deps/libgdal/gdal/data
) and then everything works fine. Disabling asar altogether works perfectly.
The node module “gdal” needs to not be included in the asar.
Thank you for your help.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
GDAL installation via pip exits with errors #2827 - GitHub
Expected behavior and actual behavior. I wanted to install it via pip, but got the following console output: Collecting gdal Using cached ...
Read more >Error while installing GDAL - Stack Overflow
Check that you installed GDAL using this command gdal-config --version. Then run this commands: pip download="some_path" GDAL cd some_path ...
Read more >Python gdal import error - GIS Stack Exchange
I had GDAL 2.2.3 and I downgrade it to version GDAL 2.1.0. You can install it with: pip install GDAL==2.1.0.
Read more >Building GDAL from source — GDAL documentation
When iterating to configure GDAL to add/modify/remove dependencies, some cache variables can remain in CMakeCache.txt from previous runs, and conflict with new ...
Read more >#3709 (Georeference problem with Envisat Images) – GDAL
It appears they are reading both the Geolocation grid ADS (correct) and the Doppler Centroid Grid (incorrect) as GCPs. The numbers in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still relevant.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.