Skip to content

An exception raised with IsADirectoryError while writing FGDB layer #598

@samsun-tomtom

Description

@samsun-tomtom

While writing FileGDB with this call on the incomplete FileFGDB path, the exception occurred at line 2275 in _io.pyx

write_dataframe(gdf, path, driver="OpenFileGDB", layer="layer_name", append=False)

==>

Exception: IsADirectoryError(21, 'Is a directory')

see

os.unlink(path)

Expected behavior:
The incomplete FileGDB are re-created or fully overwritten in append=False mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions