Comments (2)
This is also related to issue #25, in case git operations would be handled in background, it would prevent such races, but on the other side it would make harder to give user feedback (without some ajax polling).
from weblate.
Again:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/var/lib/django/l10n/weblate/trans/views.py", line 420, in push_project
if obj.do_push(request):
File "/var/lib/django/l10n/weblate/trans/models.py", line 133, in do_push
ret &= s.do_push(request)
File "/var/lib/django/l10n/weblate/trans/models.py", line 291, in do_push
if not self.do_update(request):
File "/var/lib/django/l10n/weblate/trans/models.py", line 277, in do_update
ret = self.update_branch(request)
File "/var/lib/django/l10n/weblate/trans/models.py", line 325, in update_branch
gitrepo.remotes.origin.update()
File "/usr/lib/python2.7/dist-packages/git/remote.py", line 510, in update
self.repo.git.remote("update", self.name)
File "/usr/lib/python2.7/dist-packages/git/cmd.py", line 227, in
return lambda _args, *_kwargs: self._call_process(name, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/git/cmd.py", line 456, in _call_process
return self.execute(call, **_kwargs)
File "/usr/lib/python2.7/dist-packages/git/cmd.py", line 377, in execute
raise GitCommandError(command, status, stderr_value)
GitCommandError: 'git remote update origin' returned exit status 1: fatal: Unable to create '/var/lib/django/l10n/weblate/repos/weblate/master/.git/refs/remotes/origin/master.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
error: Could not fetch origin
from weblate.
Related Issues (20)
- CLDR 42 Hebrew plural form changes HOT 4
- Gettext newlines get entirely removed sometimes HOT 18
- Dismiss failing checks in zen mode HOT 3
- "Apply to propagated strings" button not funcitonal as intended HOT 2
- Multi-language files support HOT 1
- Debug error page crashes on database connection error HOT 2
- Support for multiple JSON files in a component HOT 3
- Fluent strings starting with '[' character get interpreted incorrectly HOT 4
- Explanation cannot update correctly HOT 1
- On Languages tab, sorting by Translated percentage uses lexicographic sorting (e.g. 93% > 5% > 20% > 100%). HOT 1
- Superuser cannot access Restricted component HOT 4
- Error with the Addons after upgrading from 5.3.1 to 5.4.1 HOT 6
- Add new language to an existing language - Strings are missing HOT 3
- Create new bilingual component via file upload HOT 1
- Undocumented requirement for contributing HOT 6
- Add announcements to Categories HOT 3
- fail to upload translation with file HOT 5
- Can't commit pending changes or push outgoing commits HOT 3
- Missing documentation for Gitea Social Auth HOT 1
- GettextCustomizeAddon: Add option to sort PO files by msgid HOT 4
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 weblate.