azgs / azlibrary_database

1 stars 1 forks source link

GDB directory not found error on trying to upload to GEM2 #79

Closed aazaff closed 8 months ago

aazaff commented 8 months ago
{
    "code": 500,
    "msg": "Problem while importing. Please try again later",
    "error": [
        [
            {
                "error": [
                    {
                        "error": "No gdb directory found",
                        "status": "rejected"
                    },
                    {
                        "data": [
                            null,
                            null
                        ],
                        "status": "resolved"
                    }
                ],
                "status": "rejected"
            },
            {
                "status": "resolved"
            },
            {
                "status": "resolved"
            },
            {
                "data": [
                    null,
                    null
                ],
                "status": "resolved"
            },
            {
                "status": "resolved"
            }
        ]
    ]
}

This is for the same collection and data as described in issue #62

NoisyFlowers commented 8 months ago

There was a lot of logic in place to extract zipped gdb before handing in to ogr2ogr. Some of this logic attempted to deal with the fact that some zips have a root dir and some don't . There was an error here.

Further discussion led to the decision that there was no need for such extraction.

This was removed in 18f5f4952a0aad1a7d37531c7e30a21bb9bffce8

on master, running of dev and prod