bibanon / tubeup

Use yt-dlp to download video/metadata and upload to the Internet Archive.
https://pypi.python.org/pypi/tubeup/
GNU General Public License v3.0
424 stars 71 forks source link

fix compatibility with ia 5.0.3 #339

Closed DigitalDwagon closed 2 weeks ago

vxbinaca commented 2 weeks ago

Tell me where I'm doing something wrong here:

git clone git@github.com:DigitalDwagon/tubeup.git

cd tubeup

❯ pipx install . --include-deps
⚠️  File exists at /home/vxbinaca/.local/bin/normalizer and points to
    /home/vxbinaca/.local/share/pipx/venvs/requests/bin/normalizer, not
    /home/vxbinaca/.local/share/pipx/venvs/tubeup/bin/normalizer. Not modifying.
⚠️  File exists at /home/vxbinaca/.local/bin/yt-dlp and points to
    /home/vxbinaca/.local/share/pipx/venvs/yt-dlp/bin/yt-dlp, not
    /home/vxbinaca/.local/share/pipx/venvs/tubeup/bin/yt-dlp. Not modifying.
⚠️  File exists at /home/vxbinaca/.local/share/man/man1/yt-dlp.1 and points to
    /home/vxbinaca/.local/share/pipx/venvs/yt-dlp/share/man/man1/yt-dlp.1, not
    /home/vxbinaca/.local/share/pipx/venvs/tubeup/share/man/man1/yt-dlp.1. Not modifying.
  installed package tubeup 2023.8.19, installed using Python 3.12.7
  These apps are now globally available
    - ia
    - jsondiff
    - jsonpatch
    - jsonpointer
    - tqdm
    - tubeup
    - normalizer (symlink missing or pointing to unexpected location)
    - yt-dlp (symlink missing or pointing to unexpected location)
  These manual pages are now globally available
    - man1/yt-dlp.1 (symlink missing or pointing to unexpected location)

Okay so normalizer and yt-dlp aren't grabbed, so I injected them into the venv.

I run your fork:

tubeup https://www.youtube.com/watch\?v\=dBUYstuPvdc
Traceback (most recent call last):
  File "/home/vxbinaca/.local/bin/tubeup", line 8, in <module>
    sys.exit(__main__())
             ^^^^^^^^^^
TypeError: 'module' object is not callable

New error. Typo or my problem?

DigitalDwagon commented 2 weeks ago

re-open after github automatically closed this

vxbinaca commented 2 weeks ago

It works, merging. Thank you very much young lady.