Bug report: Error when running tubeup
Closed this issue · 2 comments
Checklist
If you just delete all this text and post a issue it will be closed on sight.
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of tubeup, put x into all relevant boxes (like this [x])
- [X ] I understand Tubeup is merely a middleman between
yt-dlp
andinternetarchive
, and relies on said package dependiencies functioning properly, for example: Site extractors inyt-dlp
become stale or sites change layout breaking regex, andinternetarchive
has outages or throttles users S-3 access, and that these things are beyond the control of the maintainers of Tubeup. - [ X] I've updated
tubeup
,yt-dlp
andinternetarchive
along with their associated dependencies to their latest versions as supported by each afformentioned package setup scripts. - [X ] I've included the full and unredacted URL and console output (with the exception of site usernames and passwords, or IP addresses of the machine doing the download). I understand hiding URLs will get issue closed on sight.
- [X ] I've checked that all provided URLs are alive, playable in a browser and arguments with special characters are properly quoted or escaped.
- [X ] I've searched the issues (closed or open) for similar bug reports, not just here on Tubeup, but yt-dlps issue tracker for download issues similar to mine and internetarchives issue tracker for upload issues similar to mine. YT-DLP has an issue up listing known bugs.
- [X ] I'm not submitting a bug report about IA S3 timeouts (we have no control over Internet Archive outages or per-user throttling, and sometimes the site has maintence like hard disk swaps)
- [ X] I've checked the X account for Internet Archive for any announced outages or planned infrastructure maintenance that would affect performance of uploads.
- [X ] I have properly indented with triple backticks - the key directly below Escape on a QWERTY keyboard - before and after the console output full terminal terminal output from the line where the command was run to where I was returned to command prompt, and am not trying to obscure item identifiers or URLs used in the creation of the bug (we need this to recreate the bug or investigate what happened).
Dependency versions
Please provide version information from core dependencies:
yt-dlp version:
yt-dlp --version
internetarchive
python client version:
ia --version
Tubeup version:
tubeup --version
Expected behavior
When running the command tubeup https://www.youtube.com/watch?v=gvzJKtA8QQ0
error is received.
Additional context
ERROR RECEIVED:
An exception just occured, if you found this exception isn't related with any of your connection problem, please report this issue to https://github.com/bibanon/tubeup/issues
Traceback (most recent call last):
File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/__main__.py", line 99, in main
for identifier, meta in tu.archive_urls(URLs, metadata,
File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/TubeUp.py", line 411, in archive_urls
downloaded_file_basenames = self.get_resource_basenames(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/administrator/.local/share/pipx/venvs/tubeup/lib/python3.12/site-packages/tubeup/TubeUp.py", line 183, in get_resource_basenames
if info_dict.get('_type', 'video') == 'playlist':
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
Re-read all the requirements you didn't provide versions of tubeup, yt-dlp or internet archive.
Video not alive anymore. Read the submission guidelines you broke 3 of them I should block you from wasting peoples with reports.