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

RepositoryException: {message: {name: [has already been taken]}, {path: [has already been taken]}} #3154

Closed
sentry-io bot opened this issue Oct 28, 2019 · 7 comments
Assignees
Labels
bug Something is broken.
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 28, 2019

Sentry Issue: HOSTED-2GS

RepositoryException: 2019/10/28 15:49:09 fork.go:55: POST https://gitlab.com/api/v4/projects/123/fork: 409 {message: {name: [has already been taken]}, {path: [has already been taken]}} (1)
  File "weblate/trans/models/component.py", line 901, in do_push
    self.repository.push()
  File "weblate/vcs/git.py", line 551, in push
    self.fork()
  File "weblate/vcs/git.py", line 545, in fork
    self.execute(['fork'])
  File "weblate/vcs/base.py", line 190, in execute
    args, self.path, fullcmd=fullcmd, local=self.local
  File "weblate/vcs/base.py", line 175, in _popen
    raise RepositoryException(retcode, output_err, output)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nijel nijel added the bug Something is broken. label Oct 28, 2019
@nijel
Copy link
Member

nijel commented Oct 28, 2019

Seems to happen when invoking fork when one already exists.

@nijel
Copy link
Member

nijel commented Oct 28, 2019

Caused by different semantics of lab, see zaquestion/lab#347

@nijel
Copy link
Member

nijel commented Oct 28, 2019

@maxking Looks like hub and lab are not that same in some situations...

@maxking
Copy link
Contributor

maxking commented Nov 16, 2019

This probably is the crash I observed when creatinig the PR on hosted.weblate.org :)

Looking at your comments at lab's issue track, it seems you weren't able to repro the issue? I am going to see if I can reproduce this locally.

@nijel
Copy link
Member

nijel commented Nov 16, 2019

Yes, I failed to reproduce this later. Maybe some of my assumptions about actual cause were wrong...

@nijel
Copy link
Member

nijel commented Jul 10, 2020

To be addressed by #3493

@nijel nijel added this to To Do in Version control support Jul 10, 2020
@nijel nijel added this to the 4.3 milestone Sep 1, 2020
@nijel nijel closed this as completed Sep 1, 2020
Version control support automation moved this from To Do to Done Sep 1, 2020
@github-actions
Copy link

github-actions bot commented Sep 1, 2020

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, consider supporting Weblate by donating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
Development

No branches or pull requests

3 participants