Comments (20)
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 submission.id
changed from a string to a number. I'm updating the API to return the key
which is used in the submissions URL rather than the actual id
, since that is the value that interests us in the first place.
from cli.
I'm deploying now. Would you let me know after your next submission if it worked?
from cli.
Sure, will do! Thanks for looking into it.
from cli.
@toolness Is this still a problem?
from cli.
Hey, sorry for the delay in responding... I just submitted an exercise successfully, but I was using the same exercism
client executable as I did a month ago when I first submitted this issue. Was I supposed to update it?
from cli.
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.
from cli.
I'm closing this, but as always feel free to re-open it if you have further trouble!
from cli.
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.
from cli.
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.
from cli.
Wow, you're fast :)
Any idea if I might get it to work from another computer and in another language?
from cli.
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.
from cli.
@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?
from cli.
Closing due to inactivity. If you are still experiencing this issue, please reopen this with more information. Thanks!
from cli.
I'm getting hit with this as well. Any fetch in any lang yields:
API response - json: cannot unmarshal string into Go value of type []api.SubmissionInfo
Installed via AUR package
from cli.
@flayisflay -- what does exercism debug
say?
from cli.
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.
from cli.
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.
from cli.
I thought we had a better error message if you weren't configured. We should double check that.
Glad you got it solved.
from cli.
Hi
Im afraid I have the same error API response.
After exercism fetch java
from cli.
@Wuppert please open up a new Issue with the specifics of your problem and the output of exercism debug
from cli.
Related Issues (20)
- `exercism configure --workspace=D:` panics HOT 2
- FR: Run analyzer locally before submitting
- Fetch next exercise HOT 7
- Token is invalid error. Tried multiple ones HOT 4
- Is the file size restriction still correct? HOT 1
- feature request: `exercism download` should warn the user if a newer version is available
- FR: add go install as install method
- Broken links in CLI repo's contributing guide HOT 2
- Discussion: Deliver VSCode devcontainer with Exercises HOT 2
- help text for submit
- `exercism open` should open the exercise in the browser when in exercise folder.
- Wrong URL for fetching user token. HOT 1
- Delivery Option: container.dev features. HOT 1
- [feature] support local configuration HOT 1
- Add support for retrieving API token from secure storage (read from env var?) HOT 7
- Release 3.1.0 does not include shell completions HOT 1
- Setup goreleaser to update homebrew HOT 6
- Automate releases HOT 7
- Build the cli ? HOT 1
- Is that ok to ignore the workplace case sensitive on macOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.