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.

Download sources finds no source files

See original GitHub issue

Describe the bug Command download sources finds no source files to download.

To Reproduce Steps to reproduce the behavior:

  1. Configuration file:
"project_id": "project_id"
"api_token": "api_token"
"preserve_hierarchy": true

"files": [
{
  "source": "/app/src/main/res/values/language.xml",
  "translation": "/app/src/main/res/values-%android_code%/%original_file_name%",
  "dest": "/Android/language.xml",
  "update_option": "update_as_unapproved"
}
]
  1. Execute CLI command:
java -jar <path_to>\crowdin-cli.jar download sources
  1. See an error
[OK] Fetching project info
[WARNING] No sources found for '\app\src\main\res\values\language.xml' pattern. Check the source paths in your configuration file

Expected behavior File /app/src/main/res/values/language.xml should be updated from server.

Environment:

  • OS: Windows 10
  • Version 19042.1348

Additional context I might be missing something simple, as I’m very inexperienced with Crowdin. It seems I can download translations and upload sources.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bertho-zerocommented, Jul 4, 2022

The branch option was missing, I have several branches on crowdin. Thank you for your response

1reaction
jpmcostacommented, Dec 15, 2021

@andrii-bodnar the local path to the file is slightly different, but I don’t want to disclose it. It’s something like

/<folder>/<folder>/src/main/res/values/language.xml

Server side is just that.

/Android/language.xml
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to download sources for a jar with Maven? - Stack Overflow
In my project I am using a JAR file provided via Maven. But what Maven gives me is only this jar - no...
Read more >
The source files Not found running DISM /Restorehealth
On the 4th and last command I have started to get The sources files could not be found 0x800f081f. The relevant entries from...
Read more >
How To Fix DISM Source Files Could Not Be Found ... - MiniTool
Fix DISM Source Files Could Not Be Found Windows 10 ; Visit this Microsoft page. Click on the Download tool now button to...
Read more >
No source files for package - error — oracle-tech
Currently i am running javadoc from the commandline as follows:- javadoc -doclet javadoc.
Read more >
Intellij can not download Sources and Documentation
It tells me "Sources not found for: org.springframework:spring-web:5.3.2". Even though the dependency it self gets downloaded. It does that for ...
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