René's URL Explorer Experiment


Title: [AppVeyor] The filename, directory name, or volume label syntax is incorrect. · Issue #156 · codecov/codecov-python · GitHub

Open Graph Title: [AppVeyor] The filename, directory name, or volume label syntax is incorrect. · Issue #156 · codecov/codecov-python

X Title: [AppVeyor] The filename, directory name, or volume label syntax is incorrect. · Issue #156 · codecov/codecov-python

Description: Related: #129 and #139 As mentioned, the CI builds for this repo fail on this same error. Ignoring the issuing of posix find (disabled by -X gcov), noting that I do not actually know where this error comes from, here is the symptom of wh...

Open Graph Description: Related: #129 and #139 As mentioned, the CI builds for this repo fail on this same error. Ignoring the issuing of posix find (disabled by -X gcov), noting that I do not actually know where this err...

X Description: Related: #129 and #139 As mentioned, the CI builds for this repo fail on this same error. Ignoring the issuing of posix find (disabled by -X gcov), noting that I do not actually know where this err...

Opengraph URL: https://github.com/codecov/codecov-python/issues/156

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[AppVeyor] The filename, directory name, or volume label syntax is incorrect.","articleBody":"Related: #129 and #139\r\n\r\nAs mentioned, the CI builds for this repo fail on this same error.  Ignoring the issuing of posix `find` (disabled by `-X gcov`), noting that I do **not** actually know where this error comes from, here is the _symptom_ of whatever it is that is broken in this tool for windows:\r\n\r\n```\r\ncodecov.exe : The filename, directory name, or volume label syntax is incorrect.\r\nAt line:1 char:1\r\n+ \u0026 codecov -X gcov -f .\\coverage.xml --name win64_cxx\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (The filename, d...x is incorrect.:String) [], RemoteException\r\n    + FullyQualifiedErrorId : NativeCommandError\r\n ```\r\n\r\nI have rigorously tested a variety of ways to call the command, and they all result in the same `The filename, directory name, or volume label syntax is incorrect.` message.  This is problematic, because almost every way that you can run `codecov` will _successfully upload the results_ but give a **non-zero exit code**, which reports back as a failed CI build.\r\n\r\n**Failing Ways to Call Codecov**\r\n\r\nBrackets `[-X gcov [-f filename [--name my_name]]]` indicate that all permutations (with / without `-X gcov` and `--name my_name` and `-f filename`) have been tested (because I'm obsessive, and was kind of drunk).\r\n\r\n- `codecov [-X gcov [-f filename [--name my_name]]]`\r\n- `python -m codecov [-X gcov [-f filename [--name my_name]]]`\r\n\r\nBasically, how you are supposed to run `codecov` depending on what you've done with `$PATH` etc.\r\n\r\n**Super Hacky Workaround**\r\n\r\nSo I'm a powershell novice, but there is this thing called `Invoke-Expression` that lets you call a command.  Conveniently (really only for this use case actually), `Invoke-Expression` will give an exit code of `0` even if the thing that was invoked gives a non-zero exit code.\r\n\r\n@johlju i don't really know if this enables an alternative solution for you since i'm not capturing the \"result\" here, but in my `appveyor.yml` i just cheated and did this:\r\n\r\n```yaml\r\n# relevant for below\r\nenvironment:\r\n  matrix:\r\n    - PYTHON:    \"C:\\\\Python27\"\r\n      TEST_NAME: \"win32_py27\"\r\n    - PYTHON:    \"C:\\\\Python27-x64\"\r\n      TEST_NAME: \"win64_py27\"\r\n    - PYTHON:    \"C:\\\\Python36-x64\"\r\n      TEST_NAME: \"win64_py36\"\r\n\r\n# ... your install / test_script etc\r\n\r\n# Why use Invoke-Expression like this?  Because I keep getting\r\n#\r\n#   codecov : The filename, directory name, or volume label syntax is incorrect.\r\n#\r\n# Which reports the build as failed, but Invoke-Expression always succeeds xD\r\nafter_test:\r\n  - ps: |\r\n      $codecov_cmd = '\u0026 codecov -X gcov --name ' + $env:TEST_NAME\r\n      Invoke-Expression $codecov_cmd\r\n```\r\n\r\nI will successfully receive updated code coverage reports to `codecov.io`, regardless of the fact that the expression fails.\r\n\r\nAnyway, I tried to give as much detail as possible to hopefully help somebody narrow down what is actually going on.  It seems that if you want to fix windows support for this (epic and amazing) tool, you need to target whatever is triggering this `The filename, directory name, or volume label syntax is incorrect`, which I think comes from that `root = quote(root)` business (maybe don't do that unconditionally, but instead do it if `platform.system() != \"Windows\"`?\r\n\r\nHope this is helpful.  It's a quasi-duplicate, and I've finally found a workaround, so feel free to close it if you like.  I just wanted to elaborate on the precise problem, since I care very deeply about this tool and `codecov.io` :heart:","author":{"url":"https://github.com/svenevs","@type":"Person","name":"svenevs"},"datePublished":"2018-08-14T07:33:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/156/codecov-python/issues/156"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:395ad85b-05bd-2d3d-2f62-fb6b3b596bc9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCFBA:147D30:47CFB0:664BE8:6A4E6EAD
html-safe-nonceb6ba49d6d38cfc9fa5f11715e00801d1461514e7c03d0cbb8b9180fc90b7c953
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkJBOjE0N0QzMDo0N0NGQjA6NjY0QkU4OjZBNEU2RUFEIiwidmlzaXRvcl9pZCI6IjI1MTc1Nzg5NjMwNDUyMTU5MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02d3eeab1ae98ed8caab48e3f8555a82003fd65c4da3cabd9336f5fbdb73de96
hovercard-subject-tagissue:350312217
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codecov/codecov-python/156/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7e3f21bc522caa0ea4353e0bda5717f6dc668d7b7a108f6d16e45c3e97df8a77/codecov/codecov-python/issues/156
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7e3f21bc522caa0ea4353e0bda5717f6dc668d7b7a108f6d16e45c3e97df8a77/codecov/codecov-python/issues/156
og:image:altRelated: #129 and #139 As mentioned, the CI builds for this repo fail on this same error. Ignoring the issuing of posix find (disabled by -X gcov), noting that I do not actually know where this err...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesvenevs
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git
octolytics-dimension-user_id8226205
octolytics-dimension-user_logincodecov
octolytics-dimension-repository_id22685735
octolytics-dimension-repository_nwocodecov/codecov-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22685735
octolytics-dimension-repository_network_root_nwocodecov/codecov-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/codecov/codecov-python/issues/156#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fissues%2F156
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodecov%2Fcodecov-python%2Fissues%2F156
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=codecov%2Fcodecov-python
Reloadhttps://github.com/codecov/codecov-python/issues/156
Reloadhttps://github.com/codecov/codecov-python/issues/156
Reloadhttps://github.com/codecov/codecov-python/issues/156
Please reload this pagehttps://github.com/codecov/codecov-python/issues/156
codecov https://github.com/codecov
codecov-pythonhttps://github.com/codecov/codecov-python
Notifications https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Fork 136 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Star 184 https://github.com/login?return_to=%2Fcodecov%2Fcodecov-python
Code https://github.com/codecov/codecov-python
Issues 22 https://github.com/codecov/codecov-python/issues
Pull requests 1 https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality 0 https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
Code https://github.com/codecov/codecov-python
Issues https://github.com/codecov/codecov-python/issues
Pull requests https://github.com/codecov/codecov-python/pulls
Actions https://github.com/codecov/codecov-python/actions
Projects https://github.com/codecov/codecov-python/projects
Security and quality https://github.com/codecov/codecov-python/security
Insights https://github.com/codecov/codecov-python/pulse
[AppVeyor] The filename, directory name, or volume label syntax is incorrect.https://github.com/codecov/codecov-python/issues/156#top
https://github.com/svenevs
svenevshttps://github.com/svenevs
on Aug 14, 2018https://github.com/codecov/codecov-python/issues/156#issue-350312217
#129https://github.com/codecov/codecov-python/issues/129
#139https://github.com/codecov/codecov-python/issues/139
@johljuhttps://github.com/johlju
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.