Skip to content

Better error reporting on app crashes #1243

@AyoungDukie

Description

@AyoungDukie

So today I started having an issue that no results will play. Typically, long videos and certain results may fail to play (akin to #1208), but now no results are loading at all. There is a momentary flash and then the results list reloads.

Issue / Suggestion

This is likely an upstream issue overall, but wanted to bring attention to something that was making debugging quite difficult. After using a screen recorder at 30fps, I was finally able to record the result failing to play, and the result being then hidden and dropping to the list.

In my case there is an apparent ffmpeg error due to an HTTP error 403 Forbidden (this seems similar to older errors that came about due to API key setups before, but also possibly upstream).
image

My main concern is that there currently does not seem to be documentation on how to collect debug logs for use. I have tried using the --debug flag to no avail, but did see an old post on Linux noting --logging , but I am not sure how that would work on windows and using pipx instead of pip...

Can someone provide guidance on the best way to collect logs on this playback issue? And what might be the preferred way to submit that info in a PR for the documentation?

Your Environment

For yewtube:

PS >yt.exe --version
yewtube version    : 2.10.4
yt_dlp version     : 2023.03.04
Python version     : 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)]
Processor          : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
Machine type       : AMD64
Architecture       : 64bit, WindowsPE
Platform           : Windows-10-10.0.19044-SP0
sys.stdout.enc     : utf-8
default enc        : utf-8
Config dir         : C:\Users\jflynn\AppData\Roaming\mps-youtube
dbus               : None
glib               : False
env:TERM           : xterm-256color

And for mpv:

PS > mpv.com --version
mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on Tue Aug 01 10:56:31 2023
libplacebo version: v6.292.0-78-gabf34ba-dirty
FFmpeg version: N-111661-g567e78b28
FFmpeg library versions:
   libavutil       58.14.100
   libavcodec      60.22.100
   libavformat     60.10.100
   libswscale      7.3.100
   libavfilter     9.10.100
   libswresample   4.11.100

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions