Skip to content

Using this and very occasionally get "no attribute 'status_code'" error when fetching cache details. #242

Open
@CBHELEC

Description

@CBHELEC

For some context, I own a discord bot for geocaching stuff and use pycaching to fetch info. Its awesome, almost instant, and works absolutely perfectly. I was revamping the bot and one of those features was the code detection (message contains a gc / tb code, it sends to pycaching and fetches some info and sends it). Before, it was very slow, logging in and out for each code, but now i made it login once and use that instance for all of them. It works most of the time, but mostly after long waits it just bugs out, and doesn't load any info, instead saying "'NoneType' object has no attribute 'status_code'". Any help on this would be greatly appreciated! Even though this isn't the most active project it is one of the best.

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions