chatgpt-clone icon indicating copy to clipboard operation
chatgpt-clone copied to clipboard

Python Script Error

Open Type-32 opened this issue 2 years ago • 4 comments

_chatgpt-clone-backend-1_logs.txt

This log comes from the backend.

Type-32 avatar May 05 '23 01:05 Type-32

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

fatihbaltaci avatar May 05 '23 09:05 fatihbaltaci

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.

Type-32 avatar May 05 '23 09:05 Type-32

I am also facing Same issue Any solution ?

Shruthivenkatesh-05 avatar Dec 28 '23 06:12 Shruthivenkatesh-05

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

pranith7 avatar Mar 10 '24 18:03 pranith7