Open cavernaria opened 4 years ago
I ran into this fixing a different issue. One culprit was the system__activity model, but there are other cases too I wasn't able to track down.
Here's a consistent failure of this nature: henry analyze explores --model system__activity --config-file ../looker.ini
In this case we're failing here on explores = [self.sdk.lookml_model_explore(model, explore)]
here
I'm also getting the same errors on all commands except pulse
and analyze projects
Python 3.7.0
henry 0.2.2
looker-sdk 0.1.3b7
Same set up, same errors as above.
Same here. If i use the name of some models as a parameter it works. If not i get the same errors.
There is some unknown condition under which Looker's API will return explores in the call to the /models/
endpoint, but those explores can't be found when you make a call the /models/explores
endpoint.
Henry makes these call successively, in fetcher.py. On line 157, I updated the except
block to simply ignore these mismatches.
except error.SDKError:
# raise exceptions.NotFoundError(
# "An error occured while getting models/explores."
# )
print("Could not find explore...skipping.")
@josephaxisa I wonder if you have any idea what's going on and whether you think this is an acceptable workaround. I can make a PR if so.
Only some commands give me an error. How can I get rid of this error?
Environment
Successful commands
Error command
Other than the above
Error Message
Any command can be shared and the following error occurs (also on a Mac).