beeware / beeware/briefcase

'briefcase run web' fails when app name contains non-ascii character

Open
#1,229 0 comments 0 reactions 0 assignees View on GitHub
bug web
Dominant language
Python
Stars
3.3k
Forks
549
Avg merge
1d 4h
Merged PRs (30d)
40

Description

### Describe the bug

When you run 'briefcase run web' on a project that's app name contains a non ascii character the static site fails to launch. I believe this is because the app's wheels are generated with the non ascii characters in the file name.

### Steps to reproduce

1. create a briefcase project with an app name containing a non ascii character: briefcase new (followed by entering something like helloworldı for the app name)
2. run that project: briefcase run web
3. see error when browser opens
Note: this will also likely fail for all platforms until Ref #1011 is resolved

### Expected behavior

Wheel's should be generated with only non ascii characters and static web app should run normally.

### Screenshots

![screenshot](https://user-images.githubusercontent.com/36799542/234143719-3aa8314b-1a30-4011-a52a-8237d23f6d80.jpg)

### Environment

- Operating System: macOS 13.3.1
- Python version: 3.11.3
- Software versions:
- Briefcase: 3.15

### Logs

```

```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with `briefcase new` using a non-ASCII app name, then run `briefcase run web` and inspect the wheel-generation and static web launch steps involved. Confirm the generated wheel filename and browser launch behavior, and consider the related Ref #1011 context; done means the web app launches normally for the reported app name.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.