LiveSplit / LiveSplit/SpeedrunComSharp

Strange error on submitting.

未关闭
#11 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C#
星标
32
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

When I use the api to submit a run, it returns the following error.

SpeedrunComSharp.APIException was unhandled HResult=-2147024809 Message=There are problems with your submitted run, see the errors attached. Source=SpeedrunComSharp StackTrace: at SpeedrunComSharp.SpeedrunComClient.DoPostRequest(Uri uri, String postBody) in C:\Users\jakef_000\Downloads\SpeedrunComSharp-master\SpeedrunComSharp-master\SpeedrunComSharp\SpeedrunComClient.cs:line 177 at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at SpeedrunComSharp.RunsClient.Submit(String categoryId, String platformId, String levelId, Nullable1 date, String regionId, Nullable1 realTime, Nullable1 realTimeWithoutLoads, Nullable1 gameTime, Nullable1 emulated, Uri videoUri, String comment, Uri splitsIOUri, IEnumerable1 variables, Nullable1 verify, Boolean simulateSubmitting) in C:\Users\jakef_000\Downloads\SpeedrunComSharp-master\SpeedrunComSharp-master\SpeedrunComSharp\Runs\RunsClient.cs:line 217
at SpeedruncomTool.Program.Main(String[] args) in C:\Users\jakef_000\Documents\Visual Studio 2015\Projects\SpeedruncomTool\SpeedruncomTool\Program.cs:line 28
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
`

What does this mean, and how can I fix?

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 SpeedrunComSharp/Runs/RunsClient.cs:217 中的 SpeedrunComSharp.RunsClient.Submit 开始,然后检查 SpeedrunComSharp/SpeedrunComClient.cs:177 中的 SpeedrunComClient.DoPostRequest。检查 APIException 附带的错误和已提交的参数,以确定 API 拒绝了哪个输入。完成标准是识别出无效的提交数据,并记录或复现修复方法。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
api
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。