Comments (7)
Are you writing to the right bot? (check bot's token)
If yes, pls show the logs here
from gpt-telegramus.
[2023-07-11 20:10:38] [258804 ] [INFO ] Logging setup is complete for current process
[2023-07-11 20:10:38] [258804 ] [INFO ] LoggingHandler PID: 258806
[2023-07-11 20:10:38] [258804 ] [INFO ] GPT-Telegramus version: 3.0.3
[2023-07-11 20:10:38] [258804 ] [INFO ] https://github.com/F33RNI/GPT-Telegramus
[2023-07-11 20:10:38] [258804 ] [INFO ] Loading config.json
[2023-07-11 20:10:38] [258804 ] [INFO ] Loaded json from config.json
[2023-07-11 20:10:38] [258804 ] [INFO ] Loading messages.json
[2023-07-11 20:10:38] [258804 ] [INFO ] Loaded json from messages.json
[2023-07-11 20:10:38] [258804 ] [INFO ] Starting queue_processing_loop
[2023-07-11 20:10:38] [258804 ] [INFO ] queue_processing_loop thread: Thread-1
[2023-07-11 20:10:38] [258804 ] [INFO ] Starting telegram bot
[2023-07-11 20:10:41] [258804 ] [INFO ] Application started //here it stops after i run the main.py and then i am writing to the bot /start and nothing happens!
[2023-07-11 20:13:39] [258804 ] [INFO ] Application is stopping. This might take a moment. ///// here i try STRG+C to close the bot
[2023-07-11 20:13:39] [258804 ] [ERROR ] Telegram bot error!
Traceback (most recent call last):
File "/home/projektxamelion/xamelionAI/GPT-Telegramus/BotHandler.py", line 518, in start_bot
self._event_loop.run_until_complete(self._application.run_polling())
File "/home/projektxamelion/.local/lib/python3.8/site-packages/telegram/ext/_application.py", line 752, in run_polling
return self.__run(
File "/home/projektxamelion/.local/lib/python3.8/site-packages/telegram/ext/_application.py", line 954, in __run
loop.run_until_complete(self.stop())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/projektxamelion/.local/lib/python3.8/site-packages/telegram/ext/_application.py", line 634, in stop
await self.update_queue.join()
File "/usr/lib/python3.8/asyncio/queues.py", line 220, in join
await self._finished.wait()
File "/usr/lib/python3.8/asyncio/locks.py", line 309, in wait
await fut
RuntimeError: Task <Task pending name='Task-13' coro=<Application.stop() running at /home/projektxamelion/.local/lib/python3.8/site-packages/telegram/ext/_application.py>
[2023-07-11 20:13:39] [258804 ] [INFO ] Restarting bot polling after 30 seconds
[2023-07-11 20:13:48] [258804 ] [WARNING ] KeyboardInterrupt @ bot_start
[2023-07-11 20:13:48] [258804 ] [WARNING ] Telegram bot stopped
[2023-07-11 20:13:48] [258804 ] [WARNING ] Stopping queue_processing_loop
[2023-07-11 20:13:48] [258804 ] [WARNING ] queue_processing_loop finished
[2023-07-11 20:13:48] [258804 ] [INFO ] GPT-Telegramus exited successfully
from gpt-telegramus.
i see there is no users.json added to repository... maybe it is it?
from gpt-telegramus.
users.json
is a user database file that is created "dynamically".
For now pls try to stop the bot, then write something to it, and then open the link below (replace <TOKEN>
in the link with your bot's API token). You should see your message. If you don't see it, then it's a problem with your telegram bot token / API / etc., not with GPT-Telegramus
https://api.telegram.org/bot<TOKEN>/getUpdates
from gpt-telegramus.
I have followed your instructions.
With token is everything ok.
What can it be?
from gpt-telegramus.
Please try running the bot on a different machine / Python version...
because I can't reproduce your problem =(
from gpt-telegramus.
Сlosing this Issue, because neither I nor anyone else can reproduce your problem
from gpt-telegramus.
Related Issues (20)
- can't use GPT-4 - constantly fallbacks to 3.5
- Index out of range HOT 1
- Request Feature
- Bard module not working HOT 1
- ChatGPT module stop working. HOT 2
- Add abillity to remove "New Chat" HOT 2
- Bard -> Gemini HOT 1
- How to remove Dall-E and Bard from code? HOT 2
- Failed to load dynlib/dll. HOT 1
- Add proxy option for Telegram. HOT 3
- ❌ Error: Empty response! Clear the history and make another request or try again later HOT 1
- Not working chat gpt lmao api HOT 20
- ARM64 not support google-chrome-stable HOT 21
- can't clear history in Lmao ChatGPT module HOT 12
- STOP BOT feature HOT 2
- Sort order for /users list
- Possibility for groq addition? HOT 1
- [ERROR ] Initialization error HOT 2
- Groq error processing queue
- setup modal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt-telegramus.