Problem with handle large dataset
htuser
Global Mapper UserTrusted User
I use the menu "open all file in a directory tree" but unfortunately i receive this message:
Unhandled MFC exception processing command message 33024 with code 0.Encountered an improper argument.
Dlgv32View.cpp - 6255
Version: v14.2.2 (64-bit)
Build Time: Jun 30 2013 13:16:57
Please, does someone can help me ?
Thanks in advance,
HTUSER
Unhandled MFC exception processing command message 33024 with code 0.Encountered an improper argument.
Dlgv32View.cpp - 6255
Version: v14.2.2 (64-bit)
Build Time: Jun 30 2013 13:16:57
Please, does someone can help me ?
Thanks in advance,
HTUSER
Comments
-
Does that error happen immediately when you select the File->Open All File in Directory Tree menu command or after selecting a folder and entering a filter? I just tried and it worked ok for me, so it must be something specific to your usage. If you try to open an individual file and navigate to the same folder does that also fail?
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
http://www.bluemarblegeo.com/ -
Thanks for your response. I've multiples folders who contain shp and gpx files. This message occurs when i chose yes to seek files in all's subfolders.
Sincerely
HTUSER -
How many SHP and GPX files are there in the sub-folders? What are you entering for the filter to use? Is it '*.shp *.gpx'? I can't seem to get any kind of error on my side.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
I have thousands *.shp and *.gpx in theses folders. When i chose less folders, data's displayed very well (i write *.gpx or *.shp).
But when i chose tree of several's folders i receive the bellow messages. I you have teamviewer software, i can show you the problem.
Sincerely,
HTUSER -
I have added some better debugging of this process to try and track down exactly where this is failing for you, so if you run a new build it should show more information in the error. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
First, if i try to find all shp or gpx files in the selected folders in windows, all's are ok.
shp_files.jpggpx_files.jpgopen_directory_tree.jpg -
There's others messages.
-
Last message...the new version crashed...
-
It looks like my extra debugging code for this problem had an error in it so it didn't work at all! I've fixed that now so when it crashes you should get more information about what is wrong. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Dear Mike,
The debugger work fine. Thanks. It seem that the errors concerns the length of the pathname:
Unhandled exception processing command message 33024 with code 0.
Error at step 10 finding matching files in C:\Users\datasolution1\Documents\IHA_NIPPES_FINAL\IHA_NIPPES_FINAL\IHA_NIPPES_DONNEES_BASE_1\perimetre_irrigue&fotos\Pe_14_15_16_17_18\Perimetre 15_Pts et Delimitation_Plaisimond_Lazil\15_Plaisimond_20-10-12_Ronel-Pho_Pts_\15_Plaisimond_20-10-12-Ronel_photo.
Encountered an improper argument.
FileUtils.cpp - 521
Version: v14.2.2 (64-bit)
Build Time: Jul 4 2013 20:19:13
When i shorten/correct the pathname, it work and continue the process. But, after other errors occurs and it can't open severals files as showed in the attached screen.
Does the problem is the length of the pathname?
Thanks for all,
HTUSER -
Ok that is definitely it. The search functions were limited by _MAX_PATH, which is about 260 characters. Many Windows functions can handle full paths longer than that. I have switched to newer APIs that can handle very long paths like that so now it should work. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
Thank you for all. The first problem have been completely solved. That's work very fine.
But, there's a second problem. The software was unable to open some files. Nevertheless, theses files are opened once. Please can you ad a debugger at this level for the diagnostic of this trouble?
Sincerely,
HTUSER -
Looking deeper it appears that a lot of Windows functions are going to fail when the path gets longer than the old ANSI maximum path length of 260 characters. I can work around some of them using new API functions, but a lot of other calls are buried in 3rd party libraries. I actually couldn't even get Windows Explorer to let me create a filename and path combination that exceeded that limit, it actually blocked me from typing new characters or copying files into a folder whose name was too long.
Is there any way to limit the path length to get under that 260 character limit so it can work with everything?
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation -
I think so. I'll do it.
Thanks for your precious help.
HTUSER, From Haiti -
Dear Mike,
Your help has been and is always precious for me, please can you help me with this post? http://www.globalmapperforum.com/forums/technical-support/11847-gps-gnss-windows-location-provider.html
Thanks in advance,
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website