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

msm handling of git errors could use some love. #84

Open
kjcole opened this issue Sep 12, 2018 · 1 comment
Open

msm handling of git errors could use some love. #84

kjcole opened this issue Sep 12, 2018 · 1 comment

Comments

@kjcole
Copy link

kjcole commented Sep 12, 2018

  • I'm running a Mark 1

  • with mycroft-core and mycroft-mark-1 both at version 18.8.0

  • When I run msm update on my Mark 1, it reported a git failure for the mycroft-weather skill. While, in this instance, the trouble appears to be with the weather skill itself, it seems msm might handle such stuff a bit more gracefully, perhaps? Should it offer to try (in this case) the git remote prune origin that it suggested I try?

$ msm update
INFO - Nothing new for mycroft-installer
INFO - Nothing new for mycroft-stock
INFO - Nothing new for mycroft-support-helper
INFO - Nothing new for mycroft-joke
INFO - Nothing new for mycroft-spelling
INFO - Nothing new for mycroft-timer
INFO - Nothing new for skill-desktop-launcher
INFO - Nothing new for fallback-wolfram-alpha
INFO - Nothing new for mycroft-volume
ERROR - Error running update_skill on mycroft-weather: GitException(Git command failed: GitCommandError(['git', 'fetch'], 1, b"error: 'refs/remotes/origin/test' exists; cannot create 'refs/remotes/origin/test/multiple-dialogs'\nFrom https://github.com/mycroftai/skill-weather\n ! [new branch]      test/multiple-dialogs -> origin/test/multiple-dialogs  (unable to update local ref)\nerror: some local refs could not be updated; try running\n 'git remote prune origin' to remove any old, conflicting branches", b''))
INFO - Nothing new for fallback-unknown
INFO - Nothing new for mycroft-mark-1-demo
INFO - Nothing new for mycroft-version-checker
INFO - Nothing new for mycroft-reminder
INFO - Nothing new for mycroft-fallback-duck-duck-go
INFO - Nothing new for mycroft-spotify
INFO - Nothing new for mycroft-singing
INFO - Nothing new for mycroft-pairing
INFO - Nothing new for mycroft-date-time
INFO - Nothing new for mycroft-mark-1
INFO - Nothing new for pianobar-skill
INFO - Nothing new for mycroft-naptime
INFO - Nothing new for mycroft-configuration
INFO - Nothing new for mycroft-stop
INFO - Nothing new for skill-wolfram-alpha
INFO - Nothing new for skill-media
INFO - Nothing new for mycroft-alarm
INFO - Nothing new for mycroft-speak
INFO - Nothing new for mycroft-ip
INFO - Nothing new for mycroft-personal
INFO - Nothing new for mycroft-playback-control
INFO - Nothing new for mycroft-hello-world
INFO - Nothing new for mycroft-audio-record
INFO - Nothing new for mycroft-npr-news
INFO - Nothing new for mycroft-pandora
INFO - Nothing new for mycroft-wiki
INFO - Nothing new for fallback-aiml
$
@forslund
Copy link
Collaborator

You definitely got a point here. I wonder if this is a mechanism that should be implemented in mycroft-core or in msm

@krisgesling krisgesling transferred this issue from MycroftAI/mycroft-core Sep 24, 2020
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

2 participants