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

Translation sync job must fail in case of error #3012

Closed
PVince81 opened this issue Feb 12, 2020 · 8 comments · Fixed by #3014
Closed

Translation sync job must fail in case of error #3012

PVince81 opened this issue Feb 12, 2020 · 8 comments · Fixed by #3014
Assignees

Comments

@PVince81
Copy link
Contributor

See https://drone.owncloud.com/owncloud/translation-sync/1431/31/5 at line 368.

There's an error:

tx ERROR: [Errno 2] No such file or directory: '/drone/src/phoenix/apps/files/l10n/template.pot'

and yet the job continues as if all was well.

@DeepDiver1975
Copy link
Member

The real issue is in another step https://drone.owncloud.com/owncloud/translation-sync/1431/31/4
Screenshot from 2020-02-12 10-46-06

@DeepDiver1975
Copy link
Member

run locally

make l10n-read

@DeepDiver1975
Copy link
Member

there is something wrong with the strings in apps/files/src/store/state.js

@PVince81 PVince81 transferred this issue from owncloud/translation-sync Feb 12, 2020
@PVince81
Copy link
Contributor Author

Reproducible locally. I'll bisect to see what's wrong.

@PVince81 PVince81 self-assigned this Feb 12, 2020
@PVince81
Copy link
Contributor Author

0.3.0 and 0.2.0 are broken.

I wasn't able to run make l10n-read on the first Makefile commit that introduced the command.

Either it's an env issue like upgraded node or the problem existed since a while and did not get discovered.

@PVince81
Copy link
Contributor Author

Okay, so if bisect cannot help here, next step is adding more log statements in that tool to find out what location is affected

@PVince81
Copy link
Contributor Author

Found it:

40 { msgid: undefined,
  msgctxt: null,
  references:
   [ '../apps/files/src/components/Collaborators/SharedFilesList.vue:151' ],
  msgid_plural: undefined,
  msgstr: [],
  comments: [],
  extractedComments: [],
  flags: {},
  obsolete: false,
  nplurals: 2 }

@PVince81 PVince81 mentioned this issue Feb 12, 2020
9 tasks
@PVince81
Copy link
Contributor Author

a $gettext() call without arguments 😱

Fix is here: #3014

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

Successfully merging a pull request may close this issue.

2 participants