Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Unable to upload local content #62

Description

@akmzero

When trying to upload local content (175mb .mkv file) the following error is given. Youtube works fine.

This is running in a Ubuntu VM.

I've attempted to move the temp directory but it went missing after trying to upload.

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/Filenamehere.mkv'
Traceback:

File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/home/frogbase/Desktop/frogbase/frogbase-main/ui/01_🏠_Home.py", line 103, in
fb.add(sources, **opts).transcribe(ignore_captioned=False).embed().index()
File "/home/frogbase/Desktop/frogbase/frogbase-main/frogbase/core.py", line 246, in add
self._media_buffer = self.media.add(sources, **opts)
File "/home/frogbase/Desktop/frogbase/frogbase-main/frogbase/media.py", line 504, in add
added_media += self._add_from_disk(source, **opts)
File "/home/frogbase/Desktop/frogbase/frogbase-main/frogbase/media.py", line 464, in _add_from_disk
upload_date=datetime.fromtimestamp(media_file.stat().st_ctime).strftime("%Y%m%d"),
File "/usr/lib/python3.10/pathlib.py", line 1097, in stat
return self._accessor.stat(self, follow_symlinks=follow_symlinks)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions