deepwiki-open icon indicating copy to clipboard operation
deepwiki-open copied to clipboard

can not fetch repo

Open FoolerNanke opened this issue 1 year ago • 6 comments

Image

FoolerNanke avatar May 09 '25 03:05 FoolerNanke

Hi FoolerNanke,

You’re seeing this error:

Error determining wiki structure: 500 Please check that your repository exists and is public. Valid formats are "owner/repo", "https://github.com/owner/repo", "https://gitlab.com/owner/repo", "https://bitbucket.org/owner/repo", or local folder paths like "C:\path\to\folder" or "/path/to/folder".

This basically means that the system couldn’t access your repository, possibly because of one of these reasons:

The repository URL or path might be incorrect. Double-check that you entered it exactly as shown in the examples.

The repository might not exist or is private. Make sure it’s public, or that you have the right permissions if it’s private.

If using a local folder, confirm the path is correct and accessible from your computer.

Sometimes the server has temporary issues. If everything looks correct, wait a few minutes and try again.

If you’re still having trouble, please share the exact repository URL or path you’re using, and I can help you figure it out!

Have a good night:)

joyo11 avatar May 09 '25 04:05 joyo11

Hi FoolerNanke,

You’re seeing this error:

Error determining wiki structure: 500 Please check that your repository exists and is public. Valid formats are "owner/repo", "https://github.com/owner/repo", "https://gitlab.com/owner/repo", "https://bitbucket.org/owner/repo", or local folder paths like "C:\path\to\folder" or "/path/to/folder".

This basically means that the system couldn’t access your repository, possibly because of one of these reasons:

The repository URL or path might be incorrect. Double-check that you entered it exactly as shown in the examples.

The repository might not exist or is private. Make sure it’s public, or that you have the right permissions if it’s private.

If using a local folder, confirm the path is correct and accessible from your computer.

Sometimes the server has temporary issues. If everything looks correct, wait a few minutes and try again.

If you’re still having trouble, please share the exact repository URL or path you’re using, and I can help you figure it out!

Have a good night:)

Thanks my bro

I haven't set up the Google API Key yet, so instead of attempting to input the Git path, I used the path of my local repository. However, I still encountered an error. Here's the local path I used: /Users/nanke/python/deepwiki-open

FoolerNanke avatar May 09 '25 04:05 FoolerNanke

Here's the local path I used: /Users/nanke/python/deepwiki-open

see https://github.com/AsyncFuncAI/deepwiki-open/issues/25 for local repositories

cyril23 avatar May 09 '25 10:05 cyril23

am having the same issue but i found out that the path format gives different error

  • so when using /Users/ctf0/Downloads/deepwiki-open-main, i get

Image

  • but when changed to ~/Downloads/deepwiki-open-main i get
Image

am using osx 15.4.1 & latest version of the repo with docker

ctf0 avatar May 11 '25 12:05 ctf0

system: MacOS 15.4 M4 docker deployment also encountered the above issue

Question 1:

  1. The first time parsing the GitHub repository, the document was successfully generated.
  2. When actively refreshing the wiki, the above - mentioned error is reported.

Image

Question 2:

  1. After the first parsing of the GitHub repository and successful generation of the document, the Q&A function works fine.
  2. After re - entering or refreshing the web page, the document function reports an error:
摘要
URL: http://127.0.0.1:3257/api/chat/stream
状态: 500 Internal Server Error
来源: 网络
地址: 127.0.0.1:3257
初始化程序: 
page-8f287e8038b09c68.js:1:14406

请求
POST /api/chat/stream HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh-Hans;q=0.9
Connection: keep-alive
Content-Length: 138
Content-Type: application/json
Cookie: locale=zh-Hans; _pk_id.1.dc78=beb6d6184fc0b482.1738845104.; homarr.locale=cn
Origin: http://127.0.0.1:3257
Priority: u=3, i
Referer: http://127.0.0.1:3257/AsyncFuncAI/deepwiki-open?type=github&language=zh
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15

响应
HTTP/1.1 500 Internal Server Error
Connection: keep-alive
Content-Length: 79
Content-Type: application/json
Date: Sun, 18 May 2025 16:40:44 GMT
Keep-Alive: timeout=5
Server: uvicorn

请求数据
MIME类型: application/json
请求数据: 

Anyeler avatar May 18 '25 16:05 Anyeler

@joyo11 for GitHub, what are the Personal Access Token settings? Which ones should be switch on to be "read only" or "read and write"?

BradKML avatar Jul 16 '25 05:07 BradKML