question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

uploading: Error: String index out of range: -1

See original GitHub issue

We’re moving from the ruby crowdin-cli to this java crowdin-cli-2 version. Are any configuration changes needed? Uploading is currently not working for us. After running java -jar crowdin-cli.jar upload sources I get this error: Error: String index out of range: -1

This is the configuration:

project_identifier: SOME-IDENTIFIER
api_key: SOME-API-KEY
base_url: https://api.crowdin.com
base_path: .

files:
  -
    source: '/translations/en_GB/**/*.xliff'
    translation: '/translations/%locale_with_underscore%/**/%original_file_name%'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
vicniciuscommented, Aug 30, 2017

Great. Thanks, @ihor-popyk. 👍

1reaction
ihor-popykcommented, Aug 30, 2017

@ruudvanderweijde , @vicnicius Please update to 2.0.19

Read more comments on GitHub >

github_iconTop Results From Across the Web

Article: Common Error: String index out of range: -1
This common error is usually related to how your data is parsed into a profile. Check the profile, re-import if possible.
Read more >
exception in java, string index out of range: -1
I have no idea what your code is trying to accomplish, however it's likely what is happening is output is empty, and you're...
Read more >
getting String index out of range: -1 error while...
Using script to get value. The field in the form is glide list and we are using script to get user name from...
Read more >
when adding the results of a report to a new or existing group
Error : String index out of range: -1 - when adding the results of a report to a new or existing group. When...
Read more >
PUT returns error and logs "String index out of range: -1"
We've recently started receiving an error with a maven repository after a PUT operation. The artifact is uploaded, but an error is returned....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found