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.

Failed example: scripts/sample_data_loader.py

See original GitHub issue

python 3.6.6 ubuntu 19.10

venv - amundsendatabuilder

when I run through the example - https://github.com/lyft/amundsen/blob/master/docs/installation.md#bootstrap-a-default-version-of-amundsen-using-docker

I get the following error:

~/dev/amundsen/amundsendatabuilder @dac8110d
amundsendatabuilder $ python example/scripts/sample_data_loader.py 

Traceback (most recent call last):
  File "example/scripts/sample_data_loader.py", line 642, in <module>
    load_table_data_from_csv('sample_table_programmatic_source.csv', 'programmatic')
  File "example/scripts/sample_data_loader.py", line 88, in load_table_data_from_csv
    i['description_source']) for i in dr]
  File "example/scripts/sample_data_loader.py", line 88, in <listcomp>
    i['description_source']) for i in dr]
KeyError: 'schema'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
feng-taocommented, Mar 13, 2020

thanks @rockie-yang , @eleijonmarck please try and see if it fixes your issues.

1reaction
feng-taocommented, Mar 2, 2020

@eleijonmarck all the git submodules have been updated to latest, could you retry and fetch the latest master and see if it fixes your issues? thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] More Python 3.10 test failures · Issue #4100 - GitHub
Work around a test failure in Py3.10. … dd7fd78.
Read more >
Reproducing failures — Hypothesis 6.61.0 documentation
The simplest way to reproduce a failed test is to ask Hypothesis to run the failing example it printed. For example, if Falsifying...
Read more >
Demo of Python failure reports with pytest
Demo of Python failure reports with pytest¶. Here is a nice run of several failures and how pytest presents things: assertion $ pytest...
Read more >
long running py.test stop at first failure - Stack Overflow
I am using pytest , and the test execution is supposed to run until it encounters an exception. If the test never encounters...
Read more >
How to Retry Failed Tasks in the ThreadPoolExecutor in Python
Example of Retrying Failed Tasks. Let's explore how we might retry tasks that fail in the thread pool. First, let's define a task...
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