Skip to content

Unable to Download from LGTM for certain databases. #622

Closed
@aeisenberg

Description

@aeisenberg

Certain databases cannot be imported directly from LGTM. They must first be saved to disk and then imported. An example is https://lgtm.com/projects/g/torvalds/linux/ci/#ql (the python database).

I discovered this when looking into #621.

I think this is because of how the zip file is constructed. Our current approach is to unzip the http request as it streams in, but this is more error prone if the central directory is not completely correct. See ZJONSSON/node-unzipper#149

I may need to try another approach, where we first download the zip file to disk, and then unzip it into the extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions