-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local testing fails with KeyError: 'development' #562
Labels
Comments
Related: #547 is a similar issue but for CI. It seems to be sporadic, though. (Whereas this issue hits me all the time.) |
I tried locally checking out the old barge (and doing related cleanup). It didn't help :( To use a "branch" for old barge: git checkout 9cc3a9342a47857a0495309e787462d6c60979e6 This time I also ran with more components turned off (now identical to github actions in df-py): ./start_ocean.sh --no-aquarius --no-elasticsearch --no-provider --no-dashboard --with-thegraph > out.txt 2> Result: log. |
The fix: delete :) |
This was referenced May 11, 2023
trentmc
added a commit
that referenced
this issue
May 11, 2023
[df-py#562] "Local testing fails with KeyError: 'development'" was actually a barge error. The problem is, when this error is hit, it can take nontrivial time to realize that issue. This change makes it easier to tell where specifically the issue is, and that Barge is the likely culprit.
trentmc
added a commit
that referenced
this issue
May 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background / motivation
When I follow the usual flow to (a) get barge going, then (b) run any test on df-py, in (b) I immediately get
KeyError: 'development'
.Digging further, it seems that barge is the culprit, not df-py. I'm putting here in df-py because it's blocking me in df-py work.
By default, barge is supposed to...
address.json
in~/.ocean/ocean-contracts/artifacts/
address.json
with info from (3), with top-level key"development"
It does (1) and (2), good. But not (3) and (4). Even if I wait 15+ minutes.
It's easy to inspect: just run barge, and see that it's missing "development" in address.json.
Here's my output, from when I run barge via
./start_ocean.sh --with-thegraph 1>out.txt 2>&1 &
).Here's a log from a second run - out2.txt. I'd done all the cleaning, including rebooting my laptop.
Here's some interesting output in both logs.
The text was updated successfully, but these errors were encountered: