tov/gsc-client

No proper error message if uploaded file exceeds available space

Opened this issue · 1 comments

Upon trying to upload with a larger size than the remaining file quota, gsc simply prints
expected value at line 1 column 1

The command used to cause this error was
gsc cp amsco.pdf hw03:
where amsco.pdf is a large pdf, >100 MB, and the remaining file quota is 20,941,576 bytes.

The exit code from this interaction is 1, which would correspond to some sort of error.

tov commented

Thanks for the report, Seth!

Yes, that's a known bug, and I haven't quite figured out what's causing it yet. It may actually just be that gsc-client isn't prepared to deal with the server's response/refusal. I doubt it's very difficult to fix, but it also doesn't seem like a high priority to me.