Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Falha ao clonar canal protegido (Ubuntu) #53

Open
2slgbtqia opened this issue Oct 9, 2024 · 0 comments
Open

Falha ao clonar canal protegido (Ubuntu) #53

2slgbtqia opened this issue Oct 9, 2024 · 0 comments

Comments

@2slgbtqia
Copy link

2slgbtqia commented Oct 9, 2024

Ao tentar clonar um canal protegido usando clonechat_protect_dw_run.py o programa inicia e então se encerra com o seguinte erro:

FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Downloads/Clonechat/clonechat-main/protect_content/Cache/100209xxxxxx-Nome_do_canal/2-input/Nome_do_canal/primeira_parte_1/video.mp4.temp'

Segue o todo o processo abaixo (Nome e id do canal censurados)

`....:: Clonechat - v118 ::....
github.com/apenasrr/clonechat/
-----------Protect Dw---------
/home/user/Downloads/Clonechat/clonechat-main/user.session
Enter the ORIGIN messsage_link, chat_id, chat_link or chat_username: -100209xxxxxx
ORIGIN: 100209xxxxxx-nome_do_canal

Continue cloning or start a new one?
1 - Continue
2 - Start a new
Answer: 2
Use the last history: msgs_chat_100209xxxxxx_xxxxxxxx.json?
1 - Yes
2 - No
Answer: 2

Hold on... Mapping message history in: protect_content/log_chats/100209xxxxxx-Nome_do_canal/msgs_chat_100209xxxxxx_xxxxxxxx.json
The chat history was saved. 166 messages.

Chat History: 100209xxxxxx-Nome_do_canal
duration: 86.0h 11.0m 1.0s
total size: 20.270 GB
msgs count by type: {
"text": 3,
"service": 2,
"document": 1,
"video": 160
}

dw: 2-input\Nome_do_canal\1_primeira_parte_1\video.mp4
Traceback (most recent call last):
File "/home/user/Downloads/Clonechat/clonechat-main/clonechat_protect_dw_run.py", line 9, in
main()
File "/home/user/Downloads/Clonechat/clonechat-main/clonechat_protect_dw_run.py", line 5, in main
clonechat_protect_down.main()
File "/home/user/Downloads/Clonechat/clonechat-main/protect_content/clonechat_protect_down.py", line 536, in main
download.pipe_download(
File "/home/user/Downloads/Clonechat/clonechat-main/protect_content/pipe/download.py", line 231, in pipe_download
download_media(
File "/home/user/Downloads/Clonechat/clonechat-main/protect_content/pipe/download.py", line 167, in download_media
download_media_core(client, message, file_path)
File "/home/user/Downloads/Clonechat/clonechat-main/protect_content/pipe/download.py", line 48, in download_media_core
return_ = client.download_media(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/pyrogram/sync.py", line 67, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/pyrogram/methods/messages/download_media.py", line 186, in download_media
return await downloader
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/pyrogram/client.py", line 1111, in handle_download
file = BytesIO() if in_memory else open(temp_file_path, "wb")
^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/Downloads/Clonechat/clonechat-main/protect_content/Cache/100209xxxxxx-nome_do_canal/2-input/Nome_do_canal/1_Primeira_parte_1/video.mp4.temp'`

@2slgbtqia 2slgbtqia closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
@2slgbtqia 2slgbtqia reopened this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant