Error generating code. Check the Developer Console AND the backend logs for details. Feel free to open a Github issue.
Skipping virtualenv creation, as specified in config file. /usr/local/lib/python3.12/site-packages/moviepy/config_defaults.py:1: SyntaxWarning: invalid escape sequence '\P' """ /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:294: SyntaxWarning: invalid escape sequence '\d' lines_video = [l for l in lines if ' Video: ' in l and re.search('\d+x\d+', l)] /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:367: SyntaxWarning: invalid escape sequence '\d' rotation_lines = [l for l in lines if 'rotate :' in l and re.search('\d+$', l)] /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:370: SyntaxWarning: invalid escape sequence '\d' match = re.search('\d+$', rotation_line) INFO: Started server process [1] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:7001/ (Press CTRL+C to quit)
yarn run v1.22.22 $ vite --host 0.0.0.0
VITE v4.5.0 ready in 326 ms
➜ Local: http://localhost:5173/ ➜ Network: http://172.23.0.3:5173/
ERROR [TypeScript] Found 0 errors. Watching for file changes.
WARN Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme
looks like the issue with moviepy. Are you planning to use screen recording to code or just screenshots? If just screenshots, you can remove the "import moviepy" in your code.
Same problem here, i am using docker-compose.yml, where the "import moviepy" code at?
Just search for moviepy in the codebase
Error generating code. Check the Developer Console AND the backend logs for details. Feel free to open a Github issue.
Please tell me what's going on. I keep getting this error after uploading pictures.
I didn’t see the error on the front end because I don’t know python, so it’s very strange.
Or you can try it first, and if possible, we will buy it.
I've got same error.
this is error log.
WARN[0000] /workspaces/screenshot-to-code/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 3/3
✔ Network screenshot-to-code_default Created 0.1s
✔ Container screenshot-to-code-frontend-1 Created 0.1s
✔ Container screenshot-to-code-backend-1 Created 0.1s
Attaching to backend-1, frontend-1
frontend-1 | yarn run v1.22.22
frontend-1 | $ vite --host 0.0.0.0
backend-1 | Skipping virtualenv creation, as specified in config file.
frontend-1 |
frontend-1 | VITE v4.5.0 ready in 1633 ms
frontend-1 |
frontend-1 | ➜ Local: http://localhost:5173/
frontend-1 | ➜ Network: http://172.18.0.3:5173/
backend-1 | /usr/local/lib/python3.12/site-packages/moviepy/config_defaults.py:1: SyntaxWarning: invalid escape sequence '\P'
backend-1 | """
backend-1 | /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:294: SyntaxWarning: invalid escape sequence '\d'
backend-1 | lines_video = [l for l in lines if ' Video: ' in l and re.search('\d+x\d+', l)]
backend-1 | /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:367: SyntaxWarning: invalid escape sequence '\d'
backend-1 | rotation_lines = [l for l in lines if 'rotate :' in l and re.search('\d+$', l)]
backend-1 | /usr/local/lib/python3.12/site-packages/moviepy/video/io/ffmpeg_reader.py:370: SyntaxWarning: invalid escape sequence '\d'
backend-1 | match = re.search('\d+$', rotation_line)
backend-1 | INFO: Started server process [1]
backend-1 | INFO: Waiting for application startup.
backend-1 | INFO: Application startup complete.
backend-1 | INFO: Uvicorn running on http://0.0.0.0:7001 (Press CTRL+C to quit)
frontend-1 |
frontend-1 | WARN Browserslist: caniuse-lite is outdated. Please run:
frontend-1 | npx update-browserslist-db@latest
frontend-1 | Why you should do it regularly: https://github.com/browserslist/update-db#readme
frontend-1 |
frontend-1 |
frontend-1 | ERROR
frontend-1 | [TypeScript] Found 0 errors. Watching for file changes.
frontend-1 |
^CGracefully stopping... (press Ctrl+C again to force)
[+] Stopping 2/2
✔ Container screenshot-to-code-frontend-1 Stopped 0.5s
✔ Container screenshot-to-code-backend-1 Stopped 0.7s
canceled
@theMistletoe are you looking to use screen recording to code or just screenshot?