Git Product home page Git Product logo

Comments (20)

kytrinyx avatar kytrinyx commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

I'm deploying now. Would you let me know after your next submission if it worked?

from cli.

toolness avatar toolness commented on August 28, 2024

Sure, will do! Thanks for looking into it.

from cli.

kytrinyx avatar kytrinyx commented on August 28, 2024

@toolness Is this still a problem?

from cli.

toolness avatar toolness commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

I'm closing this, but as always feel free to re-open it if you have further trouble!

from cli.

estomagordo avatar estomagordo commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

I've got a separate discussion going where it seems like there are quite a few people experiencing errors with submission:

exercism/exercism#1747

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.

estomagordo avatar estomagordo commented on August 28, 2024

Wow, you're fast :)

Any idea if I might get it to work from another computer and in another language?

from cli.

kytrinyx avatar kytrinyx commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

@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.

kytrinyx avatar kytrinyx commented on August 28, 2024

Closing due to inactivity. If you are still experiencing this issue, please reopen this with more information. Thanks!

from cli.

flayisflay avatar flayisflay commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

@flayisflay -- what does exercism debug say?

from cli.

kytrinyx avatar kytrinyx commented on August 28, 2024

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.

flayisflay avatar flayisflay commented on August 28, 2024

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.

kytrinyx avatar kytrinyx commented on August 28, 2024

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.

Wuppert avatar Wuppert commented on August 28, 2024

Hi
Im afraid I have the same error API response.
After exercism fetch java

from cli.

Tonkpils avatar Tonkpils commented on August 28, 2024

@Wuppert please open up a new Issue with the specifics of your problem and the output of exercism debug

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.