#πŸ”’ Reddit API issue

42 messages Β· Page 1 of 1 (latest)

soft latchBOT
#

@native coral

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.

cloud cedar
#

?

#

your message was deleted.

#

!pastebin

soft latchBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

native coral
#

thnx

cloud cedar
#

or you can use other paste websites- ALL OF THE MODERATORS START TO KILL ME

native coral
#

https://paste.pythondiscord.com/E7YQ
I am actually getting an error
Error: Expecting value: line 1 column 1 (char 0). Skipping to the next URL.
when I run the above code in github action but not when I run it locally

cloud cedar
#

weird

native coral
#

yeah

cloud cedar
#

wait WHAAAAAAAAAAAAAAAAAAAAAAAAAAA

#

LINE 1 COLUMN 1?????????

#

YOU JUST IMPORTED MODULES

native coral
#

what ?

cloud cedar
#

line 1. import requests part

#

column 1, the letter I

#

????????

native coral
#

it's there

#

in the code

#

wait

#

it's there

#

:/

native coral
cloud cedar
#

hm

#

i dont know either

torpid fable
#

!traceback

soft latchBOT
#
Traceback

Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.

A full traceback could look like:

Traceback (most recent call last):
  File "my_file.py", line 5, in <module>
    add_three("6")
  File "my_file.py", line 2, in add_three
    a = num + 3
        ~~~~^~~
TypeError: can only concatenate str (not "int") to str

If the traceback is long, use our pastebin.

torpid fable
#

can u send this

native coral
#

How ?

torpid fable
#

wait

#

that isnt even using the reddit api

#

!rule 5

soft latchBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

torpid fable
#
#

use this instead

#

unless im wrong

#

then please correct me

native coral
#

well the code is working locally

#

!close

soft latchBOT
#
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.