hayabhay / frogbase

Transform audio-visual content into navigable knowledge.
https://frogbase.dev
MIT License
781 stars 95 forks source link

"Download error" when attempting to upload from local storage #70

Open Tzundoku opened 1 year ago

Tzundoku commented 1 year ago

DownloadError: ERROR: [generic] None: Unable to download webpage: (caused by URLError('unknown url type: c'))

Traceback:

File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _runscript exec(code, module.dict) File "C:\Users\tzundo\Documents\frogbase (ai transcribe)\frogbase-2.0.0a1\ui\01🏠_Home.py", line 103, in fb.add(sources, opts).transcribe(ignore_captioned=True) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tzundo\Documents\frogbase (ai transcribe)\frogbase-2.0.0a1\frogbase\core.py", line 237, in add self._media_buffer = self.media.add(sources, opts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tzundo\Documents\frogbase (ai transcribe)\frogbase-2.0.0a1\frogbase\media.py", line 499, in add added_media += self._add_from_web(source, opts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tzundo\Documents\frogbase (ai transcribe)\frogbase-2.0.0a1\frogbase\media.py", line 264, in _add_from_web ydl.download(url) File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 3485, in download self.__download_wrapper(self.extract_info)( File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 3460, in wrapper res = func(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 1549, in extract_info return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 1578, in wrapper self.report_error(str(e), e.format_traceback()) File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 1042, in report_error self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', args, kwargs) File "C:\Users\tzundo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\yt_dlp\YoutubeDL.py", line 981, in trouble raise DownloadError(message, exc_info)