Comments (23)
Yes. But the error was in the wrong version of python :) TY
from chatgpt-telegram-bot.
@areochi you have proxy enabled with this line:
PROXY="http://localhost:8080"
just to confirm, do you actually have a proxy running at http://localhost:8080
?
from chatgpt-telegram-bot.
@areochi Yes, that's a sample configuration for optional parameters. The only required values are
OPENAI_API_KEY
andTELEGRAM_BOT_TOKEN
. I probably should make that more clear. Can you try deleting everything from the .env file except openai key and telegram token?
yeah, it works. i didnt try to push docker yet, but the code works and bot gives proper replies
from chatgpt-telegram-bot.
Hi! @n3d1117 I tried to delete everything from the .env file and everything worked! Thank you for your help in solving the problem:)
from chatgpt-telegram-bot.
Hey there @SoulOfDefend! Have you tried pulling from latest changes in main
branch?
from chatgpt-telegram-bot.
Or not:(( The error did not disappear, downloaded the current version, installed python 3.9, but still nothing works
from chatgpt-telegram-bot.
The version for python 3.1 works, but not for 3.9
from chatgpt-telegram-bot.
All connection attempts failed
Same
from chatgpt-telegram-bot.
Weird. Can you try using Docker?
from chatgpt-telegram-bot.
same issue, cant deploy to the docker or cant even run the code, same errors. ive tried 3.7, 3.9, 3,11 python versions
from chatgpt-telegram-bot.
Can you share your .env file (without api key and token)?
from chatgpt-telegram-bot.
Can you share your .env file (without api key and token)?
my .env file looks like that:
.env.txt
i add a .txt to upload it here. so inbefore i just changed .env.example -> .env
from chatgpt-telegram-bot.
Yes, I have the same mistake. Python 3.11 . For some reason, telegram refuses to connect.
from chatgpt-telegram-bot.
no, i don't have any proxy. i just pulled from your github link and tried to run a code, and as you we have that errors. i've tried several python versions and also tried to install all requirements manualy but didnt help to me
from chatgpt-telegram-bot.
@areochi you have proxy enabled with this line:
PROXY="http://localhost:8080/"
just to confirm, do you actually have a proxy running at http://localhost:8080?
and if you check your .env.example file it has the same one:
Proxy to be used for OpenAI and Telegram bot
PROXY="http://localhost:8080/"
from chatgpt-telegram-bot.
@areochi Yes, that's a sample configuration for optional parameters. The only required values are OPENAI_API_KEY
and TELEGRAM_BOT_TOKEN
. I probably should make that more clear. Can you try deleting everything from the .env file except openai key and telegram token?
from chatgpt-telegram-bot.
@n3d1117 also voice messages doesnt work, and rest is working good
from chatgpt-telegram-bot.
@n3d1117 also voice messages doesnt work, and rest is working good
Any error? Or no response/log at all?
from chatgpt-telegram-bot.
@n3d1117 also voice messages doesnt work, and rest is working good
Any error? Or no response/log at all?
can't do another test atm (i'm at work). But telegram replied me something like: wrong format or i can use this type of audio,
i'll test later
from chatgpt-telegram-bot.
Okay, i'll keep this issue open. Please share exact error, logs and/or the audio file you used
from chatgpt-telegram-bot.
@rainbowjose @SoulOfDefend @Youquell could you please check if removing all parameters your .env file (except openai key and telegram token) fixes the issue?
from chatgpt-telegram-bot.
Okay, i'll keep this issue open. Please share exact error, logs and/or the audio file you used
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] (File not found - in my language) and telegram says Unsupported file type
from chatgpt-telegram-bot.
hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] (File not found - in my language) and telegram says Unsupported file type
Hmm, seems to be a Windows related issue. Please open a new GitHub issue so we can track it there
from chatgpt-telegram-bot.
Related Issues (20)
- Token
- Vision API Functionality Due to Recent OpenAI API Changes
- help
- When contacting the bot, an error occurs HOT 1
- bot unstart HOT 1
- how i can use plugins? HOT 3
- Enabling and using plugins HOT 16
- Can't change model from 3.5 to 4 HOT 1
- Contributions to this Repo HOT 1
- deepl plugin returns text in unicode escape sequence HOT 4
- Exception while handling an update: getattr():
- Deployment issues with fly.io
- Оооид
- Duck Duck Go Rate Limit HOT 1
- Update docker image in docker hub HOT 1
- Separate /image commands for Dall-E 2 and Dall-E 3
- audo ---> text HOT 1
- DDG HOT 3
- Everything worked and abruptly stopped working HOT 1
- Bugs in the operation of plugins: auto_tts, ddg_ddg_search, and ddg_images_earch (403, HttpError).
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 chatgpt-telegram-bot.