Skip to content

"Cannot export: please install pygdal" error doesn't work #276

@2wiceUponATime

Description

@2wiceUponATime

Because gdal is set to None in worldengine/imex/__init__.py when not installed, accessing it does not raise a NameError, meaning that this error is never thrown. Instead, when worldengine export is used without having installed GDAL, an AttributeError is thrown because the export function attempts to access properties of gdal (which is None).

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