Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scw login doesn't work on Windows #341

Closed
Hades32 opened this issue Apr 7, 2016 · 4 comments

Comments

@Hades32
Copy link

commented Apr 7, 2016

Looks like Windows' line endings aren't stripped correctly:

C:\Users\marti$ scw -D login
Login (cloud.scaleway.com): hades32@gmail.com
Password:
time="2016-04-07T23:03:07+02:00" level=debug msg="curl -X POST -d \"{\\\"email\\\":\\\"hades32@gmail.com\\\\r\\\",\\\"password\\\":\\\"XX-XX-XX-XX\\\",\\\"description\\\":\\\"scw-WIN-SJ0A7GO32DV\\\",\\\"expires\\\":false}\" -H \"Content-Type: application/json\" -H \"User-Agent: scw/v1.9.0\" -H \"X-Auth-Token: \" https://account.scaleway.com/tokens"
time="2016-04-07T23:03:08+02:00" level=fatal msg="cannot execute 'login': [401] maybe your email or your password is not valid"

@moul moul modified the milestone: 1.10.0 Apr 7, 2016

@QuentinPerez

This comment has been minimized.

Copy link
Contributor

commented Apr 7, 2016

Yes @Hades32, I also found this bug today, I will try to fix the compatibility with windows.
Apparently you are our first windows user 😀

@Hades32

This comment has been minimized.

Copy link
Author

commented Apr 7, 2016

haha, well it seems like it ;)

I have installed scw on my Raspberry in the meantime :)

@moul

This comment has been minimized.

Copy link
Contributor

commented Apr 8, 2016

@Hades32, #343 is merged and should fix windows issues, can you give a new try ?

@Hades32

This comment has been minimized.

Copy link
Author

commented Apr 8, 2016

works fine now!

@Hades32 Hades32 closed this Apr 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.