天道酬勤,学无止境

gooddata

在写入所有字节之前无法关闭流(GoodData API)(Cannot close stream until all bytes are written (GoodData API))

问题 我已经做了一些搜索,大多数人在发送大量数据时似乎都会遇到这个问题,但我不是。 我正在向 API 发出以下请求: request.Method = "POST"; request.ContentType = "application/json"; request.Accept = "application/json"; request.Headers.Add("Cookie", "$Version=0; GDCAuthTT=" + TToken + "; $Path=/gdc/account"); //generate request parameters ReportRequest.RootObject reportRequest = new ReportRequest.RootObject(); reportRequest.report_req = new ReportRequest.ReportReq(); reportRequest.report_req.reportDefinition = ReportLink; JavaScriptSerializer serializer = new JavaScriptSerializer(); byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(serializer

2021-12-10 06:20:25    分类:技术分享    c#   asp.net   .net   gooddata

Cannot close stream until all bytes are written (GoodData API)

I've done a bit of searching, and most people seem to hit this when sending larger amounts of data, but I'm not. I'm making a request to an API with the following: request.Method = "POST"; request.ContentType = "application/json"; request.Accept = "application/json"; request.Headers.Add("Cookie", "$Version=0; GDCAuthTT=" + TToken + "; $Path=/gdc/account"); //generate request parameters ReportRequest.RootObject reportRequest = new ReportRequest.RootObject(); reportRequest.report_req = new ReportRequest.ReportReq(); reportRequest.report_req.reportDefinition = ReportLink; JavaScriptSerializer

2021-11-24 18:18:03    分类:问答    c#   asp.net   .net   gooddata

GoodData:元数据提取失败:SQLite JDBC:内部状态不一致(GoodData: Metadata extraction failed: SQLite JDBC: inconsistent internal state)

问题 我正在使用 CloudConnect 访问 Sqlite 数据库。 这是一个示例数据库,在这里找到:http://chinookdatabase.codeplex.com/releases/view/55169#DownloadId=167067 我收到以下错误: Metadata extraction failed: SQLite JDBC: inconsistent internal state 我成功建立了连接,并尝试“元数据”>“新元数据”>“从数据库中提取”。 我可以看到所有的表,虽然有些表出现了两次和三次。 我选择一个表,“验证”有效,“查看”返回正确的结果。 当我单击“下一步”时,出现上述“内部状态不一致”错误。 可能相关的旁注 - 如果我运行以下命令: SELECT sqlite_version() AS 'SQLite Version' 我得到: 3.6.20 回答1 很抱歉,这似乎是错误,我刚刚向我们的开发人员创建了修复此问题的请求。 吉里·西蒙 好数据技术支持。 https://support.gooddata.com

2021-10-19 22:44:11    分类:技术分享    sqlite   gooddata

GoodData: Metadata extraction failed: SQLite JDBC: inconsistent internal state

I am using CloudConnect to access an Sqlite db. It's an example db, found here: http://chinookdatabase.codeplex.com/releases/view/55169#DownloadId=167067 I am getting the following error: Metadata extraction failed: SQLite JDBC: inconsistent internal state I successfully set up a connection, and am trying to "Metadata" > "New Metadata" > "Extract from database". I can see all the tables, although some tables appear twice and three times. I select a table, "validate" works and "view" returns the proper result. When I click "next", I get the above "inconsistent internal state" error. Possibly

2021-10-19 10:58:12    分类:问答    sqlite   gooddata

GoodData:JavaScript SDK 设置 - 回购克隆错误(GoodData: JavaScript SDK setup - repo cloning error)

问题 尝试在此处遵循 GoodDataJS 的“入门”:http://sdk.gooddata.com/gooddata-js/getting-started/ 尝试克隆 repo 时失败并显示错误: “克隆到'gooddata-js'...权限被拒绝(公钥)。致命:无法从远程存储库读取。 请确保您拥有正确的访问权限并且存储库存在。” 回答1 如果您从未在您的帐户中注册公共/私人 ssh 密钥,就会发生这种情况。 请参阅“GitHub - 权限被拒绝(公钥)”和“错误:权限被拒绝(公钥)”。 在这种情况下,正如评论的那样,只有 https 可以工作。 git clone https://github.com/gooddata/gooddata-js.git ssh 和 https 协议允许进行用户身份验证。 可以通过以下方式支持真正的匿名克隆(如本答案所示): git clone git://github.com/gooddata/gooddata-js.git 但是假设您的工作站允许端口 9418(由 git 协议使用)用于传出连接。

2021-08-31 09:11:18    分类:技术分享    javascript   git   gooddata

GoodData: JavaScript SDK setup - repo cloning error

Trying to follow the 'Getting Started' for the GoodDataJS here: http://sdk.gooddata.com/gooddata-js/getting-started/ When trying to clone repo it fails with the error: "Cloning into 'gooddata-js'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists."

2021-06-27 07:22:32    分类:问答    javascript   git   gooddata