小编Jam*_*han的帖子

Windows 上使用 Git 的 GPG 代理出现 IPC 错误

我想在 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)

windows git gnupg git-bash gpg-agent

7
推荐指数
2
解决办法
3976
查看次数

如何在Google Spreadsheet API v4中指定gid(标签)?

我正在尝试使用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:

https://content-sheets.googleapis.com/v4/spreadsheets/1da3e6R08S8OoibbOgshyAQy7m9VRGPOrSGzVIvMSXf4/values/A1?key=API_KEY

我会得到:

{
  "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!"的值?

rest google-spreadsheet-api

5
推荐指数
1
解决办法
4045
查看次数

收到了“我的测试应用目前没有响应。请稍后重试。” 错误消息,甚至从Google Assistant Simulator干净启动

我对这个话题还很陌生,如果我没有提供足够的信息,抱歉。

第一次,我从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/

  • 我尝试查看Firebase日志,确实没有错误
  • 我试图用web demointegration标签,一切正常(这意味着服务器端代码或连接也没问题),符合市场预期,火力也记录了该请求。
  • 我尝试使用其他浏览器(chrome-> firefox)仍然无法正常工作。

这是来自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)

任何帮助,将不胜感激。谢谢!

firebase actions-on-google google-home dialogflow-es

5
推荐指数
1
解决办法
1786
查看次数