小编dir*_*kbo的帖子

为什么 flutter pub 找不到我的 github ssh 密钥?

我的 flutter App 依赖于一个私有托管在 github 上的模块。
当我pub get从 Powershell运行时,我得到:

Git error. Command: `git clone --mirror ssh://git@github.com:dirkbo/repo-name.git C:\src\flutter\.pub-cache\git\cache\repo-name-123ba`
stdout:
stderr: Cloning into bare repository 'C:\src\flutter\.pub-cache\git\cache\repo-name-123ba'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
exit code: 128
Run Code Online (Sandbox Code Playgroud)

当我复制失败的命令并直接在同一个 powershell 中运行时:

git clone --mirror git@github.com:dirkbo/repo-name.git C:\src\flutter\.pub-cache\git\cache\repo-name-123ba
Run Code Online (Sandbox Code Playgroud)

一切正常:

Cloning into bare repository 'C:\src\flutter\.pub-cache\git\cache\repo-name-123ba'...
Enter passphrase for key '/c/Users/dirkb/.ssh/id_rsa':
remote: Enumerating objects: 229, done.
remote: Counting objects: …
Run Code Online (Sandbox Code Playgroud)

git ssh github flutter

4
推荐指数
1
解决办法
2234
查看次数

问题使用python suds访问WSDL-Service会引发TypeNotFound:ArrayOfint

未找到类型:'(ArrayOfint,http://schemas.microsoft.com/2003/10/Serialization/Arrays,)'是suds 解析器引发的.在... 2003/10/Serialization/Arrays中定义了ArrayOfInt,所以我猜linux的区分大小写就是问题所在.任何想法我怎么能解决这个问题?

from suds.client import Client
c = Client("https://developer-api.affili.net/V2.0/Logon.svc?wsdl")
Run Code Online (Sandbox Code Playgroud)

过去常常回来

Type not found: '(ArrayOfint, http://schemas.microsoft.com/2003/10/Serialization/Arrays, )'
Run Code Online (Sandbox Code Playgroud)

现在几天以后我甚至都没有去那里,而是我得到了一个

TypeNotFound: Type not found: '(Logon, http://affilinet.framework.webservices/types, )'
Run Code Online (Sandbox Code Playgroud)

python wsdl suds

2
推荐指数
1
解决办法
6040
查看次数

标签 统计

flutter ×1

git ×1

github ×1

python ×1

ssh ×1

suds ×1

wsdl ×1