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

FileNotFoundError for non-ASCII file names #1550

Open
samdark opened this issue Aug 18, 2024 · 1 comment
Open

FileNotFoundError for non-ASCII file names #1550

samdark opened this issue Aug 18, 2024 · 1 comment

Comments

@samdark
Copy link

samdark commented Aug 18, 2024

/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov do-upload -f ./coverage.xml --git-service github
info - 2024-08-18 20:32:33,524 -- ci service found: github-actions
warning - 2024-08-18 20:32:33,532 -- No config file could be found. Ignoring config.
warning - 2024-08-18 20:32:33,534 -- xcrun is not installed or can't be found.
warning - 2024-08-18 20:32:33,637 -- No gcov data found.
warning - 2024-08-18 20:32:33,637 -- coverage.py is not installed or can't be found.
info - 2024-08-18 20:32:33,745 -- Found 1 coverage files to report
info - 2024-08-18 20:32:33,746 -- > /home/runner/work/file-router/file-router/coverage.xml
Traceback (most recent call last):
  File "codecov_cli/main.py", line 85, in <module>
  File "codecov_cli/main.py", line 81, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/commands/upload.py", line 259, in do_upload
  File "codecov_cli/services/upload/__init__.py", line 78, in do_upload_logic
  File "codecov_cli/services/upload/upload_collector.py", line 174, in generate_upload_data
  File "codecov_cli/services/upload/upload_collector.py", line 100, in _produce_file_fixes
  File "codecov_cli/services/upload/upload_collector.py", line 114, in _get_file_fixes
FileNotFoundError: [Errno 2] No such file or directory: 'tests/Support/App4/Ð\x9aонÑ\x82Ñ\x80оллеÑ\x80Ñ\x8b/Ð\x9fолÑ\x8cзоваÑ\x82елÑ\x8c/Ð\x93лавнÑ\x8bйÐ\x9aонÑ\x82Ñ\x80оллеÑ\x80.php'
[PYI-2695:ERROR] Failed to execute script 'main' due to unhandled exception!
Warning: Codecov:
                        Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

The path is tests/Support/App4/Контроллеры/Пользователь/ГлавныйКонтроллер.php.

@vjik
Copy link

vjik commented Aug 22, 2024

Seems, #1539 is related issue.

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

No branches or pull requests

2 participants