Git Product home page Git Product logo

clonebot_v2's People

Contributors

anymeofu avatar dishapatel010 avatar l3v11 avatar msgsuite avatar n0k0m3 avatar thecaduceus avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

clonebot_v2's Issues

IndentationError: unexpected indent

I'm trying to deploy CloneBot_V2 via PC but I get an error message IndentationError: unexpected indent. I didn't touch any of the .py files so I'm not sure what causes this error. The only one I edited was the config.ini file.

Currently using Windows 10 and Python version 3.10.

Hope you can help me. Thank you!

Screenshot 2022-09-02 070207

Build pack error

Fetching source code
! Your deployment has been stopped for security reason (rule: BSR-004)
! If you believe that this is an error, please contact our support at: [email protected]
! Error deploying the application
! → Invalid return code from buildpack

OSError: [WinError 1392] The file or directory is corrupted and unreadable

Sorry for posting here again but I'm deploying CloneBot_V2 on my PC but I get this error when I try to copy files. Already tried searching on Google to fix the error using sfc, chkdsk, DISM; Also tried re-downloading and reinstalling CloneBot_V2, even Python, and Git on my PC but nothing has worked so far. Thanks in advance.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\[threading.py](http://threading.py/)", line 1016, in _bootstrap_inner
    [self.run](http://self.run/)()
  File "C:\CloneBot_V2\telegram_gcloner\utils\fire_save_files.py", line 95, in run
    process = subprocess.Popen(command_line,
  File "C:\Program Files\Python310\lib\[subprocess.py](http://subprocess.py/)", line 969, in init
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\Python310\lib\[subprocess.py](http://subprocess.py/)", line 1438, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 1392] The file or directory is corrupted and unreadable

Screenshot 2022-09-04 013639

Screenshot 2022-09-04 020038

Error in gitpod

I am running the repo in gitpod.

Bot is started, but not copying the file. Below is the log that i got.

telegram.ext.updater - ERROR - Error while getting Updates: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running
2022-10-22 11:34:46,565 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
Traceback (most recent call last):
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/telegram/ext/dispatcher.py", line 538, in process_update
self.dispatch_error(None, update)
File "/workspace/.pyenv_mirror/user/current/lib/python3.8/site-packages/telegram/ext/dispatcher.py", line 813, in dispatch_error
callback(update, context)
File "telegram_gcloner/telegram_gcloner.py", line 194, in error
if update.effective_user:
AttributeError: 'NoneType' object has no attribute 'effective_user'

issue on windows while cloning

getting this error while cloning

Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\demo\Downloads\Compressed\CloneBot_V2-2.2.9\CloneBot_V2-2.2.9\telegram_gcloner\utils\fire_save_files.py", line 95, in run
process = subprocess.Popen(command_line,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 969, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1438, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application

Some statistic data not changing while copying in progress

I had the Readme screenshot as an example of what I would see exactly when doing here on my side, but actually for me it executed as the screenshot below. No Speed, no ETA, no Size, no Checks stats, only Transfers and Progress bar did show some "progress" throughout the process. Is it supposed to be regular or is there any little issue? Not a real trouble, since copying was accomplished.

image

How to deply in docker or VPS

Hello, i have tried the method mentioned in the guide and tried both VPS and Docker, but nothing worked.

  1. In docker there is no proper deploy method, please provide how to deploy in docker

  2. In vps bot has started but when i try to copy the files it is giving me error like --- PermissionError: [Errno 13] Permission denied: '/root/CloneBot_V2/telegram_gcloner/gclone'

image

help fixing anyone of the issues, thanks

Bot can't detect gclone in VPS

Hey,

When I try to run Clonebot in a Linux VPS and try to clone something the log says File not found "gclone"
image

but there is gclone installed on the system. Here's what I see when I ls in telegram_gcloner folder
image

Failed deploy on VPS

Try deploying on oracle ubuntu 22.04 VPS with given tutorial,, in the end it said Gclone Executable was not found in the Drectory. even though gclone file already in directory telegram_gcloner/gclone how to fix this?

edit config.ini directly telegram_gcloner/config.ini

any suggestion?

2022-08-24 16:12:17,230 - utils.config_loader - INFO - Found path_to_gclone: gclone
2022-08-24 16:12:17,230 - utils.config_loader - INFO - Found gclone_para_override: 
2022-08-24 16:12:17,230 - utils.config_loader - WARNING - Gclone Executable was not found in the Drectory.
Press Enter to continue...

Docker imagen was banned on Fly.io?

Hi, I was deploying the bot yo Fly.io, and when it was finished, for the "deploying" process, it threw an error "Error, clonebot image it's not allowed". What we can do in this case? :(

Thanks

PermissionError: [Errno 13] Permission denied

The bot is started correctly. but it can't clone.

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/root/CloneBot_V2/telegram_gcloner/utils/fire_save_files.py", line 95, in run
process = subprocess.Popen(command_line,
File "/usr/lib/python3.10/subprocess.py", line 969, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: './telegram_gcloner/gclone'

No app.json

If we deploy this than getting error no app.json found in this repo

The gcloner file is missing

Hello, what can be done to stop it showing?

C:\Users\xxx\Desktop\CloneBot_V2>python telegram_gcloner/telegram_gcloner.py
2022-08-29 20:36:24,295 - utils.config_loader - INFO - Found telegram_token: 53810xxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2022-08-29 20:36:24,295 - utils.config_loader - INFO - Found user_ids: xxxxxxxxxxxx
2022-08-29 20:36:24,295 - utils.config_loader - INFO - Found group_ids: -1
2022-08-29 20:36:24,295 - utils.config_loader - INFO - Found path_to_gclone: gclone.exe
2022-08-29 20:36:24,295 - utils.config_loader - INFO - Found gclone_para_override:
2022-08-29 20:36:24,315 - utils.config_loader - WARNING - Gclone Executable was not found in the Drectory.
Press Enter to continue...

Bot starts but after gdrive link logging shows: gclone not found

Hi,
I can not get gclone to execute.
The bot starts I have path_to_gclone = gclone
and the gclone file located at /root/CloneBot_V2/telegram_gcloner/
Running ubuntu 20.04 (amd64 https://clonebot.tk/0:/v1.59.1%20(Dream)/Linux/Linux%20AMD%2064/)

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/root/CloneBot_V2/telegram_gcloner/utils/fire_save_files.py", line 95, in run
process = subprocess.Popen(command_line,
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gclone'

Any ideas?
Thanks in advance!

Ask

i done make bot clone but why bot doesnt work when i /sa

or in github fork i must upload folder accounts with json all files???

telegram.error.InvalidToken: Invalid token

Just deployed my app using this Workflow and I'm get this error telegram.error.InvalidToken: Invalid token I tried to revoke and generate new tokens but still it is same
Here's the full log

2022-08-26T16:57:26.371 app[dc68de42] sea [info] File "/usr/src/app/telegram_gcloner/telegram_gcloner.py", line 224, in <module>
2022-08-26T16:57:26.371 app[dc68de42] sea [info] main()
2022-08-26T16:57:26.371 app[dc68de42] sea [info] File "/usr/src/app/telegram_gcloner/telegram_gcloner.py", line 114, in main
2022-08-26T16:57:26.371 app[dc68de42] sea [info] my_bot = MQBot(config.TELEGRAM_TOKEN, request=request, mqueue=q)
2022-08-26T16:57:26.371 app[dc68de42] sea [info] File "/usr/src/app/telegram_gcloner/telegram_gcloner.py", line 36, in __init__
2022-08-26T16:57:26.371 app[dc68de42] sea [info] super(MQBot, self).__init__(*args, **kwargs)
2022-08-26T16:57:26.371 app[dc68de42] sea [info] File "/usr/local/lib/python3.10/dist-packages/telegram/bot.py", line 194, in __init__
2022-08-26T16:57:26.372 app[dc68de42] sea [info] self.token = self._validate_token(token)
2022-08-26T16:57:26.372 app[dc68de42] sea [info] File "/usr/local/lib/python3.10/dist-packages/telegram/bot.py", line 358, in _validate_token
2022-08-26T16:57:26.372 app[dc68de42] sea [info] raise InvalidToken()
2022-08-26T16:57:26.372 app[dc68de42] sea [info] telegram.error.InvalidToken: Invalid token

Here's how my config.ini looks like
2022_08_26_23_04_33~2

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.