autoDocstring icon indicating copy to clipboard operation
autoDocstring copied to clipboard

[ERROR 15:25:54.237] Error: connect ECONNREFUSED 127.0.0.1:5000

Open oweninglese opened this issue 3 years ago • 1 comments

Describe the bug Generate docstring encounters error on use

Versions (please complete the following information):

  • autoDocstring Version:
  • Operating System: arch-manjaro
  • Vscode Version: september-22

Original Code (with line to generate on):

# generate on this line

Expected Result:


Actual Result:


Debug log: [INFO 15:24:07.018] ai-docstring was activated [INFO 15:25:54.154] Generating Docstring at line: 99 [INFO 15:25:54.160] Docstring generated: """ add_links_to_tagfiles ${1:AI is creating summary for add_links_to_tagfiles}

${2:[extended_summary]}
"""

[INFO 15:25:54.160] Inserting at position: 99 0 [INFO 15:25:54.208] Successfully inserted docstring [ERROR 15:25:54.237] Error: connect ECONNREFUSED 127.0.0.1:5000


Stack trace: If an error was reported by autoDocstring please copy the stack trace from the autoDocstring output channel.


Additional context Used to work, fresh install.

oweninglese avatar Oct 21 '22 19:10 oweninglese

Is it fixed yet? I got the same issue. preventing me to use this extension.

`[INFO 18:29:00.481] ai-docstring was activated [INFO 18:29:05.673] Generating Docstring at line: 37 [INFO 18:29:05.682] Docstring generated: """${1:AI is creating summary for access_file}

Args:
    strFile (${2:[type]}): ${3:[description]}

Returns:
    ${4:[type]}: ${5:[description]}
"""

[INFO 18:29:05.682] Inserting at position: 37 0 [INFO 18:29:05.697] Successfully inserted docstring [ERROR 18:29:05.737] Error: connect ECONNREFUSED 127.0.0.1:5000`

Let me know if any more details required.

ps-jigarpatel avatar Oct 26 '23 22:10 ps-jigarpatel