Run.bat issue in windows 11 #73

Open
opened 2023-08-22 13:30:42 -04:00 by sephdm · 5 comments
sephdm commented 2023-08-22 13:30:42 -04:00 (Migrated from github.com)

When I try to run the code for docker install in conda env I get this error...

(devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image


When I run run.bat from folder I get ...

    1 file(s) copied.

Installing missing packages...
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file C:\Program.
Environment variable HTTP_PROXY not defined
Environment variable HTTPS_PROXY not defined
Environment variable ALL_PROXY not defined
'http_proxy' is not recognized as an internal or external command,
operable program or batch file.
'https_proxy' is not recognized as an internal or external command,
operable program or batch file.
'all_proxy' is not recognized as an internal or external command,
operable program or batch file.
000
Environment variable HTTP_PROXY not defined
Environment variable HTTPS_PROXY not defined
Environment variable ALL_PROXY not defined
'http_proxy' is not recognized as an internal or external command,
operable program or batch file.
'https_proxy' is not recognized as an internal or external command,
operable program or batch file.
'all_proxy' is not recognized as an internal or external command,
operable program or batch file.
000


etc repeating

I did config env file with api for openai and github

Thx in advance

When I try to run the code for docker install in conda env I get this error... (devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it "docker run" requires at least 1 argument. See 'docker run --help'. Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] Create and run a new container from an image _______________________________________________________ When I run run.bat from folder I get ... 1 file(s) copied. Installing missing packages... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file C:\Program. Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 _________________________________ etc repeating I did config env file with api for openai and github Thx in advance
booboosui commented 2023-08-22 22:33:12 -04:00 (Migrated from github.com)

run.bat will launch a python terminal, and you can see the log messages returned by this terminal

run.bat will launch a python terminal, and you can see the log messages returned by this terminal
0rangeAppl3 commented 2023-08-25 11:43:42 -04:00 (Migrated from github.com)

When I try to run the code for docker install in conda env I get this error...

(devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it "docker run" requires at least 1 argument. See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image

When I run run.bat from folder I get ...

    1 file(s) copied.

Installing missing packages... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file C:\Program. Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000

etc repeating

I did config env file with api for openai and github

Thx in advance

have you figured this out? I had the same issue. It was able to run before but not recently. THis is what the py terminal return

Traceback (most recent call last):
  File "D:\PROJECTS\DevOpsGPT\backend\app\controllers\common.py", line 9, in decorated_function
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "D:\PROJECTS\DevOpsGPT\backend\app\controllers\app.py", line 51, in getAll
    raise Exception(_("Failed to get applications."))
Exception: Failed to get applications.
> When I try to run the code for docker install in conda env I get this error... > > (devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it "docker run" requires at least 1 argument. See 'docker run --help'. > > Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] > > Create and run a new container from an image > > When I run run.bat from folder I get ... > > ``` > 1 file(s) copied. > ``` > > Installing missing packages... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file C:\Program. Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 > > etc repeating > > I did config env file with api for openai and github > > Thx in advance have you figured this out? I had the same issue. It was able to run before but not recently. THis is what the py terminal return ``` Traceback (most recent call last): File "D:\PROJECTS\DevOpsGPT\backend\app\controllers\common.py", line 9, in decorated_function result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\PROJECTS\DevOpsGPT\backend\app\controllers\app.py", line 51, in getAll raise Exception(_("Failed to get applications.")) Exception: Failed to get applications. ```
yakeJiang commented 2023-08-27 22:30:10 -04:00 (Migrated from github.com)

When I try to run the code for docker install in conda env I get this error...

(devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it "docker run" requires at least 1 argument. See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image

When I run run.bat from folder I get ...

    1 file(s) copied.

Installing missing packages... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file C:\Program. Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000

etc repeating

I did config env file with api for openai and github

Thx in advance

hi , Environment question , you can pull master.

> When I try to run the code for docker install in conda env I get this error... > > (devopsgpt) PS J:\GPT.MODELS\DevOpsGPT> docker run -it "docker run" requires at least 1 argument. See 'docker run --help'. > > Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...] > > Create and run a new container from an image > > When I run run.bat from folder I get ... > > ``` > 1 file(s) copied. > ``` > > Installing missing packages... 'C:\Program' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file C:\Program. Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 Environment variable HTTP_PROXY not defined Environment variable HTTPS_PROXY not defined Environment variable ALL_PROXY not defined 'http_proxy' is not recognized as an internal or external command, operable program or batch file. 'https_proxy' is not recognized as an internal or external command, operable program or batch file. 'all_proxy' is not recognized as an internal or external command, operable program or batch file. 000 > > etc repeating > > I did config env file with api for openai and github > > Thx in advance hi , Environment question , you can pull master.
marccabezas commented 2023-08-30 06:24:03 -04:00 (Migrated from github.com)

I'm having the same issue. Any solution?

I'm having the same issue. Any solution?
booboosui commented 2023-08-30 19:33:13 -04:00 (Migrated from github.com)

@marccabezas @0rangeAppl3 Whether you have SQLite installed, the latest version depends on this service, or you can use a previous version : https://github.com/kuafuai/DevOpsGPT/releases

@marccabezas @0rangeAppl3 Whether you have SQLite installed, the latest version depends on this service, or you can use a previous version : https://github.com/kuafuai/DevOpsGPT/releases
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kuafuai/DevOpsGPT#73
No description provided.