Skip to content

problems updating the database : HTTP Result: 501 #193

Description

@youngDouble

Return Code HTTP Result: 501 when abricate-get_db --db ncbi even add --force:
1. abricate-get_db --db ncbi :

HTTP Result: 501
Destination: amr_cds.ffn
Filesize:  bytes
Downloading: https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/latest/ReferenceGeneCatalog.txt
HTTP Result: 500
Destination: amr_cds.tsv
Filesize:  bytes
ERROR: Can't read TSV file: amr_cds.tsv

2. abricate-get_db --db card:

Downloading: https://card.mcmaster.ca/latest/data
HTTP Result: 501
Destination: card.tar.bz2
Filesize:  bytes
tar: card.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

I think the bug appears in 89 lines of abricate-get_db89 my $ec = mirror($url, $dest);
Perhaps the current website no longer supports LWP::Simple::mirror, but I have no idea how to solve it

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions