Skip to content

Link to model resource seems to be dead #22

@nayopu

Description

@nayopu

Description

I encountered a problem when trying to download a file using the GoogleDriveDownloader in the jel/file_cache.py. The download process fails, and I receive a warning indicating that the file does not appear to be a valid zip file.

Steps to Reproduce

  1. Create an instance of EntityLinker:
    from jel import EntityLinker
    el = EntityLinker()

Expected Behavior

The valid file specified by RESOURCES_GOOGLE_DRIVE_ID should be downloaded and saved as 'resources.zip' in the CACHE_ROOT directory, and should be successfully unzipped.

Actual Behavior

The download process fails, and the following warning is displayed:

UserWarning: Ignoring `unzip` since "1zEqZaqNbOw8cXoon7MoPdX0kGaHx0_3K" does not look like a valid zip file
warnings.warn('Ignoring `unzip` since "{}" does not look like a valid zip file'.format(file_id))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions