-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Submit command fails with "Error parsing API response" #23
Comments
It seems like the submission succeeded, but that the go client was unable to parse the response correctly. My guess is that this is because yesterday the |
This attempts to address issue exercism/cli#23
I'm deploying now. Would you let me know after your next submission if it worked? |
Sure, will do! Thanks for looking into it. |
@toolness Is this still a problem? |
Hey, sorry for the delay in responding... I just submitted an exercise successfully, but I was using the same |
The fix in the API should have taken care of it without needing to update the client. That said, there have been a bunch of bugfixes and things done on the CLI, so an update would probably be a good idea. |
I'm closing this, but as always feel free to re-open it if you have further trouble! |
I'm having this problem also. I try to submit a C# exercise (leap) but must be doing something wrong. As the test file expects there to be a Year.IsLeap function, I have a class called Year.cs that passes the tests (provided the test file uses the same namespace as Year.cs - but how else would I get this to work?) Anyway, I log on and try submit Year.cs (from various directories) and only get: (Date and time) errpr åarsomg AÅO response - invalid character '<' looking for beginning of value. |
I've got a separate discussion going where it seems like there are quite a few people experiencing errors with submission: This should be working, and it looks like the api is blowing up and returning HTML instead of JSON. I need to dig into this when I get home from work to figure out exactly what is going on. |
Wow, you're fast :) Any idea if I might get it to work from another computer and in another language? |
It might. Sorry it's taking time to get back to you -- I'm so swamped with support requests at the moment that I haven't had a chance to dig into this yet. |
@estomagordo - this got lost in the fray, and I'm only just now getting back to looking through all of the issues. Are you still having problems submitting? |
Closing due to inactivity. If you are still experiencing this issue, please reopen this with more information. Thanks! |
I'm getting hit with this as well. Any fetch in any lang yields: Installed via AUR package |
@flayisflay -- what does |
Oh, the AUR package. I don't have access to that, and it's wildly out of date. Let me update the docs to remove that. The easiest thing is to grab the most recent binary: https://github.com/exercism/cli/releases and stick it in your path. |
Looks like it was because I hadn't configured the API key yet. I grabbed the github package before the AUR one, actually. I just had to dig around in the tutorial for the answer. Thanks for the quick reply. |
I thought we had a better error message if you weren't configured. We should double check that. Glad you got it solved. |
Hi |
@Wuppert please open up a new Issue with the specifics of your problem and the output of |
For context, I submitted my first two iterations via an OS X machine.
I was then at a different computer--an Ubuntu server VM running under Win7--and configured exercism on the VM. I "checked out" (is that the right word for it?) the same
test
exercise, copied and pasted my latest iteration intobob.rb
and made some changes, successfully completedexercism login
, and then tried resubmitting withexercism submit bob.rb
, which produced the following result:However, it does seem like the actual third iteration made it onto the website here.
The text was updated successfully, but these errors were encountered: