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

Files stopped showing up #92

Open
smacknuts opened this issue Mar 31, 2023 · 6 comments
Open

Files stopped showing up #92

smacknuts opened this issue Mar 31, 2023 · 6 comments

Comments

@smacknuts
Copy link

Any idea why the video files would stop showing up? The folder for the model is created but no video file is being written in those folders. I am assuming this is a function of YouTube-dl. Any chance anyone knows how to fix this?

@divenxx
Copy link

divenxx commented Mar 31, 2023

can you share the log?

@smacknuts
Copy link
Author

To be honest the log looks fine. There is an error in there that occurs every once in a while which forces me to restart recordurbate, but that is fairly normal.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/wightman/recordurbate/bot.py", line 74, in is_online
r = requests.post(url, headers=headers, data=data)
File "/usr/lib/python3/dist-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2023-03-31 00:24:57,631 - Stopped recording model
2023-03-31 00:30:46,877 - Started to record model
2023-03-31 00:33:32,386 - Stopped recording model
2023-03-31 10:37:08,288 - Starting daemon
2023-03-31 10:37:08,292 - Successfully started daemon, pid: 43941

@divenxx
Copy link

divenxx commented Mar 31, 2023

other possibility is that only one model get recorded and other are ignored

@smacknuts
Copy link
Author

My guess is that YouTube-dl isnt working properly. Does it have to be 2019.11.22, or can it be the latest version?

@divenxx
Copy link

divenxx commented Apr 1, 2023

that is easy to test then, in two terminal window, call youtube-dl with two diffrent streams, if they both work it means that the problem is not there

@Acenl12
Copy link
Contributor

Acenl12 commented Apr 4, 2023

I noticed they also implemented Cloudflare, not sure if youtube-dl can handle the protection cloudflare offers.

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

3 participants