Git Product home page Git Product logo

Comments (7)

vxbinaca avatar vxbinaca commented on June 4, 2024 1

@rudolphos

If you're running this on a machine you have sudo access to, do this:

sudo pip3 install -U tubeup

I'd you're just using someone else's box:

pip3 install --user -U tubeup

This should fix the problem there was conflicting values for timeout that were just baked into Internetarchive and Tubeup was calling a different value and it caused uploads to stop due to ia panicking.

Report back if it works or not.

If it doesn't work, force back to 1.5.0 by running:

sudo pip3 install -U internetarchive==1.5.0

alternativly if you don't have root

pip3 install --user -U internetarchive==1.5.0

It will work after this. I will comment here if you need to downgrade when it's safe to upgrade to the latest version again.

from tubeup.

vxbinaca avatar vxbinaca commented on June 4, 2024

Funny I was just about to make a bug report for internetarchive because there's a problem with it.

What version of internetarchive are you using? (to find out run ia --version)

from tubeup.

rudolphos avatar rudolphos commented on June 4, 2024

@vxbinaca

ia --version
1.5.0

from tubeup.

vxbinaca avatar vxbinaca commented on June 4, 2024

Don't upgrade internetarchive yet then.

Your problem appears to be unrealted. Perhaps try again after removing that specific videos entry (and everything below it) from your ~/.tubeup/.ytdlarchive file? Also don't forget to clear out your downloads folder by running rm ~/.tubeup/downloads/*.

from tubeup.

rudolphos avatar rudolphos commented on June 4, 2024

@vxbinaca

Installing collected packages: backports.csv, internetarchive
  Found existing installation: internetarchive 1.5.0
    Uninstalling internetarchive-1.5.0:
      Successfully uninstalled internetarchive-1.5.0
Successfully installed backports.csv-1.0.5 internetarchive-1.6.0

I updated ia. I'll see how it goes, because this error didn't show up always and when running the same link it finished the playlist but I guess that video which showed 504 didn't upload.

EDIT:

This actually didn't work at all; will downgrade ia.

{'_elapsed_str': '00:32', 'status': 'finished', 'downloaded_bytes': 353872873, '_total_bytes_str': '337.48MiB', 'elapsed': 32.82520532608032, 'total_bytes': 353872873, 'filename': '../home/.tubeup/downloads/Why_Exposing_Fake_News_Matters_James_O_Keefe_and_Stefan_Molyneux-Rdl6mVUY9ac.f136.mp4'}
:: Downloaded: ../home/.tubeup/downloads/Why_Exposing_Fake_News_Matters_James_O_Keefe_and_Stefan_Molyneux-Rdl6mVUY9ac.f136.mp4...
{'_elapsed_str': '00:04', 'status': 'finished', 'downloaded_bytes': 45911713, '_total_bytes_str': '43.78MiB', 'elapsed': 4.190635442733765, 'total_bytes': 45911713, 'filename': '../home/.tubeup/downloads/Why_Exposing_Fake_News_Matters_James_O_Keefe_and_Stefan_Molyneux-Rdl6mVUY9ac.f251.webm'}
:: Downloaded: ../home/.tubeup/downloads/Why_Exposing_Fake_News_Matters_James_O_Keefe_and_Stefan_Molyneux-Rdl6mVUY9ac.f251.webm...
:: Uploading ../home/.tubeup/downloads/Why_Exposing_Fake_News_Matters_James_O_Keefe_and_Stefan_Molyneux-Rdl6mVUY9ac...
Traceback (most recent call last):
  File "/usr/local/bin/tubeup", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/dist-packages/tubeup/__main__.py", line 263, in main
    identifier, meta = upload_ia(video, custom_meta=md)
  File "/usr/local/lib/python3.5/dist-packages/tubeup/__main__.py", line 208, in upload_ia
    item.upload(vid_files, metadata=meta, retries=9001, request_kwargs=dict(timeout=9001), delete=True)
  File "/usr/local/lib/python3.5/dist-packages/internetarchive/item.py", line 830, in upload
    request_kwargs=request_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/internetarchive/item.py", line 690, in upload_file
    **request_kwargs)
TypeError: send() got multiple values for keyword argument 'timeout'

from tubeup.

vxbinaca avatar vxbinaca commented on June 4, 2024

504 is a gateway timeout, something we don't have control over if I recall correctly.

The timeout erroe has actually been fixed. I'm leaving this open until @jjjake updates the pip copy of internetarchive with the fix. Once that happens I'll tag you and then close the issue.

from tubeup.

vxbinaca avatar vxbinaca commented on June 4, 2024

This issue was resolved months ago. Closing.

Also @rudolphos you're lucky because you have most/all of Chris Cantwells works before Google purged them. Nice going on that rip.

from tubeup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.