Giter Club home page Giter Club logo

zipsender's Introduction

zipsender

Workflow for automatic processing of zip folders and post them
A process automation that uses independent solutions

Source: https://github.com/apenasrr/zipsender

ZIP ind
SENDER files

How to use

  • Enter 'zipsender' folder
  • Execute pip install -r requirements.txt or run update_libs.bat
  • Run both files zipsender_send.bat and zipsender_zip.bat
  • Note that a new folder will appear: '\zipsender\1-tozip'
  • Paste in this folder, an audio-visual collection folder
  • To authorize this folder to start processing, Rename this collection folder by adding an underline character at the beginning of your name
  • Wait for the collection to be processed and sent automatically
  • You can put several collections in the '1-Tozip' folder and authorize the process for all of them quickly by running the 'auth_all_folders.bat' file

For more details to customizations, soon in documentation.


Do you wish to buy a coffee to say thanks? LBC (from LBRY) digital Wallet

bFmGgebff4kRfo5pXUTZrhAL3zW2GXwJSX

We recommend:

mises.org - Educate yourself about economic and political freedom
lbry.tv - Store files and videos on blockchain ensuring free speech
A Cypherpunk's Manifesto - How encryption is essential to Free Speech and Privacy

zipsender's People

Contributors

apenasrr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zipsender's Issues

No Root Folder Found

I'm having this issue, i'm using debian 12 and Python 3.11.2

Add file /storage/apps/zipsender/1-tozip/UNESC/V_DEOS/BASES MORFOL_GICAS/Wagner de Brito Veras/Fisiologia do M_sculo Estriado Esquel_tico-20210607_200227-Meeting Recording.mp4
Creating... 3-toupload/UNESC/output/UNESC-008.rar
Traceback (most recent call last):
  File "/storage/apps/zipsender/zipsender_zip.py", line 344, in <module>
    main()
  File "/storage/apps/zipsender/zipsender_zip.py", line 321, in main
    save_log_folder_structure(
  File "/storage/apps/zipsender/zipsender_zip.py", line 168, in save_log_folder_structure
    string_tree = content_tree.main(dict_tasks_log)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/apps/zipsender/content_tree.py", line 108, in main
    serie_path_relativa = get_serie_folder_path_relative(df_raw["file_path"])
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/apps/zipsender/content_tree.py", line 69, in get_serie_folder_path_relative
    raise ValueError("No root folder found")
ValueError: No root folder found

is giving this error when running zipsender_send

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
return_dict["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
return_dict["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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.