Hi, I think the problem is with the call to stat() on the samba mounted files. tab2tab reported the same problem.
On Thu, Sep 30, 2010 at 7:10 PM, Sebastian E. Ovide < sebastian.ov...@gmail.com> wrote: > done... didn't work... > > Copied on the same SMB folder with undercase names... both ogrinfo and > tab2tab failed. > Copied the same files to a local folder and both ogrinfo and tab2tab > succeeded... > > same errors.... > > > On Thu, Sep 30, 2010 at 1:44 PM, Daniel Morissette < > dmorisse...@mapgears.com> wrote: > >> Sebastian E. Ovide wrote: >> > >> > can verbosity be increased further ? >> > >> >> I don't think so... the only way to know more about what is happening >> would be to run this in gdb. >> >> >> > and with TAB2TAB the only messages that I get are: >> > >> > g...@mapserver:/tmp$ /home/gis/src/mitab-1.7.0/mitab/tab2tab >> > /home/gis/data/tmp/CA_AbandonedMine.TAB test.TAB >> > ERROR 3: stat() failed for /home/gis/data/tmp/CA_AbandonedMine.id >> > >> > ERROR 3: Open() failed for /home/gis/data/tmp/CA_AbandonedMine.map >> > ERROR 3: /home/gis/data/tmp/CA_AbandonedMine.TAB could not be opened as >> > a MapInfo dataset. >> > Failed to open /home/gis/data/tmp/CA_AbandonedMine.TAB >> > >> >> This looks like an uppercase vs lowercase file extension problem. There >> is some logic in MITAB to try to guess and then adjust filename >> extensions (e.g. .MAP vs .map) on non-Windows systems that uses stat() >> and for some reason it seems to fail with the SMB share. >> >> Can you please try renaming all files for a given table to lowercase >> extensions (.tab, .map, .dat, .ind, .id) and then see if that changes >> anything with the tab2tab program on the SMB share? >> >> If that solves the issue then we'll need to reproduce this here and run >> this in gdb to figure the exact source of the problem and fix it. >> >> Daniel >> -- >> Daniel Morissette >> http://www.mapgears.com/ >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > > > -- > Sebastian E. Ovide > > > > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev