Skip to content

"Failed to parse upload result." #1

Closed
@hrxcodes

Description

@hrxcodes

Hi, I realise this is a bit old but I imagined it would still work, but I'm facing a issue.

I was trying to recompile to debug myself until I noticed the code for the CLI wrapper is not published? Might be that I'm a Go noob as well 😄

The issue I'm facing is this:

srrdb --username=realusername--password=realpassword  --release=full.releasename.here-grouptoo --folder=Sample -u sample-the.release.SxxExx-group.srs

sample-the.release.SxxExx-group.srs: Failed to upload stored file - Failed to parse upload result.

I created a breakpoint on https://github.com/hashworks/go-srrdb-API/blob/v1.1.0/srrdb/srrdb.go#L241

Thread 7 "srrdb" hit Breakpoint 1, github.com/hashworks/go-srrdb-API/srrdb.UploadStoredFile (fp=..., dirname=..., folder=..., jar=0xc0000ff080, ~r4=..., 
    ~r5=...) at /usr/local/go/pkg/mod/github.com/hashworks/go-srrdb-!a!p!i@v1.1.0/srrdb/srrdb.go:241
241	/usr/local/go/pkg/mod/github.com/hashworks/go-srrdb-!a!p!i@v1.1.0/srrdb/srrdb.go: No such file or directory.

(gdb) info locals
w = <optimized out>
bytes = {
  array = 0xc00054e000 "<div style=\"white-space:nowrap;overflow:hidden;text-overflow:ellipsis;\">Add file to full.releasename.here-grouptoo</div>\r\n<form action=\"/release/add/full.releasename.here-grouptoo\" enc"..., len = 621, cap = 1536}
&b = 0xc0000ff110
f = 0xc0005c0150
err = {tab = 0x0, data = 0x0}
fw = <optimized out>
req = 0xc00013a300
client = 0xc00054e000
response = <optimized out>
res = <optimized out>

Did I do something wrong or is there a error in the script? Looks like we are seeing the dialog as if we were trying to add files manually.

Thanks!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions