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

Cannot download executeable from exercise solution. #661

Open
desdulianto opened this issue Jul 20, 2018 · 7 comments
Open

Cannot download executeable from exercise solution. #661

desdulianto opened this issue Jul 20, 2018 · 7 comments

Comments

@desdulianto
Copy link

Hi, I opened this ticket because @kotp told me that when he downloaded my exercise solution of ruby track rna-transcription, it did not deliver executable file.

Here is the screenshot of the command history when I submitted the solution.
image

I first submitted the solution when exercism haven't launch the new version yet. And after that I just manually download the exercise as instructed and submit it as usual.

Let me know if you need anything for helping closing the bug.

Thank you very much.

NB. I've learn much from the new mentor feature. Thanks very much exercism and the mentors.

@kytrinyx
Copy link
Member

@desdulianto Thanks so much for following up here!

Would you show me the output of exercism troubleshoot?

@desdulianto
Copy link
Author

Here it is @kytrinyx

david@pegasus:~/exercism/ruby/rna-transcription-2$ exercism troubleshoot

Troubleshooting Information
===========================

Version
----------------
Current: 3.0.4
Latest:  3.0.5

Call 'exercism upgrade' to get the latest version.
See the release notes at https://github.com/exercism/cli/releases/tag/3.0.5 for details.


Operating System
----------------
OS:           linux
Architecture: amd64


Configuration
----------------
Home:      
Workspace: /home/david/exercism
Config:    /home/david/.config/exercism/user.json
API key:   bce0*****************************309

API Reachability
----------------

GitHub:
    * https://api.github.com
    * [connected]
    * 298.841827ms

Exercism:
    * https://api.exercism.io/v1/ping
    * [connected]
    * 1.256193759s


If you are having trouble please file a GitHub issue at
https://github.com/exercism/exercism.io/issues and include
this information.

is it because of my version is lagging?

@kotp
Copy link
Member

kotp commented Jul 21, 2018

I believe a bug was found, but it does not hurt at all to update the client.

@desdulianto
Copy link
Author

Ok, I have upgraded the client and resubmit the solution, it's on 7th iteration now :D
Here is the command line output:

[root@pegasus rna-transcription-2]# exercism upgrade
[root@pegasus rna-transcription-2]# exit
exit
david@pegasus:~/exercism/ruby/rna-transcription-2$ exercism troubleshoot

Troubleshooting Information
===========================

Version
----------------
Current: 3.0.5
Latest:  3.0.5


Operating System
----------------
OS:           linux
Architecture: amd64


Configuration
----------------
Home:      
Workspace: /home/david/exercism
Config:    /home/david/.config/exercism/user.json
API key:   bce0*****************************309

API Reachability
----------------

GitHub:
    * https://api.github.com
    * [connected]
    * 292.991128ms

Exercism:
    * https://api.exercism.io/v1/ping
    * [connected]
    * 989.321302ms


If you are having trouble please file a GitHub issue at
https://github.com/exercism/exercism.io/issues and include
this information.
david@pegasus:~/exercism/ruby/rna-transcription-2$ exercism s rna_transcription.rb 


    Your solution has been submitted successfully.
    View it at:

    
    https://exercism.io/my/solutions/b86df703c4db4b008b0e609a4ce6c3b7

@kytrinyx
Copy link
Member

I think we have issues with the -2 suffix. I'm going to dig into this to see if I can figure out what's going on.

@kytrinyx
Copy link
Member

kytrinyx commented Jul 24, 2018

I figured out how to reproduce this! Ok. Now I can work on a fix :-)

Reproduction steps:

  • download exercise
  • delete .solution.json
  • download exercise again
  • change the solution
  • submit it
  • download to a different computer

@kytrinyx
Copy link
Member

kytrinyx commented Aug 5, 2018

I've made it so that the download command won't add a prefix (#696)

The next step is to ensure that the metadata file won't get clobbered if it's already present: #697

Then we can cut a new release.

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