0

Running this on Ubunutu(Vps)
Getting exec format error at this line :

process = subprocess.Popen(command_line,
                                       bufsize=1,
                                       stdout=subprocess.PIPE, 
                                       stderr=subprocess.STDOUT,
                                       encoding='utf-8',
                                       errors='ignore',
                                       universal_newlines=True)

Error :

/home/ubuntu/.local/lib/python3.8/site-packages/telegram/ext/filters.py:198: TelegramDeprecationWarning: Filters.group is deprecated. Use Filters.chat_type.groups instead.
  return self.filter(update.effective_message)
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/home/ubuntu/Fclone_Tg_Bot/telegram_gcloner/utils/fire_save_files.py", line 95, in run
    process = subprocess.Popen(command_line,
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/ubuntu/Fclone_Tg_Bot/fclone'
OSError: [Errno 8] Exec format error: '/home/ubuntu/Fclone_Tg_Bot/fclone'

How to resolve this error ,i am beginner at this so your help will be greatly appricated

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846
NooBie
  • 1
  • Does this answer your question? [OSError: \[Errno 8\] Exec format error](https://stackoverflow.com/questions/27606653/oserror-errno-8-exec-format-error) – mkrieger1 May 13 '22 at 08:28

0 Answers0