Comments (7)
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.
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.
ia --version
1.5.0
from tubeup.
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.
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.
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.
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)
- Bug report: Channels having YouTube shorts cause Tubeup to fail HOT 4
- Proposal: What to do about yt-dlps new nightly branch? HOT 4
- deleted HOT 1
- Bug report/feature request: Continue downloading other videos when one fails with a permanent error HOT 6
- Bug report: extremely slow downloads from youtube HOT 3
- Bug report: [native] nsig extraction failed HOT 4
- Possible NSIG fixes HOT 8
- Upgrade yt-dlp ASAP to at least 2023.07.06 HOT 5
- "Creator" field for Douyin needs update HOT 9
- Update internetarchive to 3.4.0/3.5.0? HOT 4
- Uploaded YT video thumbnails in .webp are not used for IA item tiles HOT 7
- PEP 668 compatability
- Add new release for 2023-08-10. HOT 2
- Bug report: Video impossible to upload when best quality stream is unavailable on the server-side HOT 11
- Bug report: Unable to archive Youtube video after premiere HOT 1
- TypeError: 'module' object is not callable HOT 8
- Troubles facing video archival
- Add a "local mode" to assist in uploading from disk HOT 4
- Bug report: `ModuleNotFoundError: No module named 'pkg_resources'` with python 3.12.1 HOT 7
- option to choose quality/format or sending custom commands to yt-dlp HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tubeup.