question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

starts, then fail

See original GitHub issue

Hi,

I try to download all viral reference genomes in refseq like so:

ncbi-genome-download --format fasta --section refseq --verbose --parallel 10 --human-readable viral

The program starts downloading things but then, at the same ID (GCF…) breaks with the following error message:

INFO: Downloading record 'GCF_000868825.1'
INFO: Downloading record 'GCF_000844105.1'
Traceback (most recent call last):
  File "/Users/pi/.virtualenvs/lab3/bin/ncbi-genome-download", line 11, in <module>
    sys.exit(main())
  File "/Users/pi/.virtualenvs/lab3/lib/python3.5/site-packages/ncbi_genome_download/__main__.py", line 73, in main
    ret = ncbi_genome_download.download(args)
  File "/Users/pi/.virtualenvs/lab3/lib/python3.5/site-packages/ncbi_genome_download/core.py", line 60, in download
    args.taxid, args.human_readable, args.parallel)
  File "/Users/pi/.virtualenvs/lab3/lib/python3.5/site-packages/ncbi_genome_download/core.py", line 75, in _download
    for entry in entries:
  File "/Users/pi/.virtualenvs/lab3/lib/python3.5/site-packages/ncbi_genome_download/summary.py", line 28, in __next__
    entry[self._fields[i]] = val
IndexError: list index out of range

I tried a minimal version as well, same result:

ncbi-genome-download --verbose --parallel 10 viral

Am I using it wrongly or is this an uncaught error, like some empty entry in the database or similar.

Thanks a lot!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
kblincommented, Apr 1, 2019

Thanks for the great analysis (and the patch in #87). I’ll reopen the issue until the fix is in a release.

1reaction
kblincommented, Feb 8, 2017

Reopening issues where fix hasn’t been shipped yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

12 Reasons Why Your Car Starts Then Dies (With Fixes)
The most common and obvious reason your car may start then die is the fuel shortage in your engine. This happens because there's...
Read more >
Engine Cranks but Won't Start: 5 Reasons Your Car Fails to ...
One potential reason for this could be dirty fuel injectors. Over time, the fuel injector nozzles can become clogged with rust, corrosion or...
Read more >
Why Does My Engine Start but Then Stop?
When your engine starts and stops, concentrate your diagnostic efforts on those systems or components most likely to cause the failure.
Read more >
Starting Problems? How to Tell If It's the Battery or Alternator
A dead or low battery can be caused by a failing alternator. It can also result from additional draw from auxiliary lights, fuses,...
Read more >
Car Starts For a Second Then Dies: Reasons, Fixes & More
If the spark plugs are faulty, the ignition will fail and the car starts then shuts off after a few seconds. This is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found