tdryer/hangups

Attribute Error

OpenSaned opened this issue · 1 comments

So i am just beginning to discover this library but i am getting this error
AttributeError: 'NoneType' object has no attribute 'fetch'

I dont really know what this means cause I'm not really that good in python but here. The answer is probably really simple for you.

The runner you linked to doesn't load for me (stuck on "waking up") -- consider quoting the actual traceback so we don't have to run your code snippets for you.

But from a quick peek at the code, you probably need to actually connect the client before you use it:

async def main(client):
    await client.connect()
    await client.set_active()

run(main(client))