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

renpy crashing after running requests.get() function #5512

Closed
GachaYTB opened this issue May 15, 2024 · 4 comments
Closed

renpy crashing after running requests.get() function #5512

GachaYTB opened this issue May 15, 2024 · 4 comments

Comments

@GachaYTB
Copy link

GachaYTB commented May 15, 2024

Im trying to get data from a link, from my renpy game with requests and after i put the the requests.get() function, my renpy game crashes when i load it.

I used this code to use the function:

python:
    import requests
    r = requests.get("url") # this is the part that crashes it
    print(str(r.json))

also im using renpy 8.2.1
I dont know if its more because of the website, or because of the function.

@renpytom
Copy link
Member

Do you have the error?

@GachaYTB
Copy link
Author

there isnt any error??? it just crashes nothing else

@renpytom
Copy link
Member

I'd suggest using renpy.fetch instead. I don't have a great answer for you.

@GachaYTB
Copy link
Author

ok

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

2 participants