Owez / yark

YouTube archiving made simple.
https://pypi.org/project/yark/
MIT License
2.13k stars 63 forks source link

OpenSSL erroring out for computer during pypi check #91

Closed MasaruKitajima closed 1 year ago

MasaruKitajima commented 1 year ago

I'm using M1 MacBook Air which runs macOS Ventura. Python3, ffmpeg, and dependencies are installed on the Boot Drive, MacintoshHD. Though the MacintoshHD is a 256GB SSD, I use yark on the external hard drive “Data.”

[masarukitajima@localhost /Users/masarukitajima:] $ cd /Volumes/Data/ムービー/yark
[masarukitajima@localhost /Volumes/Data/ムービー/yark:] $ la
total 16
drwxr-xr-x   3 masarukitajima  staff    96  1 16 17:18 .
drwxrwxr-x  17 masarukitajima  staff   544  1 16 16:46 ..
-rw-r--r--@  1 masarukitajima  staff  6148  1 16 17:18 .DS_Store
[masarukitajima@localhost /Volumes/Data/ムービー/yark:] $ mkdir BibleProjects
[masarukitajima@localhost /Volumes/Data/ムービー/yark:] $ cd BibleProjects
[masarukitajima@localhost /Volumes/Data/ムービー/yark/BibleProjects:] $ yark new TheTorahSeries "https://youtube.com/playlist?list=PLH0Szn1yYNee8aedW_5aCpnzkxnV7VQ3K"
Error: Failed to check for new Yark version, info:
HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi/yark/json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')))
Please file a bug report if you think this is a problem with Yark!
Creating new channel..
Committing TheTorahSeries to file..
[masarukitajima@localhost /Volumes/Data/ムービー/yark/BibleProjects:] $ la
total 0
drwxr-xr-x  4 masarukitajima  staff  128  1 17 07:52 .
drwxr-xr-x  4 masarukitajima  staff  128  1 17 07:50 ..
drwxr-xr-x  5 masarukitajima  staff  160  1 17 07:52 TheTorahSeries
[masarukitajima@localhost /Volumes/Data/ムービー/yark/BibleProjects:] $ la TheTorahSeries
total 8
drwxr-xr-x  5 masarukitajima  staff  160  1 17 07:52 .
drwxr-xr-x  4 masarukitajima  staff  128  1 17 07:52 ..
drwxr-xr-x  2 masarukitajima  staff   64  1 17 07:52 thumbnails
drwxr-xr-x  2 masarukitajima  staff   64  1 17 07:52 videos
-rw-r--r--  1 masarukitajima  staff  140  1 17 07:52 yark.json

How can I fix this?

Owez commented 1 year ago

It looks like your computer has misconfigured SSL certificates for whatever reason so it gives that error. You can still use Yark fine, youll just see that error being printed to your terminal until your SSH certificates are fixed.

I'm not sure what specifically is wrong with your SSH configuration, try to search "unable to get local issuer certificate" on google and see if anything looks like it could fix your issue. It might be a problem with openssl

MasaruKitajima commented 1 year ago

Thank you for your efforts. My apologies for not being unable to reply due to my Mac's trouble.

Owez commented 1 year ago

Thank you for your efforts. My apologies for not being unable to reply due to my Mac's trouble.

No probs, feel free to open another issue or reply down here if there's anything else you need help with :)