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

Script error #1

Closed
coymine opened this issue Dec 21, 2023 · 1 comment
Closed

Script error #1

coymine opened this issue Dec 21, 2023 · 1 comment

Comments

@coymine
Copy link

coymine commented Dec 21, 2023

At the end of the script we have an error and the robot does not work here is the error

" Python script downloaded successfully.
Gemini2tg is running in the background.
root@BoomieAIBOT:~# nohup: appending output to 'nohup.out'
nohup: appending output to 'nohup.out'
nohup: failed to run command 'python3.9': No such file or directory "

@zhuchangyi
Copy link
Owner

Hello coymine,

The message "nohup: appending output to 'nohup.out'" indicates that the script is already running in the background, so you can ignore the "python3.9 wrong" message. I suggest you try sending a /start command to your bot to see if it responds. If there is no response, it could be due to the incorrect Python version or missing packages.

  1. Which operating system you are using?
  2. Please navigate to the gemini folder, and check the Python version and the installed packages in the gemini2tg environment:
cd gemini

Then activate the gemini2tg environment using the following command:

source gemini2tg/bin/activate
python -V # Check if your Python version is 3.9 or higher
pip list  # Check if all necessary packages are installed
  1. Check the output of nohup to see if there are any errors:
cat nohup.out # This may help you identify the main issue; you can paste a few lines of the output here

Looking forward to your response.

@zhuchangyi zhuchangyi pinned this issue Dec 22, 2023
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

2 participants