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

Repl.it doesn't work #446

Open
1 task done
mrElnekave opened this issue Mar 22, 2023 · 3 comments
Open
1 task done

Repl.it doesn't work #446

mrElnekave opened this issue Mar 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mrElnekave
Copy link
Collaborator

Describe the bug

Recently Repl.it upgraded to 3.10.6 for python, meaning we could theoretically run rubato there. But when you try initializing rubato it can't make a window. Looking further in the sdl2/ext/window it says the video system wasn't initialized. This is usually done in sdl2.SDL_Init(sdl2.SDL_INIT_EVERYTHING) in our init, but it seems to be failing.

We should:
a) find a fix.
b) notice when sdl2 init fails and raise our own error.

Background:
I think Replit is running on Ubuntu.

Version

1.0.0

OS

Linux

Logs

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mrElnekave mrElnekave added the bug Something isn't working label Mar 22, 2023
@mrElnekave
Copy link
Collaborator Author

Update: SDL2 cannot find a video device in replit.
image

Possible fix? See how pygame does it, also there are people who use sdl2 in c++ on replit.

@mrElnekave mrElnekave mentioned this issue Mar 22, 2023
8 tasks
@tinmarr
Copy link
Member

tinmarr commented Mar 23, 2023

You need to use repl.it with a turtle window (not tested).

@tinmarr
Copy link
Member

tinmarr commented Mar 23, 2023

We need to have a better understanding of how poetry works (the package manager used in repl.it). I don't think it's an issue on our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants