I have a problem with team project. Newer translations are beeing overridden by older ones often. It may related to a case when a member use two different pc for translations. Also, is there a way to open merge window manually to bring the lost traslations back? I use personal gitlab. I've assigned every member as developer within gitlab and developers are allowed to push to master branch. I searched posts, docs but could not find a solution. Any idea?
No action can be taken on this without steps to reproduce. Ideally it would be helpful to have access to your repo as well.
No.
Something similar just happed in https://github.com/OmegaT-L10N/fr.git
I went to change omegat.project, and then redownloaded the project afresh in OmegaT. When the project loaded, it loaded with all empty translations, and this is the commit: https://github.com/OmegaT-L10N/fr/commit/e9d105aa705f06e96822cd3481cb99d40b95075d
With GitHub there's an easy remedy: download
project_save.tmxfrom previous commit, place it into /tm/enforce and save.Attached is the log excerpt
project_save.tmx is just a text file for git. You can use any tools for merge/revert/etc. as for usual files processing for git.
To any users still experiencing this issue: Alex has agreed to investigate again, but will need access to your repository, logs, and any other pertinent information. If you can't make this information public, please contact
info [at] omegat.org.I managed to reproduce the issue reported by Kos. You can reproduce easily by running OmegaT from the branch
topic/aaron/bug943testand loading the remote projecthttps://github.com/amake/fr.git.NetworkExceptionhere.project_save.tmx) from being copied to the local project. It also puts the project into offline mode. Since the remoteproject_save.tmxfailed to copy over, the project is loaded with an empty TM.There are a bunch of problems with the code:
remoteRepositoryProvider.switchAllToLatest()), a single exception thrown by any repo will prevent all other repos from loading. We should continue attempting to load other repos when a single one errors out for a repo-specific reason (timeout, bad URL, etc.).remoteRepositoryProvider.switchAllToLatest()prevent doingremoteRepositoryProvider.copyFilesFromRepoToProject(...).Last edit: Aaron Madlon-Kay 2019-06-27
I have made the following changes:
NetworkExceptionwhich presumably indicates that we have no network connection ([43aeec])This addresses my problems #1 and #3 above. I don't have a solution for #2, as especially JGit exceptions don't seem to be very fine-grained.
The result of these changes in the scenario reported by Kos (a single repo times out on first project load) is that the project will fail to open because one of the expected repos is not present on disk. I think this is reasonable: We cannot claim to successfully load a new team project if we could not successfully download all of the mapped repos.
In the case of a timeout when opening an existing repo (one where all mapped repos are at least present on disk, though not necessarily up to date), the project can be opened successfully, though it will be in offline mode.
Related
Commit: [418a52]
Commit: [43aeec]
Last edit: Aaron Madlon-Kay 2019-06-27
I'm calling this fixed ([418a52]). We can revisit if new information comes to light.
Related
Commit: [418a52]
Released in 4.3.0.