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

Download sources finds no source files under Windows #679

Closed
sz-liva opened this issue Oct 30, 2023 · 0 comments · Fixed by #684
Closed

Download sources finds no source files under Windows #679

sz-liva opened this issue Oct 30, 2023 · 0 comments · Fixed by #684
Assignees
Labels
bug windows Probably is Windows-related only

Comments

@sz-liva
Copy link

sz-liva commented Oct 30, 2023

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

To Reproduce
Steps to reproduce the behavior:
list sources works fine

crowdin list sources --identity .crowdin.yml --branch="releases-7.3.3"  --verbose
[OK] Fetching project info
[OK] File 'src\main\resources\translations\en\SuggestionTexts.properties'

but pull sources fails.

crowdin pull sources --identity .crowdin.yml --branch="releases-7.3.3"  --verbose
[OK] Fetching project info
[WARNING] No sources found for '\src\main\resources\translations\en\*' pattern. Check the source paths in your configuration file

The configuration is:

preserve_hierarchy: true
files:
  - source: /src/main/resources/translations/en/*
    translation: /src/main/resources/translations/%two_letters_code%/%original_file_name%
    escape_special_characters: 0
    escape_quotes: 0
    export_only_approved: true

I tried removing the first / from the source field in crowdin.yml but it didn't help.

Expected behavior
crowdin list sources --identity .crowdin.yml --branch="releases-7.3.3" --verbose should output

✔️  Fetching project info
✔️  File 'src/main/resources/translations/en/SuggestionTexts.properties'

Environment:

  • OS: Windows 11 Pro
  • Version 3.15.0

Additional context
It works fine with Crowdin CLI 3.15.0 under Ubuntu.

@andrii-bodnar andrii-bodnar added bug windows Probably is Windows-related only labels Oct 30, 2023
@andrii-bodnar andrii-bodnar linked a pull request Nov 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug windows Probably is Windows-related only
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants