-
Notifications
You must be signed in to change notification settings - Fork 230
Adding shp issues Shape plugin error (Windows 7/64bit using 2.2) #1159
Comments
Cannot reproduce. Tried
|
Same issue on windows 7/32bit (2.2) install. Try adding 3 or more shapefiles and wait. 30-60 mins until you try adding another shapefile. New projects work for a bit and then this error starts occuring. Overcame issue by manually adding in path .shp name when adding a new layer. Shape Plugin: shapefile 'c:/TEMP/NaturalEarth/2/Studio_v2.tm2source/\TEMP\NaturalEarth\2\10m_physical/ne_10m_graticules_10.shp' does not exist |
@Reach-Above @jwitcoski |
Downloaded latest build and issue persists. |
I did this without problems:
Are you using shortcuts or hard links to your shapefiles? |
same issue persists, will add 3 shapefiles and now will wait a few hours. On Mon, Mar 9, 2015 at 4:02 AM, Wilhelm Berg notifications@github.com
|
@jwitcoski @Reach-Above @springmeyer @geografa I was finally able to reproduce: Tested with latest 64bit version available at https://www.mapbox.com/mapbox-studio (0.2.6 as of today). ReasonThere seems to be a race condition, that paths are not correctly parsed when data is still being processed in the background and CPU is maxed out. Temporary SolutionI know this is not perfect, but it worked for me as a temporary workaround (We are already in the process of hunting down some hard to find performance problems when processing shape files on Windows). 1.) exit Mapbox Studio Close Mapbox Studio and make sure via Task Manager that there are no running 2.) delete Mapbox Studio's memory of last used directory otherwise you won't get rid of the
3.) make sure your shape files are pre-processed (projection, encoding, shapeindex) This takes the weight of Mapbox Studio to do it on the fly in the background all the time. 4.) create new Source Project and add one layer 5.) Observe task manager Monitor the cpu usage of Add the next shape file only after |
Original issue: user receives error in Windows 7/64bit install (2.2) when adding any shp:
Shape Plugin: shapefile 'c:/Program Files/mapbox-studio/resources/app/node_modules/mapbox-studio-default-source/\Users\Jake\Desktop\AllStates/AllStates_Proj.shp' does not exist
The path seems to get garbled. Opening and creating new projects is no problem. Per chat, possibly related.
The text was updated successfully, but these errors were encountered: