gpt4 book ai didi

api - 应用getForm时偶尔会得到 "attempt to apply non-function"错误

转载 作者:行者123 更新时间:2023-12-01 02:34:16 25 4
gpt4 key购买 nike

我正在使用 getForm 从 api 中重复提取数据。有时程序完成,有时经过一定量的迭代后,我收到以下错误消息:

Error in curlPerform(url = url, curl = curl, .opts = .opts) : 
attempt to apply non-function
In addition: There were more than 50 warnings (use warnings() to see the first 50)
> traceback()
5: .Call("R_curl_easy_perform", curl, .opts, isProtected, .encoding,
PACKAGE = "RCurl")
4: curlPerform(url = url, curl = curl, .opts = .opts)
3: getURLContent(uri, .opts = .opts, .encoding = .encoding, binary = binary,
curl = curl)
2: getForm("https://xx", .params = parval)
1: fromJSON(getForm("https://xx",
.params = parval)) at #32

警告是:
In RCurlIconv(str, from = "C99", to = encoding) :
UTF-8 not supported iconv entries

谢谢你的帮助!

最佳答案

这只是一个下载错误,有时下载失败。在这种情况下,我只是提供了再次尝试下载的规定。

关于api - 应用getForm时偶尔会得到 "attempt to apply non-function"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11023377/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com