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

Python Script Error #1

Open
Type-32 opened this issue May 5, 2023 · 4 comments
Open

Python Script Error #1

Type-32 opened this issue May 5, 2023 · 4 comments

Comments

@Type-32
Copy link

Type-32 commented May 5, 2023

_chatgpt-clone-backend-1_logs.txt

This log comes from the backend.

@fatihbaltaci
Copy link
Owner

Hi @Type-32, how can I reproduce this issue? What's your OS, System specs, Docker version, etc?

@Type-32
Copy link
Author

Type-32 commented May 5, 2023

OS

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Docker Version
Docker version 23.0.5, build bc4487a

Python Version
Python 3.9.6

YUM Version

Failed to set locale, defaulting to C
3.4.3
  Installed: rpm-4.11.3-48.el7_9.x86_64 at 2023-03-26 15:30
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2021-11-24 16:33
  Committed: Michal Domonkos <[email protected]> at 2021-11-01

  Installed: yum-3.4.3-168.el7.centos.noarch at 2023-03-26 15:31
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2020-10-01 17:03
  Committed: CentOS Sources <[email protected]> at 2020-09-29

  Installed: yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch at 2020-09-02 06:22
  Built    : CentOS BuildSystem <http://bugs.centos.org> at 2020-05-12 16:27
  Committed: Michal Domonkos <[email protected]> at 2020-03-12

Portainer
Portainer CE 2.17.1

Oh and I got the log file from Portainer. I do have to admit that I'm a newbie in server deployment and management so there are some info I do not understand while trying to deploy this clone.

Also, the error seems to occur when I input a prompt in the chatbar. The error stops the chatgpt-clone-backend container from executing and the chatbot reports the error about Open AI Key empty or invalid in the env file. I checked multiple times and made sure that both .envs/.env and .envs/.env.dev all have my Open AI Key (Created today) and docker compose down & up again but it doesn't seem to fix the error.

@Shruthivenkatesh-05
Copy link

I am also facing Same issue
Any solution ?

@pranith7
Copy link

Hey @fatihbaltaci I tried to setup the repo in gitpod dev but also facing this issue any update
on the solution part.

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

4 participants