Skip to content

Conversation

@freakboy3742
Copy link
Member

Fixes #44

Implements largely the same fix as beeware/briefcase-macOS-Xcode-template#65; however. the workflow around printing the error is slightly different because the iOS stub app runs app's main loop, where as in macOS the Python code starts the loop.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 requested a review from mhsmith January 21, 2025 12:16
Comment on lines 249 to 250
// Convert exit code to a string. This is required by runpy._error
ret = -11;
Copy link
Member

Choose a reason for hiding this comment

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

Incorrect comment: we don't actually convert the string on this platform, we just call PyErr_Print below.

@freakboy3742 freakboy3742 requested a review from mhsmith January 21, 2025 21:22
@mhsmith mhsmith merged commit 6262cdc into main Jan 23, 2025
6 checks passed
@mhsmith mhsmith deleted the missing-module-error branch January 23, 2025 21:43
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.

Stub app not resilient to missing main module

3 participants