How to solve error: Failed to read line: read /dev/stdin: The handle is invalid

I want to create a new remote for a google cloud storage (I have already successfully created / used many remotes for Google drive)
When creating a new remote for the google cloud storage, I am stuck at the very last step. After completing the Remote config, I get this question :

y) Yes this is OK
e) Edit this remote
d) Delete this remote

I can’t enter my answer as this error is added immediately:
y/e/d> 2018/03/31 13:51:15 Failed to read line: read /dev/stdin: The handle is invalid.

I am in Window 10 64, I use rclone 1.40.

Thanks a lot for your help!


Here are my answers to the creation steps:

n
name> mygooglecloudstorage
Storage> 10 
client_id>  ###
client_secret>###
project_number>  111111
service_account_file>  left_empty
object_acl> left_empty
bucket_acl> left_empty
location> 3
storage_class> 4    # nearline 
Use auto config?
>n
Enter verification code>   ###
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> 2018/03/31 13:51:15 Failed to read line: read /dev/stdin: The handle is invalid.  # I can't even add my own answer

Here is a printscreen

That looks like it is this issue: https://github.com/golang/go/issues/23525

I updated all rclone’s dependencies which should include that fix in the the latest beta, so can you give that a go?

Yes I no longer get the error with the latest beta! Thanks so much for taking the time to update rclone so quickly. That’s amazing!

1 Like