Skip to content

changed error text in build_app to hint user for virus scanner problems#2400

Merged
freakboy3742 merged 4 commits into
beeware:mainfrom
veramekern:issue-1530
Jul 19, 2025
Merged

changed error text in build_app to hint user for virus scanner problems#2400
freakboy3742 merged 4 commits into
beeware:mainfrom
veramekern:issue-1530

Conversation

@veramekern

@veramekern veramekern commented Jul 19, 2025

Copy link
Copy Markdown
Contributor

I adapted the text output on the BriefcaseCommandError in the build_app function in the windows platforms app.py to hint the user on disabling the virus scanner or adding rcedit to the whitelist. The error originates from the rcedit subprocess and to prevent hunting process-specific errors the error message was added here.

The issue was that sometimes a very generic error popped up when the Windows build failed because of use of rcedit.exe being blocked by virus scanners.

This PR related to issue #1530

PR Checklist:

  • All new features have been tested
    The tests failed on MacOS tests, which shouldn't have run on my platform. This may be a my-environment-problem or something else. To trigger the tests on PR i created the PR after consulting Russel.
  • All new features have been documented
    Not Applicable
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@veramekern veramekern marked this pull request as draft July 19, 2025 11:38
@veramekern veramekern closed this Jul 19, 2025
@veramekern veramekern reopened this Jul 19, 2025
@veramekern veramekern marked this pull request as ready for review July 19, 2025 12:12

@freakboy3742 freakboy3742 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - a couple of suggestions inline!

Comment thread src/briefcase/platforms/windows/app.py Outdated
Comment thread changes/1530.bugfix.rst Outdated
Comment thread src/briefcase/platforms/windows/app.py Outdated
@freakboy3742 freakboy3742 merged commit 1863f15 into beeware:main Jul 19, 2025
74 of 75 checks passed
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

Successfully merging this pull request may close these issues.

2 participants