#๐Ÿ”’ Please help PyMongo

26 messages ยท Page 1 of 1 (latest)

spiral mantle
#

My code should be correct but when I run it, it never finds the document it looks for 10 secs then errors. Please help

misty barnBOT
#

@spiral mantle

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

spiral mantle
#

I expect it to return the document

arctic dune
#

i don't see any return there

spiral mantle
#

Hold on

#

timed out error

lapis grotto
# spiral mantle

that error doesn't appear to have anything to do with this function

#

what makes you think it is there?

spiral mantle
#

It was working fine like 4 days ago

lapis grotto
#

You don't think what?

#

You don't think the error is related to the check function? No, neither do I.

spiral mantle
#

See?

#

It times out ever time

#

No repsonce

#

@lapis grotto

lapis grotto
#

I'm not seeing the smoking gun, no. How do you know that that error is thrown by the check function and not some other code?

spiral mantle
#

I know because it errors at the db["RobloxVerify"].find_one(table)

#

The code runs fine printing all before it gets to that

misty barnBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.