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
Closed

scw login doesn't work on Windows #341

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

Comments

@Hades32
Copy link

Hades32 commented Apr 7, 2016

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

C:\Users\marti$ scw -D login
Login (cloud.scaleway.com): [email protected]
Password:
time="2016-04-07T23:03:07+02:00" level=debug msg="curl -X POST -d \"{\\\"email\\\":\\\"[email protected]\\\\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
Copy link
Contributor

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
Copy link
Author

Hades32 commented Apr 7, 2016

haha, well it seems like it ;)

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

@moul
Copy link
Contributor

moul commented Apr 8, 2016

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

@Hades32
Copy link
Author

Hades32 commented Apr 8, 2016

works fine now!

@Hades32 Hades32 closed this as completed Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants