Skip to content
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

AttributeError: 'NoneType' object has no attribute 'post' #1

Open
xekor opened this issue Aug 17, 2021 · 6 comments
Open

AttributeError: 'NoneType' object has no attribute 'post' #1

xekor opened this issue Aug 17, 2021 · 6 comments

Comments

@xekor
Copy link

xekor commented Aug 17, 2021

Attempting to run and immediately hit with this error.

Seems like:
csrf = transport.session.post("https://duneanalytics.com/api/auth/csrf").json()['csrf'] is returning a NoneType object.

@mark-bak
Copy link

also getting this error

@qihangwang
Copy link

me too

@KOD69
Copy link

KOD69 commented Dec 5, 2021

urls changed.
Try https://dune.xyz, instead of https://duneanalytics.com

@JithinKS97
Copy link

I changed the url to https://dune.xyz still getting the error. Any idea?

@admir-selimovic
Copy link

I changed the url to https://dune.xyz still getting the error. Any idea?

Even after changing the urls, the issue persists:

/usr/local/lib/python3.7/dist-packages/dune_analytics/init.py in authenticate(self, username, password)
17 transport = self.client.transport
18
---> 19 csrf = transport.session.post("https://dune.xyz/api/auth/csrf").json()['csrf']
20 r_auth = transport.session.post("https://dune.xyz/api/auth", data={
21 "csrf": csrf,

AttributeError: 'NoneType' object has no attribute 'post'

@ericsonlee
Copy link

having the same problem. anyone knows how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants