apenasrr / zipsender

Workflow for splitting, zipping and uploading folders
MIT License
10 stars 4 forks source link

is giving this error when running zipsender_send #1

Closed Luan1025 closed 2 years ago

Luan1025 commented 2 years ago

2022/07/17 09:37:44-1/2 Uploading: log_project\Nova_pasta.txt Welcome to Pyrogram (version 2.0.32) Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).

Enter phone number or bot token: Process Process-2: Traceback (most recent call last): File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 108, in run self._target(self._args, self._kwargs) File "C:\zipsender_suite\Telegram_filesender\time_out.py", line 12, in func_subprocess returndict["return"] = func(dict_params) File "C:\zipsender_suite\Telegram_filesender\api_telegram.py", line 88, in send_document with Client("user", credentials.api_id, credentials.api_hash) as app: File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\client.py", line 280, in enter return self.start() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap return loop.run_until_complete(coroutine) File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\methods\utilities\start.py", line 62, in start await self.authorize() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\client.py", line 309, in authorize value = await ainput("Enter phone number or bot token: ") File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\utils.py", line 40, in ainput return await asyncio.get_event_loop().run_in_executor(executor, func) File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\thread.py", line 58, in run result = self.fn(self.args, **self.kwargs) EOFError: EOF when reading a line 2022/07/17 09:37:56-2/2 Uploading: C:\zipsender_suite\zipsender\3-toupload_Nova_pasta\output\Nova_pasta-001.rar Welcome to Pyrogram (version 2.0.32) Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).

Enter phone number or bot token: Process Process-4: Traceback (most recent call last): File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\multiprocessing\process.py", line 108, in run self._target(self._args, self._kwargs) File "C:\zipsender_suite\Telegram_filesender\time_out.py", line 12, in func_subprocess returndict["return"] = func(dict_params) File "C:\zipsender_suite\Telegram_filesender\api_telegram.py", line 88, in send_document with Client("user", credentials.api_id, credentials.api_hash) as app: File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\client.py", line 280, in enter return self.start() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap return loop.run_until_complete(coroutine) File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\methods\utilities\start.py", line 62, in start await self.authorize() File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\client.py", line 309, in authorize value = await ainput("Enter phone number or bot token: ") File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\site-packages\pyrogram\utils.py", line 40, in ainput return await asyncio.get_event_loop().run_in_executor(executor, func) File "C:\Users\Luan\AppData\Local\Programs\Python\Python310\lib\concurrent\futures\thread.py", line 58, in run result = self.fn(self.args, **self.kwargs) EOFError: EOF when reading a line Upload completed: _Nova_pasta