ai-docstring icon indicating copy to clipboard operation
ai-docstring copied to clipboard

Immediate Crash on MacOS

Open Servinjesus1 opened this issue 1 year ago • 2 comments

I'm attempting to use this on Mac Ventura and running into a very similar issue to #1. The output is the same, but the error is not with memory, or at least Docker Desktop's default memory on my computer is 8Gb, not 2, so I would have expected that to be enough.

The error happens immediately, too, which seems odd if it were to be a memory issue.

Specifically, I am initializing the image with docker run -it -d -p 5003:5000 graykode/ai-docstring:cpu (can't download the Weights to run the ngrok notebook). I use port 5003 locally since Apple uses 5000 for AirDrop.

I get the error:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

followed by what appears to be the image hash, identifier, etc.

I have my setting in VSCode set to:

"ai-docstring.ServerEndpoint": "127.0.0.1:5003"

The image seems to run fine, but upon calling Generate Docstring, I get an Error: socket hang up.

Servinjesus1 avatar Jul 20 '23 16:07 Servinjesus1

docker run -it -d -p 5003:5000 --platform linux/amd64 graykode/ai-docstring

For M1, i've found that the above code successfully runs the image. However, also using port 5003, I get the following error: Error: socket hang up

jheagbayani avatar Aug 06 '23 04:08 jheagbayani

As the last modifications to this add-on were nearly 3 years ago, I am concluding that this add-on is abandoned and will be looking elsewhere for AI docstring generation...

Servinjesus1 avatar Sep 18 '23 21:09 Servinjesus1