Skip to content

Not able execute the example.gpt script in Readme successfully. #135

Closed
@sangee2004

Description

@sangee2004

gptscript version - v0.0.0-dev-07bf5bdb-dirty

I see the following 2 errors when running the example.gpt script in Readme:
unzip: cannot find or open chinook.zip, chinook.zip.zip or chinook.zip.ZIP. or
fork/exec /bin/sh: not a directory

 gptscript --cache=false exampleorig.gpt
15:44:54 started  [main]
15:44:54 sent     [main]
         content  [1] content | Waiting for model response...
         content  [1] content | tool call sys-download-6a406a5a -> {"url":"https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip"}
15:44:57 started  [sys.download(2)] [input={"url":"https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip"}]
15:44:57 sent     [sys.download(2)]
15:44:57 download [https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip] to [/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T/gpt-download690060198]
15:44:57 ended    [sys.download(2)]
15:44:57 continue [main]
15:44:57 sent     [main]
         content  [1] content | Waiting for model response...
         content  [1] content | tool call sys-exec-2aa383da -> {"command":"unzip chinook.zip","directory":"/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T"}
15:45:00 started  [sys.exec(3)] [input={"command":"unzip chinook.zip","directory":"/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T"}]
15:45:00 sent     [sys.exec(3)]
unzip:  cannot find or open chinook.zip, chinook.zip.zip or chinook.zip.ZIP.
2024/03/08 15:45:00 exit status 9
 % gptscript --cache=false exampleorig.gpt
15:45:04 started  [main]
15:45:04 sent     [main]
         content  [1] content | Waiting for model response...
         content  [1] content | tool call sys-download-6a406a5a -> {"url":"https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip"}
15:45:06 started  [sys.download(2)] [input={"url":"https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip"}]
15:45:06 sent     [sys.download(2)]
15:45:06 download [https://www.sqlitetutorial.net/wp-content/uploads/2018/03/chinook.zip] to [/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T/gpt-download179667051]
15:45:06 ended    [sys.download(2)]
15:45:06 continue [main]
15:45:06 sent     [main]
         content  [1] content | Waiting for model response...
         content  [1] content | tool call sys-exec-2aa383da -> {"command":"unzip chinook.zip","directory":"/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T/gpt-download179667051"}
15:45:09 started  [sys.exec(3)] [input={"command":"unzip chinook.zip","directory":"/var/folders/xt/zg5q3qtj07q84xvf0_80pfdh0000gn/T/gpt-download179667051"}]
15:45:09 sent     [sys.exec(3)]
2024/03/08 15:45:09 fork/exec /bin/sh: not a directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions