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

Column widths, cookies keyring fixes #205

Merged
merged 5 commits into from
Jan 6, 2024
Merged

Column widths, cookies keyring fixes #205

merged 5 commits into from
Jan 6, 2024

Conversation

RumovZ
Copy link
Collaborator

@RumovZ RumovZ commented Jan 6, 2024

No description provided.

RumovZ added 3 commits January 6, 2024 10:54
Calculating text-width does not seem to work reliably on Linux and macOS.
Closes #197.
Now we only need browser_cookie3 to find the cookie file, not 2 libraries.
E.g. yt-dlp doesn't find the Firefox cookie on Ubuntu if installed with snap.
RumovZ added 2 commits January 6, 2024 13:05
IOError doesn't necessarily indicate a permisison problem. E.g. it also includes
FileNotFoundError, which in one case was caused by yt-dlp not being able to
locate the cookie file.
Also, catching all IOErrors (OSErrors) makes debugging harder.
If we want to handle permission issues separately, we should instead handle
the error when actually doing the file op, so we can be sure that's really the issue.

This reverts commit c03f322.
@RumovZ RumovZ requested a review from bohning January 6, 2024 12:12
@RumovZ RumovZ merged commit ca0e38d into main Jan 6, 2024
1 check passed
@RumovZ RumovZ deleted the col-width branch January 6, 2024 12:15
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

Successfully merging this pull request may close these issues.

2 participants