我想在 Windows 上不安装 Gpg4win 的情况下使用 GPG,因为Windows 版的 Git包含了 GPG 的二进制文件,所以我想使用它而不是安装额外的应用程序。
但是,当我设置GPG(例如添加路径等)时,我遇到了以下错误:
C:\Users\me> gpgconf --launch gpg-agent
gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1
gpgconf: error running '/usr/bin/gpg-connect-agent NOP': General error
Run Code Online (Sandbox Code Playgroud)
与gpg-connect-agent:
C:\Users\me> gpg-connect-agent /bye
gpg-connect-agent: no running gpg-agent - starting '/usr/bin/gpg-agent'
gpg-connect-agent: waiting for the agent to come up ... (5s)
gpg-connect-agent: waiting for the agent to come up ... (4s)
gpg-connect-agent: waiting for the agent to come up ... (3s)
gpg-connect-agent: waiting for the agent to …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用RESTful API从Google电子表格电子表格中收集数据.
我在https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get修改了该文档,但我找不到允许我指定电子表格的特定GID(标签)的密钥.
调用API后,我能够从电子表格的第一个选项卡中获取值,但我想将其更改为第二个页面(另一个GID)
任何帮助,将不胜感激.谢谢.
编辑:添加示例:
我在这里有一个示例电子表格:https://docs.google.com/spreadsheets/d/1da3e6R08S8OoibbOgshyAQy7m9VRGPOrSGzVIvMSXf4/edit#gid=0
当我想获得A1的值时,我可以调用RESTful API:
我会得到:
{
"range": "Sheet1!A1",
"majorDimension": "ROWS",
"values": [
[
"This is on the first tab!"
]
]
}
Run Code Online (Sandbox Code Playgroud)
但正如您在我的电子表格中看到的那样,我必须使用标签(sheet2),如何获得" This is on the second tab!"的值?
我对这个话题还很陌生,如果我没有提供足够的信息,抱歉。
第一次,我从https://developers.google.com/actions/dialogflow/first-app复制了所有内容,以了解它,效果很好。
之后,我尝试创建自己的应用程序,最后,我收到以下消息:“我的测试应用目前没有响应。请稍后重试。” 来自https://console.actions.google.com/project/[[PROJECT-ID]]/simulator/。
因此,我尝试删除所有内容并重新开始,包括https://console.actions.google.com/和https://console.dialogflow.com上的所有项目。
然后,我再次从https://developers.google.com/actions/dialogflow/first-app复制了完全相同的内容,但是这次,我仍然收到“我的测试应用目前没有响应。请稍后重试。” 来自https://console.actions.google.com/project/[[PROJECT-ID]]/simulator/。
web demo从integration标签,一切正常(这意味着服务器端代码或连接也没问题),符合市场预期,火力也记录了该请求。这是来自Google Assistant Simulator的响应代码(没什么):
{
"audioResponse": "//NExAARqQ...",
"conversationToken": "GidzaW11bG...",
"response": "My test app isn't responding right now. Try again soon.",
"visualResponse": {
"visualElements": []
}
}
Run Code Online (Sandbox Code Playgroud)
这是调试消息(是的,里面什么也没有,所以我被卡住了):
{
"agentToAssistantDebug": {},
"assistantToAgentDebug": {}
}
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激。谢谢!